Dynadot .com transfer sale, only $10.12 with coupon code DYNA12, available while supplies last, ends October 31, 2026.

PHP Help

Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
NamecheapNamecheap
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
Close
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
Close
Thanks Dylan! Reps added.
Kelley
 
0
Close
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
Close
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
Close
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
Close
dkin69 said:
Post the code and we will see what we can do

he already got it to work :)
 
0
Close
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
Close
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
Close
CatchedCatched

We're social

Escrow.com
Spaceship
CryptoExchange.com
Domain Recover

NamePros updates

Quick replies: search, your most used replies, and more on every post
Quick replies are easier to find and use now. The quick reply menu has a search box. Type a few letters to find the reply you want. A...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back