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
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
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
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 =
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
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
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
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
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
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
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
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
$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:
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
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
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
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
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
Hi folks,
I wonder whether Mysql supports procedures and triggers
:?
/sagar
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
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
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
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
23 matches
Mail list logo