[PHP] Is it Possible?

2005-02-04 Thread Sagar C Nannapaneni
I'm calling a php script with img tag for ex: img src=http://localhost/test.php?img=asfd; and the test.php is as follows... test.php ? ... ... some server side validations ... readfile(abcd.gif); ? --- Theres no problem with this..its

Re: [PHP] Is it Possible?

2005-02-04 Thread Sagar C Nannapaneni
C Nannapaneni [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Friday, February 04, 2005 5:36 PM Subject: Re: [PHP] Is it Possible? Sagar C Nannapaneni wrote: I'm calling a php script with img tag for ex: img src=http://localhost/test.php?img=asfd; and the test.php is as follows

[PHP] unable to execute external program

2005-01-13 Thread Sagar C Nannapaneni
Hi, I've compiled an external program in my linux server. That program creates a pdf file taking a html file as input. when i run it thru the command line its working fine. But when i tried to execute the same command from php with exec() command its not working. Note that from command i'm

Re: [PHP] Re: unable to load curl

2005-01-10 Thread Sagar C Nannapaneni
Please respond to the newsgroup and not to my personal email. quoteIs it a file access/ownership thing?/quote This is possible. Have you checked permissions for PHP user? My original question remains unanswered though and it is probably a better place to start... extension_dir =

Re: [PHP] Re: PHP any Mysql connection- new b

2005-01-09 Thread Sagar C Nannapaneni
You didnt mentioned where your problem is and what the error that you are getting. check in the line mysql_select_db (userpass); That you have the grant and other administrative privilages to the user and the database you have to operate on is mysql mysql_select_db (mysql); Anyhow note that

[PHP] unable to load curl

2005-01-09 Thread Sagar C Nannapaneni
Hi, I've got a strange issue here i'm using apache2 with php 4.3.9 on win 2000. I've pointed the php extension directory to extension_dir = C:\php\extensions where all the extension dlls reside. All extensions are working and all dlls are loading properly,, but when i try to load curl i'm

Re: [PHP] How to argue with ASP people...

2005-01-05 Thread Sagar C Nannapaneni
that with PHP. /sagar - Original Message - From: Chris Shiflett [EMAIL PROTECTED] To: Sagar C Nannapaneni [EMAIL PROTECTED]; php-general@lists.php.net Sent: Tuesday, January 04, 2005 10:12 PM Subject: Re: [PHP] How to argue with ASP people... --- Sagar C Nannapaneni [EMAIL PROTECTED] wrote

Re: [PHP] unable to write a text file larger than 10Mb

2005-01-03 Thread Sagar C Nannapaneni
yes,, I'm sure that my script is not timing out... Also i set mysql connection timeout to max. /sagar - Original Message - From: Burhan Khalid [EMAIL PROTECTED] To: Sagar C Nannapaneni [EMAIL PROTECTED] Cc: php-general@lists.php.net Sent: Monday, January 03, 2005 3:37 PM Subject: Re

Re: [PHP] How to argue with ASP people...

2005-01-03 Thread Sagar C Nannapaneni
I'm a passionate freak of PHP from the past 4 years (that i can remember). And i love everything that php can do. But just 2 days ago i came along a situation where i have to write a hit counter for my website without using a database or a text file. Just using a global variable i wanted to do

[PHP] unable to write a text file larger than 10Mb

2005-01-02 Thread Sagar C Nannapaneni
Hello All, This is very imp and urgent for me. I've a very large db on my remote website. I want to get a backup of that db. phpmyadmin is installed on the server..but if failed to create the backup (may b coz of the time outs). so i wrote my own class to get the backup. Its working fine

Re: [PHP] Next page every second

2004-12-23 Thread Sagar C Nannapaneni
If all you want to display each record one by one at a particular interval of time you could do this at one page itself...here is the procedure 1. connect to mysql 2. grab the row you want 3. store the row number in a session variable 4. Add an autorefresh code to ur html..(lot of java

[PHP] couldnt backup database

2004-12-21 Thread Sagar C Nannapaneni
Hello all, I've a table in my database with 1 lakh records using a disk space of around 50Mb. I wanted to download the records. I used phpmyadmin (coz my hosting provider doesnt allow remote access to my db) to export the database but its not working for larger databases. I thought that it

Re: [PHP] i'm beginner and i couldn't solve the problem

2004-12-08 Thread Sagar C Nannapaneni
$sql = INSERT INTO testTable values ('', '$_POST[testField]'); should be $var = $_POST[testField]; $sql = INSERT INTO testTable values ('', '$var'); /sagar - Original Message - From: Mecnun [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, December 08, 2004 4:23 PM Subject:

[PHP] Getting latest Session name

2004-12-03 Thread Sagar C Nannapaneni
Hello friends, I just wanna know is there any way out to know the name of the latest created session. The issue i'm fixed up with is I'm storing some variables in the session and the session expire is set to some 24hrs. Now when i close the browser and when i again open the same page after

[PHP] Reg Jpgraph...

2004-11-26 Thread Sagar C Nannapaneni
Hi all, I think I shouldnt post this here...but i didnt find proper support at the jpgraph forums. I'm using PHP 4.3.9 with GDK precompiled on apache2 using win2k. When i open any of the jpgraph example files its giving me an error saying IE cannot find the site your are requesting. But when i

Re: [PHP] cacheing problem

2004-10-17 Thread Sagar C Nannapaneni
You have some restriction on the size of the data u send through GET method.. like i remember it as 256Kb or so. So if u r sending data larger than this limit ...u need to use the post method /sagar - Original Message - From: Mag [EMAIL PROTECTED] To: Greg Donald [EMAIL PROTECTED]; php

Re: [PHP] sending SMS messages to mobile phones from PHP

2004-10-11 Thread Sagar C Nannapaneni
You can use SMSTERM /sagar - Original Message - From: SunTan.co.uk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, October 10, 2004 7:38 PM Subject: [PHP] sending SMS messages to mobile phones from PHP Hi there, I want my website to be able to send me an SMS message to my phone

[PHP] AutoLogin

2004-10-06 Thread Sagar C Nannapaneni
Title: Blank Hi all, I have a website which has a login form with username and password. How can i login into that website providing the username and pwd from the php script. I know that this can be done...but wonder how. The website uses a JSP files with jsp session and also before logging

[PHP] Stored procedures in Mysql

2004-09-30 Thread Sagar C Nannapaneni
Hi folks, I wonder whether Mysql supports procedures and triggers :? /sagar

[PHP] Problem with uploaded file

2004-09-26 Thread Sagar C Nannapaneni
Hello folks, I'm facing some sort of problem here. I'm uploading a file from the clients system to the server. Everything working fine except that the file that is being uploaded is having a file permission of 600 ie only read and write to the owner only. So i'm not able to change the

[PHP] PHP frontend

2004-09-15 Thread Sagar C Nannapaneni
Hi there, I wonder whats this PHP forntend is? Is this diff from the PHP we work with regularly? If any one could suggest some articles on thisit wud b greatly apprecieated Thanks,, /sagar

[PHP] prob parsing Url

2004-09-14 Thread Sagar C Nannapaneni
Hi folks.. I'm using a form to send data from one page to another. one of the input fields in the form has a quotation mark Ex.: samsung 15 monitor in the next page i cant get the text after the symbol in the field. I've tried both GET and POST methods. what might b the problem /sagar

[PHP] small query prob in Mysql

2004-09-13 Thread Sagar C Nannapaneni
Hi everybody, I'm having a database named items, inthat one field name is itemname and the contents of that field is as follows Monitor 15 - LG Monitor 17 - Samsung Keyboard - TVS Monitor 15 - Samsung Mouse - Genius Keyboard - Microsoft The first part is the component name and the