PHP Help

SpaceshipSpaceship
Watch

Woof

Established Member
Impact
0
I am trying to use a free php script on my site. The read me file tells me to use one of the features I need to "uncomment the code "session_start();" code for this to work". What does this mean? I Googled it and can't find an answer.
Thanks
 
0
•••
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
it means find that line in the specified file and remove the ### infront of it.

Dylan
 
1
•••
Thanks Dylan! Reps added.
Kelley
 
0
•••
Seems like this problem is solved, but I have one quick note.

Comments can be in the form of:

Single Line Comments (Double Slashes)
PHP:
// This is a comment
Single Line Comments (pound sign)
PHP:
# This is a comment
Multi-Line Comments
PHP:
/*

This is a comment

*/

-Steve
 
1
•••
Thanks Steve. It took me a while and a lot of trial and error after looking at Dylans post to figure out what I needed to delete was // not /*x*/. Reps added.

Now that I have the script working, I can't get my page to load at the top of the screen. For some reason the page loads with the logo a few inches down instead of at the top. Any ideas?
 
0
•••
Post the code and we will see what we can do



Woof said:
Thanks Steve. It took me a while and a lot of trial and error after looking at Dylans post to figure out what I needed to delete was // not /*x*/. Reps added.

Now that I have the script working, I can't get my page to load at the top of the screen. For some reason the page loads with the logo a few inches down instead of at the top. Any ideas?
 
0
•••
dkin69 said:
Post the code and we will see what we can do

he already got it to work :)
 
0
•••
Woof said:
Now that I have the script working, I can't get my page to load at the top of the screen. For some reason the page loads with the logo a few inches down instead of at the top. Any ideas?
I meant about that
 
0
•••
stscac said:
Single Line Comments (pound sign)
PHP:
# This is a comment

Just a note that is a hash sign not pound sign. But stscac is indeed correct they are the methods of commenting.

The most used probably beeing the ones containing the slashes.
 
0
•••
Dynadot — .com TransferDynadot — .com Transfer
Appraise.net

We're social

Escrow.com
Spaceship
Rexus Domain
CryptoExchange.com
Domain Recover
CatchDoms
NameMaxi - Your Domain Has Buyers
DomDB
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back