SitePoint Sponsor |
|
User Tag List
Results 1 to 4 of 4
Thread: PHP help
-
Oct 7, 2000, 10:37 #1
- Join Date
- Jul 2000
- Posts
- 26
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
I installed this guestbook PHP script on mysite, on http://www.f2s.com. I chmoded the files correctly. There is a vars.php3 script which has information on colors, fonts, etc. On each php file, it has "require ("vars.php3");" at the top. I went to all of the scripts, http://www.dmcjr.f2s.com/guestbook/guest.php3 At the top, it says "Parse error: parse error in /web/sites/277/airlinedev/www.dmcjr.f2s.com/guestbook/vars.php3 on line 12". I checked vars.php3's line 12, and it read's "$data = 'guestbook.dat';" I have the guestbook.dat in the same folder, and it's chmoded to 777.
Does anyone know what wrong? Thanks! :-)Devin McLean
http://dreamer.spacecoast.com
-------------------------
-
Oct 7, 2000, 13:44 #2
- Join Date
- Aug 2000
- Location
- San Diego, CA
- Posts
- 5,460
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Does it look exactly like this?
"$data = 'guestbook.dat';"
Trying removing the outer quotes like this:
$data = "guestbook.dat";Please don't PM me with questions.
Use the forums, that is what they are here for.
-
Oct 7, 2000, 15:04 #3
- Join Date
- Oct 2000
- Posts
- 89
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
check one line before does it have ";" at the end?
Great Dane
Gokhan ARLI
-
Oct 7, 2000, 20:57 #4
- Join Date
- Jul 2000
- Posts
- 26
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks very much. It solved my problem. yes, the line before that had no sigle qoute (') before the semicolin (
. Thanks again!
Devin McLean
http://dreamer.spacecoast.com
-------------------------
Bookmarks