Posts: 5,683
Threads: 413
Joined: Aug 2012
Reputation:
0
1: Do other PHP scripts work?
2: Does it show an error at all?
Posts: 1,725
Threads: 105
Joined: Feb 2011
Reputation:
0
The other PHP scripts do work.
2.M y thing doesn't report PHP errors.
Posts: 2,843
Threads: 382
Joined: Jul 2012
Reputation:
0
You don't need the semicolons after the $_GET variables. They should almost always only go at the end of lines.
Posts: 1,725
Threads: 105
Joined: Feb 2011
Reputation:
0
07-14-2011, 01:09 AM
(This post was last modified: 07-14-2011, 01:13 AM by Eyrk.)
My bad.
Great,now I have another glitch that's been poping up a lot. All the text is HUGE.
No errors, but it won't create the files.
Wait... nvm
Posts: 1,012
Threads: 94
Joined: May 2011
Reputation:
0
07-14-2011, 01:19 AM
(This post was last modified: 07-14-2011, 01:22 AM by manbat116.)
You never closed your <h1> tag.
Posts: 1,012
Threads: 94
Joined: May 2011
Reputation:
0
07-14-2011, 01:50 AM
(This post was last modified: 07-14-2011, 01:50 AM by manbat116.)
$file = fopen($_GET["Name"]. ".html","x"); that line may be wrong. If I remember correctly, you can't have 2 quotes, then more. It confuses php. Try this:
[lua]
$file = fopen($_GET["Name"]. /.html/,/x/);
[/lua]
Posts: 1,725
Threads: 105
Joined: Feb 2011
Reputation:
0
Nope, it shout out the 500.0 error. ;p