Re: [PHP-WIN] Internal Server Error

2004-04-29 Thread Raheel Hussain
fortunately i got the solution to it but i was a little surprised with it. actually as i had installed php previously and as i remember in the IISAdmin you add the application mapping (.php , or .phtml) with the path of executable of ("c:\php\php4ts.dll") and i did the same and when i read the s

[PHP-WIN] Internal Server Error

2004-04-29 Thread Raheel Hussain
I m trying to configure the php 4.3.6 on windows 2K I did every step witten in the installation instructions but when i go to run the test.php page with < ? phpinfo(); ?> witten in it then it was first giving an error of "the specified procedure cannot be found" then i tried reconfiguring it a

[PHP-WIN] Resource Sharing or Resource Scheduling ??

2003-08-08 Thread Raheel Hussain
hi all, i've made an application , which serves more than 35 cuncurrent users at a time, now wht i m doing on the page where the data is being submitted is : run a loop which iterates through all the submitted data of $_REQUEST and i make a query and update that to the Access Database, on every r

Re: [PHP-WIN] Resource Sharing or Resource Scheduling ??

2003-08-07 Thread Raheel Hussain
-Mike On Wed, 6 Aug 2003, Raheel Hussain wrote: > Date: Wed, 6 Aug 2003 23:16:58 -0700 (PDT) > From: Raheel Hussain > To: [EMAIL PROTECTED] > Subject: [PHP-WIN] Resource Sharing or Resource Scheduling ?? > > hi all, > > i've made an application , which serves more

[PHP-WIN] Strange Problem ! help required

2003-03-12 Thread Raheel Hussain
hi i have been using php for 1 year, but i have never face problem like this, when ( by clicking on a link ) the browser navigates to "register.php" page, it displays correctly , but when i click the "refresh button" to reload the page, it doesn't display any thing but display only one error lin

[PHP-WIN] Urgent Help Required !

2003-01-11 Thread Raheel Hussain
hi, I m using the following code to attach a file in an email and sending it through the mail function. but the problem i face is that that mail is sent but there is not attachment in it , i have tried it lots of times but didn't find the actuall cause of this logical error. the server is Apache

[PHP-WIN] someone help me if i m wrong ( PHP / QMAIL )

2003-01-07 Thread Raheel Hussain
hi, I m using the mail() function on a server, but having problems, the problem is that the mail is not being sent. i consulted with the administrator then he said that i m using 3rd. party QMAIIL component on the server so if there is a 3rd party component is used. what changes should i do for

[PHP-WIN] Mail functions

2003-01-07 Thread Raheel Hussain
hi, I m using the mail() function on a server, but having problems, the problem is that the mail is not being sent. i consulted with the administrator then he said that i m using 3rd. party QMAIIL component on the server so if there is a 3rd party component is used. what changes should i do for

[PHP-WIN] Running php on windows98 with apache server !

2003-01-07 Thread Raheel Hussain
hi, I want to configure PHP on windows 98 with Apache, my question is that is there any limitations of functionality on windows 98 , if i do so. and if yes then what are the limitations. because when we configure ASP on win98 , then there are some limitations in ASP. regards,

[PHP-WIN] PHP Web Mail

2002-12-16 Thread Raheel Hussain
hi, 1 - where can i download the latest version of Apache Server for installation on Windows 2000. I want to develop a webmail in PHP just like Yahoo, plz somebody guide me where can I get help or some useful information about it , or if somebody have some information etc. regards, --

[PHP-WIN] HIT COUNTER AND CASHE-CONTROL

2002-12-11 Thread Raheel Hussain
hi, I m facing two problems rite now , I can't force my page to revalidate by using the following code on my "index.php" page. header("Cache-Control: no-store, no-cache, must-revalidate"); // HTTP/1.1 header("Cache-Control: post-check=0, pre-check=0", false); header("Pragma: no-cache");

[PHP-WIN] Pointers??

2002-12-03 Thread Raheel Hussain
function SetDomain(d) { document.domain = d; }What is the actuall user of pointers in PHP ? or where can they be used. ?? - Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now

[PHP-WIN] Do NEbody have example of the following ??

2002-12-03 Thread Raheel Hussain
function SetDomain(d) { document.domain = d; } hi , I was reading the following quiestion and its description but couldn't get to the edge of it. but if some body give the example of what have witten(answer to the question) below here it is // What is the best way to write an application for

[PHP-WIN] Upload File Size

2002-11-30 Thread Raheel Hussain
hi, here again i got a problem while uploading a file, I m using the following script. $file = $_FILES['userfile']['tmp_name']; print_r($file . ""); print($_FILES['userfile']['size'] . " IS THE SIZE "); print($_FILES['userfile']['type']); exit(); // Out put .. if File size is less than 1000

[PHP-WIN] Sending Attachment through Email

2002-11-25 Thread Raheel Hussain
hi, can any body tell that what directive or headers should be used in the mail function if i want to send an attachment via email, i have simple email composer form with SendTo, SendFrom,Subject , Body and Attachment(input type=file) Fields and server side form, where i get all the fields. a

[PHP-WIN] File Upload Problem (Permission Denied)( I Got the solve )

2002-11-24 Thread Raheel Hussain
Well after a bit of struggle i got the solve to the problem Now whether there was my misinterpretation, or the incmplete documentation of the php manual that I was using it with the following example here I tried /Uploads/ d:\\raheel\\w3sites\\txtfiledemo\\uploads\\ \uploads ./uploads inp

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
userfile']['name'] to the ending statement (which I believe is what the file's original name was). Worth a try at least. (I may be wrong on the $_FILES['userfile']['name'] - try print_r($_FILES); and see what is in that array). -Dash Fashion is a form of uglin

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
ning: Unable to create 'd:\raheel\w3sites\txtfiledemo\uploads\': Permission denied in D:\Raheel\W3sites\txtfiledemo\default2.php on line 25 Warning: Unable to move 'd:\raheel\w3sites\phpE3.tmp' to 'd:\raheel\w3sites\txtfiledemo\uploads\' in D:\Raheel\W3sites\txtfiled

Re: [PHP-WIN] Help required... Simple File Upload

2002-11-24 Thread Raheel Hussain
/* i m now using the following script to upload the file but still it is not working.. I there would've been some permission problem , i have given "full control" permission to the whold directory even the drive there the site is hosted. now the script is generating the following out put which m

[PHP-WIN] Help required... Simple File Upload

2002-11-23 Thread Raheel Hussain
hi, I got a problem in a simple file upload in a php file , i have two pages and i m writing the code here as bellow ::page1.php:: Send this file: ::default2.php:: move_uploaded_file($_FILES['userfile']['tmp_name'], "D:\\Raheel\\W3sites\\txtfiledemo\\uploads\\"); print($_F

[PHP-WIN] Please Guide me ( Unix and Windows Severs)

2002-11-01 Thread Raheel Hussain
hi, I m working on a site which is to be hosted on a unix or linux server, but the idea which i don't have is the difference between the unix/linux and windows server, i wonder there is no difference in the php scripts, but the only difference will be the configuration of php on windows and uni

[PHP-WIN] Session Persistance (urgent help required)

2002-10-31 Thread Raheel Hussain
function SetDomain(d) { document.domain = d; }Hi, I m a new bie programmer in PHP , but have strong background in ASP here i m having a problem with session persistance at one page i m starting the session, with session_start(); $_SESSION['count']="1"; print($_SESSION['count']); // this works

[PHP-WIN] Date Increment Problem

2002-10-30 Thread Raheel Hussain
hi, I m a newbie programmer, may b solve to this prob. is a cheap thing, but i cant get solution of it. i have two variables $RegisterDate, and $ExpireDate what I want to do is the the $RegisterDate will be taken from the system. but the $ExpireDate will be three days after the $RegisterDate,

[PHP-WIN] Random Numbers Script

2002-10-28 Thread Raheel Hussain
I want to generate three to Six digit long random numbers with the foloowing input 1 - length in digits : 4 2 - How many numbers do you want to generate : 4 and then the script runs and generate the following 1220 1282 7324 3343 simillarly 1 - length in digits : 6 2 - How ma

[PHP-WIN] odbc_num_rows() function

2002-10-28 Thread Raheel Hussain
resource consuming, any suggestions ??? Raheel Hussain House-2 , Block-8, Siddiqueabad Housing Society, Malir, Karachi, Pakistan. Phone : (92)(021) 4505808. Cell : (92)(021) 0320-5064609. - Do you Yahoo!? Y! Web Hosting - Let the expert host your web site

[PHP-WIN] I got a little confusion about mysql and php

2002-09-07 Thread Raheel Hussain
hi, I m a newbie programmer and has just started working on php, i m not actually having much problem in it as because i have backgroud of C/C++ and vb and ASP and Pascal etc. I have a little confusion , may be it is gonna be a cheap question the question is as follows 1 - I have a mysql dat