zohaib
-
Posts
12 -
Joined
-
Last visited
Never
Posts posted by zohaib
-
-
Hi all,
I am using wamp on windows XP.Details as below
Server Configuration
Apache Version :
2.2.8
PHP Version :
5.2.6
MySQL Version :
5.0.51b
Now in order to use it i have to type "http://localhost/"
But in case of xampp server i have to type "http://192.168.1.22"
How can i change "http://localhost/" to "http://192.168.1.22" in WAMP
any ideas?
-
Hi all,
My environment details as below
PHP Version 5.2.0
System Windows NT IIS07101 5.2
Server API CGI/FastCGI
I am getting following error message on some pages .
These pages working fine on xampp(php 5.2,Apache)
"The specified CGI application misbehaved by not returning a complete set of HTTP headers."
and sometimes
"
ERROR
The requested URL could not be retrieved
"
any ideas?
-
Hi all,
My environment details as below
PHP Version 5.2.0
System Windows NT IIS07101 5.2
Server API CGI/FastCGI
I am using Drupal 6.5
I am getting following error message on some pages .
These pages working fine on xampp(php 5.2,Apache)
"The specified CGI application misbehaved by not returning a complete set of HTTP headers."
and sometimes
"
ERROR
The requested URL could not be retrieved
"
any ideas?
-
i want to modify my post and add some more text after i logout
when i login again then i can see "quote" link ,i can't see modify link
when i click on "quote" link and add some more text then a new post below it
get added
In other forum i can see modify link but here i can't
how can i modify my post?????.....
-
Hi all,
In my project i have folder name "my_project"
I have placed my php.ini file in "my_project\php.ini"
how can i call and load it
by default it is calling default php.ini
ini_set("Loaded Configuration File","E:\xampp\htdocs\my_project\php.ini");
ini_set("upload_max_filesize","50M");
phpinfo();
echo 'display_errors = ' . ini_get('display_errors') . "\n";
echo 'register_globals = ' . ini_get('register_globals') . "\n";
echo 'post_max_size = ' . ini_get('upload_max_filesize') . "\n";
or any other way to create custom php.ini file
any other way from ini_set and .htacess file
SetEnv PHPRC "E:/xampp/htdocs/my_project/php.ini"
SetEnv PHPRC "E:/xampp/htdocs/my_project/"
export PHPRC="E:/xampp/htdocs/my_project/"
-
Hi all,
In my project i have folder name "my_project"
I have placed my php.ini file in "my_project\php.ini"
how can i call and load it
by default it is calling default php.ini
ini_set("Loaded Configuration File","E:\xampp\htdocs\my_project\php.ini");
ini_set("upload_max_filesize","50M");
phpinfo();
echo 'display_errors = ' . ini_get('display_errors') . "\n";
echo 'register_globals = ' . ini_get('register_globals') . "\n";
echo 'post_max_size = ' . ini_get('upload_max_filesize') . "\n";
or any other way to create custom php.ini file
any other way from ini_set and .htacess file
i have gone through following link but not gettting
http://www.php.net/manual/en/configuration.php#configuration.file
-
Hi all,
In my project i have folder name "my_project"
I have placed my php.ini file in "my_project\php.ini"
how can i call and load it
by default it is calling default php.ini
ini_set("Loaded Configuration File","E:\xampp\htdocs\my_project\php.ini");
ini_set("upload_max_filesize","50M");
phpinfo();
echo 'display_errors = ' . ini_get('display_errors') . "\n";
echo 'register_globals = ' . ini_get('register_globals') . "\n";
echo 'post_max_size = ' . ini_get('upload_max_filesize') . "\n";
or any other way to create custom php.ini file
any other way from ini_set and .htacess file
-
Hi all,
Please check attached image
I have some fields on left side like(text fields,combo box etc) and
multiple select option box at right side.
Now i want to add/remove values from left to right using JavaScript.
How can i implement it.
any ideas?
thanks in advance.
[attachment deleted by admin]
-
change time_test.php to test.php
url = "time_test.php"; to url = "test.php";
-
Hi all,
I want to create file upload functionality same as in g mail.
regards
Zohaib
<Windows XP>
<Apache 2.2.8>
<MySQL 5.0.51>
<PHP 5.2.6 >
-
file1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <title>Untitled Document</title> <script language="javascript"> var xmlHttp function showCustomer(str) { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support AJAX!"); return; } var url="file2.php"; url=url+"?q="+str; //url=url+"&sid="+Math.random(); alert(url); xmlHttp.onreadystatechange=stateChanged; xmlHttp.open("GET",url,true); xmlHttp.send(null); } function stateChanged() { if (xmlHttp.readyState==4) { document.getElementById("txtHint").innerHTML=xmlHttp.responseText; //alert(document.getElementById("txtHint").innerHTML); } } function GetXmlHttpObject() { var xmlHttp=null; try { // Firefox, Opera 8.0+, Safari xmlHttp=new XMLHttpRequest(); } catch (e) { // Internet Explorer try { xmlHttp=new ActiveXObject("Msxml2.XMLHTTP"); } catch (e) { xmlHttp=new ActiveXObject("Microsoft.XMLHTTP"); } } return xmlHttp; } </script> </head> <body> <form action="" method="get" enctype="multipart/form-data" name="frmAjax" id="frmAjax"> <table width="100" border="1"> <tr> <td>Country</td> <td> <select name="country" id="country" onchange="showCustomer(this.value)"> <option value="1">India</option> <option value="2">United States</option> </select> </td> </tr> <tr> <td>State</td> <td><p><div id="txtHint"> <select name="state" id="state" style="width:110px; "> <option value="0">Select</option> </select> </div> </p></td> </tr> </table> </form> </body> </html>
file2
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=shift_jis"> <title>Untitled Document</title> </head> <body> <form action="" method="post" enctype="multipart/form-data"> <table width="100" border="1"> <tr> <td> <select name="state" id="state"> <?php if($_REQUEST['q']=="1") { ?> <option value="" >Maharasthra</option> <?php } ?> <?php if($_REQUEST['q']=="2") { ?> <option value="">California</option> <?php } ?> </select> </td> </tr> </table> </form> </body> </html>
count number of words in Doc ,Rtf file
in PHP Coding Help
Posted
Hi all,
I want to count number of words in Doc ,rtf file
How can i do this with php?
any ideas?