Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Login to participate.

Go Back   TechSpot OpenBoards > TS Community > The Meeting 'spot'

My First PHP Script

Reply
 
Thread Tools
  #1  
Old 02-28-2008, 07:08 AM
cfitzarl's Avatar
cfitzarl cfitzarl is offline
TechSpot Guru
 
Location: Boston, MA
Member since: Jun 2006, 2,480 posts
System specs
My First PHP Script

Hey techspot

I know I'm not that active anymore , but I wanted to share this script, since I have seen some threads about website building .

What I have created is a website script that uses php variables to source everything into a config file, where you add the content, site page titles, site title, site slogan, etc.

An example of an unedited version is here (note that the navbar page titles change as well)

I've utilized mod_rewrite with this, but I have included the files just in case one does not have that on their server.

A beta download is located here

Tell me what you think (the coding is probably is little sloppy to all of you php experts.)

Note that my nickname on every other site is "Swamp56" so that's what the author is named.

Last edited by cfitzarl; 02-28-2008 at 07:11 AM.
Reply With Quote
  #2  
Old 02-28-2008, 01:18 PM
jobeard's Avatar
jobeard jobeard is offline
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,175 posts
your site url displays the results of executing the CGI script on your host,
NOT the content of the script itself.

If you intend to have someone review the script, ZIP it and attach to your follow-up,
OR learn how to slurp code into your web server results
Reply With Quote
You can remove this banner by registering, join the TS Community for free.
  #3  
Old 02-28-2008, 02:36 PM
cfitzarl's Avatar
cfitzarl cfitzarl is offline
TechSpot Guru
 
Location: Boston, MA
Member since: Jun 2006, 2,480 posts
System specs
What do you mean? Did you look at the coding (I linked a zip for it).
Reply With Quote
  #4  
Old 02-28-2008, 04:29 PM
tipstir's Avatar
tipstir tipstir is offline
TechSpot Guru
 
Location: USA
Member since: Jan 2006, 2,206 posts
System specs
Quote:
Originally Posted by cfitzarl
What do you mean? Did you look at the coding (I linked a zip for it).
Site not finished.. Looks like a regular site code.. Where did you use PHP Perl Script... Good luck with that..
Reply With Quote
  #5  
Old 02-28-2008, 05:48 PM
jobeard's Avatar
jobeard jobeard is offline
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,175 posts
oops; didn't see that one http://www.test.spanish4practice.com...te_package.rar

sorry
Reply With Quote
  #6  
Old 02-28-2008, 06:43 PM
jobeard's Avatar
jobeard jobeard is offline
TechSpot Evangelist
 
Location: Southern Calif.
Member since: Apr 2005, 6,175 posts
RAR files are interesting, but required special programs to use.

Linux servers all have TAR and GZIP which create archives that can be opened with
ZIP.

It's interesting to note that the Linux download is a tar.gz archive
Reply With Quote
  #7  
Old 02-29-2008, 07:27 AM
cfitzarl's Avatar
cfitzarl cfitzarl is offline
TechSpot Guru
 
Location: Boston, MA
Member since: Jun 2006, 2,480 posts
System specs
What?

Code:
@ Tipster
Take a look at the code

I've attached the files for anyone who didn't see the link. Take a look at the actual code .
Attached Files
File Type: zip website_package.zip (18.0 KB, 3 views)

Last edited by cfitzarl; 02-29-2008 at 07:30 AM.
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Displays Error: Windows Script Host, Can not find script file "H:/FS6519.dll.vbs" emdynhenri Security and the Web 0 02-02-2008 03:16 AM
wat does this JAVA script do? matav Misc. Software & Utilities 3 10-17-2007 01:25 PM
Script error please help GeekieNick101 Misc. Software & Utilities 0 09-03-2006 12:20 PM
I.E. Script error theshaman Windows OS 1 07-22-2006 10:44 AM
Script Error thewolfe Audio and Video 3 08-21-2003 12:24 AM


All times are GMT -4. The time now is 08:12 PM.