also @ TechSpot: Initial findings suggest Foxconn plant conditions are above average
Welcome to the TechSpot OpenBoards. Please read the FAQ if you have any questions. Sign up or Login to participate.

Go Back   TechSpot OpenBoards > TechSpot Community > General Discussion

Collaborate in the cloud with Office, Exchange, SharePoint, and Lync

My First PHP Script

Reply
Thread Tools Search this Thread
  #1  
Old 02-28-2008
cfitzarl's Avatar
TechSpot Chancellor
 
Location: Boston, MA
Member since: Jun 2006, 2,519 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 08:11 AM..
  #2  
Old 02-28-2008
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,835 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
  #3  
Old 02-28-2008
cfitzarl's Avatar
TechSpot Chancellor
 
Location: Boston, MA
Member since: Jun 2006, 2,519 posts
System specs
What do you mean? Did you look at the coding (I linked a zip for it).
  #4  
Old 02-28-2008
tipstir's Avatar
TechSpot Ambassador
 
Location: Florida, USA
Member since: Jan 2006, 3,358 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..
  #5  
Old 02-28-2008
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,835 posts
oops; didn't see that one http://www.test.spanish4practice.com...te_package.rar

sorry
  #6  
Old 02-28-2008
jobeard's Avatar
TechSpot Ambassador
 
Location: Southern Calif.
Member since: Apr 2005, 10,835 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
  #7  
Old 02-29-2008
cfitzarl's Avatar
TechSpot Chancellor
 
Location: Boston, MA
Member since: Jun 2006, 2,519 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 08:30 AM..
Reply

Similar Topics
Topic Replies Forum
Displays Error: Windows Script Host, Can not find script file "H:/FS6519.dll.vbs" 0 Virus and Malware Removal
wat does this JAVA script do? 3 Software Apps
Script Problem 6 Software Apps
Quick script, anyone? 3 Windows OS
Script Error 3 Audio and Video

Thread Tools Search this Thread
Search this Thread:

Advanced Search
All times are GMT -4. The time now is 12:28 AM.