-
Posts
360 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by gongpex
-
-
Thanks for reply, By the way, about mysqli that shown on phpinfo(), I found result like this : PDO driver enable : sqlite2, Is that support for mysqli? Note : I use apache2 triad 1.5.4 to running application web, is that support mysqli? please answer Thanks ___________________________________________________________________________________________ By the way, is your avatar are your photo?
-
I have tried using preg_match like this code:
if(!preg_match("/@/",$save_email)&$save_email!=""){$warn14 = "<div style=\"color:red;font-size:9px\">Email should be contain "@"</div>";}
but it's didn't show anything, my webpage disappear instead ,and when I delete this code, then my web page appear. Is there some mistake on my code? (on http://php.net/preg_match) I got the example like this:
<?php$str ="aaa@yahoo.com";if (preg_match("/@/", $str)) { echo "Match was found <br /><br /><br />";}else{echo"this didn't match";}?>
I change this code a little, this is can be run, but when I tried on my project it didn't show anything and cause my web page disappear, and I forgot yesterday , even if I using eregi the result is not complete, this is my code :
<?$str ="01234";if(!eregi('^[0-9]$',$str)){echo"this is contains alphabetical";}else{echo"correct";}?>
It's still show "this is contains alphabetical", supposed it's shown "correct". now what I must do? please help me Thanks
-
Hello everyone, I often found website on address bar it shown like this :
http://localhost/exc/index.php?page=debug&item=add&title=22
How to rewrite it on .htaccess file so that it can becomes :
http://localhost/exc/index.php/page/debug/item/add/title=22
or etc I didn't found simply tutorial about url rewriting, please someone tell me where I can found that tutorial and please help me to explain about url rewriting. Thanks
-
Yes you right thanks for answer, but, with preg_*() can I create email validation ? I don't know how to use preg_*() , because many example but it made me confused, please told me how to make it and a little example about how to use preg_*() Thanks _____________________________________________________________ By the way, can you give me link so that I can download mysqli ?
-
Hello everyone, Long time not meet with you all, but now my connection has return, During I'm offline, I studying about PHP fully and I found trouble on eregi, I had tried using eregi to filter some character like this code :
<?$str ="01234";if(!eregi('^[0-9]',$str)){echo"this is contains alphabetical";}else{echo"correct";}?>
IIf I fill 01234abcdef on $str, it still shown message : "correct", whereas it supposed show "this is contains alphabetical" How to filter so that only using rate character, it can be shown "correct" ? please someone help me Thanks
-
I ever try using simple .htaccess code like this :Looks like exactly the same file to me. So I doubt it's your code. I'm wondering if there's a character set problem. The server error (500? right?) indicates Apache is not happy with your file.Option +FollowSymlinksRewriteEngine onRewriteRule ^ try.php test.php [nc]
Before I using apache2triad 1.5.4 , I use apache2triad 1.4.3, and this code run successful on 1.4.3. Please see my attachment : Is this can cause trouble of server error 500? please someone help me Thanks
-
Hello everyone, I create code on .htaccess like this :
Option +FollowSymlinksRewriteEngine onRewriteRule ^(.*)\.htm$ $1.php [nc]
but it cause "Server Error" , when I put .htaccess file on the folder that contain file. What I must do to fix this problem? my purpose is to create url localhost/post/form.php into localhost/post/form please someone help me Thanks
-
so, where I can got oracle database tutorial? please told me Thanks
-
Hello everyone, Can I use SQL tutorial on w3schools to build / run into oracle database? Because all this time I use this tutorial only on mysql database. please someone tell me Thanks
-
Hello everyone, I often meet some link on it always show like this when click on mouse 2: Usually link always show like this when click on right click / mouse 2: how to create link like on top picture (1)? please help me. Thanks
-
hello everyone, Can I change the opening url address (www) using another? for the example : www.example.com change to test.example.com or virtual.example.com If I can, how to change it? Please someone help me Thanks
-
can you told me, usually people often visit website like what (besides entertainment and info)? please told me Thanks_______________________________________________________________________________________________________ If you not work, who's pay your study fee and daily needs? (Once again, sorry if this rather private)
-
Have you ever got money from Adsense? please told me Thanks_________________________________________________________________ If I allowed to know, how much you got pocket money or salary? I don't ask you to told me the precise number of the nominal, but the average nominal (Sorry if this question rather private)
-
Hello everyone, I had join google adsense, forex and another program to got money, but it's not useful, because till now I didn't get . Please someone, tell me what program or site that can obtain money real, (not too difficult)? I don't expect to got big earning, but at least, enough for my money pocket and to pay internet connection on my place (because almost a month I'm offline) I ask about this because I had resign from my job, because I can't stand with my boss who crazy because always make difficult me, and now I being looking for job, while I learn programs please help me, Thanks
- 2
PHP eregi not work completed
in PHP
Posted
I search using ctrl + F on phpinfo(); but I didn't found 'mysqli', Of course mysqli didn't installed on my apache, What I must do? Please give me advice Thanks _____________________________________________________________________________________ What's your occupation?