[PHP] Fw: Java and php domainname validation
Hi, I have write a domain control function in php, the php function will working fine. I have create a simpel form with 2 textboxes and 1 button, i will put in this fields a domainname and the extention like yahoo com if i click on the button, then we want to validate the domainname and the extention This will not working ?php function controle($Domainname, $extention) if ($extention ==com) { $server = whois.internic.net; $query = $Domainname . . . $extention; $data = whois_request($server, $query); if(strstr($data, No match for)) { return ok } else { return notok } } ? script function controledomainname(f) { if (controle(window.document.form1.domainname.value, window.document.form1.extention.value) = notok) { alert(your domainname allready exist) } } /script form name=form1 input TYPE=text NAME=domainname size=20 input TYPE=text NAME=extention size=20 input type=button value=validate onClick=controledomainname() /Form Best regards, Manu
[PHP] Java and php domainname validation
Hi, I have write a domain control function in php, the php function will working fine. I have create a simpel form with 2 textboxes and 1 button, i will put in this fields a domainname and the extention like yahoo com if i click on the button, then we want to validate the domainname and the extention This will not working ?php function controle($Domainname, $extention) if ($extention ==com) { $server = whois.internic.net; $query = $Domainname . . . $extention; $data = whois_request($server, $query); if(strstr($data, No match for)) { return ok } else { return notok } } ? script function controledomainname(f) { if (controle(window.document.form1.domainname.value, window.document.form1.extention.value) = notok) { alert(your domainname allready exist) } } /script form name=form1 input TYPE=text NAME=domainname size=20 input TYPE=text NAME=extention size=20 input type=button value=validate onClick=controledomainname() /Form Best regards, Manu
[PHP] Images don't save
Hi, You can right click on a image on your browser and choose save. I want to disable this option, how can i do this Greetings, Manu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] automatic check if MySQL is running
How can i check of MySQL is running, i want to do this with cronn. If MySQL is not running then i want to start it automatic. Greeting, Manu
[PHP] edit record in mysql and receive error
Hi, I have the following records in my table dnsDNS Record 1 : Login = company1 ip = 10.123.100.111 Record 2 : Login = company2 ip = 10.123.101.111 I want to update recordnumber 1 I receive error ?php $ip=10.10.9.100; $company=company1; $host=localhost; $user=username; $password=abcdef; $database=database1; $query = update dynDNS SET IP='$ip' where Login='$company'; mysql_connect ($host, $user, $password); mysql_select_db($database); $result=mysql_query($query); if ($result == 0) { echo(error); echo(BR); } ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] php extentions problem
Hi, We have PowerBSD Virtual Server with apache and php4 We have the following files in the conf directory Access.conf( access file) httpd.conf(virtual hosts) magic mime.types srm.conf I have edit the srm.conf AddType application/x-httpd-php .phtml AddType application/x-httpd-php .php3 AddType application/x-httpd-php .php4 AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps I have create 2 testing files with the names info.php and info.php3 with the following text ?php phpinfo()? I go to my brower an type www.mydomainname.com/info.php3everiting will working fine If I go to my brower an type www.mydomainname.com/info.phpit will not working i will see ?php phpinfo() ? in my browser Can you help my please. Manu
Re: [PHP] installing php3 and php4 on the same server
We have the following problem, we have now apache 3 and php 3 ,we have upgrade the apache and the php3 tot php4 evereting will working fine. 2 internetproviders in belgium will working with proxyservers if you want to view a webpage on the lastversion of apache an php4 the page will not correct viewed Greetings, - Original Message - From: Alex Dowgailenko [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 8:44 AM Subject: RE: [PHP] installing php3 and php4 on the same server Question is, why would you want to? php3 scripts will work fine under php4. -Original Message- From: Manu Verhaegen [mailto:[EMAIL PROTECTED]] Sent: January 18, 2002 2:39 AM To: [EMAIL PROTECTED] Subject: [PHP] installing php3 and php4 on the same server Hi, We have installed apache 3 and PHP3, can we install PHP4 on the same server the we can use PHP3 and PHP4 Thanks, -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Installing PHP4
Hi, We have installed Apache 1.3.6 and PHP4 If we use phpscripts with the extention .php everiting will working fine, if we use .php3 this will not working Can you help my Greetings, Manu
Re: [PHP] Installing PHP4
Thanks, Evereting will working fine - Original Message - From: Neil Freeman [EMAIL PROTECTED] To: Manu Verhaegen [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, January 18, 2002 12:12 PM Subject: Re: [PHP] Installing PHP4 Open up your server's config file, eg httpd.conf , and ensure that PHP's AddType line has the extension .php3 Should look something like this: AddType application/x-httpd-php .php .phtml .php3 HTH Neil Manu Verhaegen wrote: Hi, We have installed Apache 1.3.6 and PHP4 If we use phpscripts with the extention .php everiting will working fine, if we use .php3 this will not working Can you help my Greetings, Manu *** This message was virus checked with: SAVI 3.52 last updated 8th January 2002 *** -- Email: [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] installing php3 and php4 on the same server
Hi, We have installed apache 3 and PHP3, can we install PHP4 on the same server the we can use PHP3 and PHP4 Thanks,
Re: [PHP] Statistic analyze for Apache log
You can use AWSTATS, it will working and it is very nice. Greetings, Manu - Original Message - From: Johan Holst Nielsen [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, December 04, 2001 10:51 AM Subject: [PHP] Statistic analyze for Apache log Hi Anyone know a good PHP application that generate statistic from apachelog? Please send me an URL. Regards, Johan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] automatic forward URL to other URL
I want automatic forward URL (www.mydomain.com) to (www.mydomain2.com) If i type in my brower www.mydomain.com the i will see www.mydomain2.com Greetings, Manu
[PHP] chmod
I have the following question : I have a directory on my ftp server and i want give access to this directory by usergroup ( the name of the group is test ) We have do the following : % vadduser user Configuration -- Username: test Password: test Fullname: test UID:35647 Groups: test Home Dir: /ftp/test % dir drwxrwxr-x c myname vkernel512 AUG 5 11:27 test I want give read,write,exectute access for this directory to the group test how can i do this? chmod -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] chmod
I have the following question : I have a directory on my ftp server and i want give access to this directory by group (the name of the group is test) % ls % /ftp/test % chmod 070 test how can i do this Greetings, Manu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Image
I have the following question : I have a picture of a floor and the dimention are W=500 H=375 I put this image on te screen by the following command img border=0 src=red.jpg WIDTH=500 HEIGHT=375 I want to make this picture smaller img border=0 src=red.jpg width=250 height=100 Now the whole picture is smaller and i want to see only the dimentions W=250 and H=100 and not the dimentions W=250 H275 + + + + +++ +++ +++ +++ +++ + + + + + + + + + + + + + +++ +++ + + + + + -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Drop Down Menu
I have the following question : if i make a selection in the drop down menu and click on submit button then the color will send to form2.php I want not click on the submit button i make a selection in the drop down menu then the color will send automatic to form2.php, how can I do this form method=POST action=form2.php tdselect size=1 name=color optionblue/option optionlicht/option optionred/option optionyellow/option /select/td input type=submit value=Next name=Go /form -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] GD library
I want to install the GD library for PHP I seek libpng and zlib and jpeg-6b can you help me Greetings, Manu Verhaegen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] FTP
question : Can i make a FTP connection to other server and download a file? How can i do this Greetings, Manu Verhaegen
[PHP] MySQL PRIVILEGES problem
Dear all, I have the following problem : I want change te root password for mysql and we receive the following error message ERROR 1064: parse error near 'FLUSH PRIVILEGES' at line 1 I login to my MySQL server and type the following commands shell mysql -u root mysql mysql UPDATE user SET Password=PASSWORD('new_password') where user='root'; mysql FLUSH PRIVILEGES; ERROR 1064: parse error near 'FLUSH PRIVILEGES' at line 1 thanks in advance.