j05hr Posted October 7, 2008 Author Share Posted October 7, 2008 it's come up blank again and i'm using php 5.2.6 Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659284 Share on other sites More sharing options...
tmallen Posted October 7, 2008 Share Posted October 7, 2008 it's come up blank again and i'm using php 5.2.6 I'll bet that display_errors is off and you have a little syntax error there. Â Note that I haven't read the previous seven or so pages, so sorry if I'm missing something. Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659287 Share on other sites More sharing options...
j05hr Posted October 7, 2008 Author Share Posted October 7, 2008 how would i find if they're on or off? when i get syntax error it tells me or is it a different type of error? Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659290 Share on other sites More sharing options...
KevinM1 Posted October 7, 2008 Share Posted October 7, 2008 Just curious, what info exposed could really compromise security? Sure, a hacker would have more information on hand about my server, but I only see this being a problem if my software is out of date and known exploits can be determined...oh, I guess that it is a security risk. Â :thumbsup: Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659292 Share on other sites More sharing options...
KevinM1 Posted October 7, 2008 Share Posted October 7, 2008 Ack, the error is my fault. D'oh!  It should be: <?php  phpinfo(); ?> Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659294 Share on other sites More sharing options...
j05hr Posted October 7, 2008 Author Share Posted October 7, 2008 i can't find any mysql extension when i ctrl f extension it only comes up with a php extension? Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659297 Share on other sites More sharing options...
KevinM1 Posted October 7, 2008 Share Posted October 7, 2008 i can't find any mysql extension when i ctrl f extension it only comes up with a php extension? Â Look for mysqli. Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659298 Share on other sites More sharing options...
j05hr Posted October 7, 2008 Author Share Posted October 7, 2008 i've got a mysqli_socket but then mysqli.default_host has no value and the Client API library version is 5.0.24 Â not sure if this information is helpful to you or not but that is what's under mysqli Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659301 Share on other sites More sharing options...
KevinM1 Posted October 7, 2008 Share Posted October 7, 2008 i've got a mysqli_socket but then mysqli.default_host has no value and the Client API library version is 5.0.24  not sure if this information is helpful to you or not but that is what's under mysqli  So long as it lists anything regarding mysqli, I'll be all set. I could do it the normal mysql way (like we did for the test script), but mysqli has a couple of features which saves me a little bit of work. It's a bit more secure, for one, with its prepared statements. And it automatically escapes potentially dangerous characters without me having to call mysql_real_escape_string() for every inputted value.  One last value to check: There should be something within the PHP Core ini which says 'magic_quotes_gpc'. Can you tell me if that's on or off? You should be able to find it by searching for that value ('magic_quotes_gpc') directly. Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659318 Share on other sites More sharing options...
j05hr Posted October 7, 2008 Author Share Posted October 7, 2008 the magic_quotes are turned off Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659435 Share on other sites More sharing options...
KevinM1 Posted October 8, 2008 Share Posted October 8, 2008 the magic_quotes are turned off  Okay, good.  I'm ~90% complete. I do need one extra thing from you, which I think I asked for before we got sidetracked with all of the issues in getting connected to the database.  I need an empty website page. It needs to have the look and feel of your other pages (so, same layout, navigation, etc), but without any specific content within it. I need it for two reasons:  1. To display any errors that may occur to the user. 2. To display a "Thank you for signing up" message.  Having pages like this will both inform the user of the status of their submission and allow them to continue navigating through your site. Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659926 Share on other sites More sharing options...
nadeemshafi9 Posted October 8, 2008 Share Posted October 8, 2008 you dont learn php, you learn how to program first using C++ and Java or C Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659928 Share on other sites More sharing options...
nadeemshafi9 Posted October 8, 2008 Share Posted October 8, 2008 daniya son  you must learn how the techmowogi woks den you can understand how to implament ur mind Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659930 Share on other sites More sharing options...
j05hr Posted October 8, 2008 Author Share Posted October 8, 2008 i done both the files, both look a bit silly as the tables have stretched but i can make that all right after, so for now. www.jasongold.org/blank.html www.jasongold.org/submit_complete.html Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-659964 Share on other sites More sharing options...
j05hr Posted October 14, 2008 Author Share Posted October 14, 2008 bump Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-665476 Share on other sites More sharing options...
j05hr Posted October 15, 2008 Author Share Posted October 15, 2008 another bumb for Nightslyr Quote Link to comment https://forums.phpfreaks.com/topic/124009-learning-php/page/5/#findComment-666462 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.