Hi,
A friend of me use PHP4.1.2 on Linux+Apache
Here is the problem :
He pass a parameter using GET method :
http://www.domain.com/test.php?TESTV=1234
test.php is :
";
echo $HTTP_GET_VARS["TESTV"]."";
phpinfos();
?>
But in the script all variables are empty ($TESTV and $HTTP_GET_VARS["TES
Hello, I use PDF function to generate a PDF file.
It works fine except I cannot generate a document with more than 10 pages !
For each page I use pdf_begin_page($pdf, 595, 842);
I close each page with pdf_end_page
Any ideas ??
jean-arthur
---
Hello, I use PDF function to generate a PDF file.
It works fine except I cannot generate a document with more than 10 pages !
For each page I use pdf_begin_page($pdf, 595, 842);
I close each page with pdf_end_page
Any ideas ??
jean-arthur
---
Hi !
I m using PHP 4.0.5 and I try to create a function called "connect" :
function connect() {
...
}
My problem is I get this :
Fatal error: Cannot redeclare connect() in
/opt2/htdocs/www.mydomain.com/html/connexion.php on line 6
In connexion.php there is only the function declaration and
wrote:
>>This is a PHP mailing list, I doubt you'll find anyone who knows, or wants to
>>know ASP. Why not use PHP for this, and dump ASP (along with the slow,
>>bug-ridden webserver it runs on [unless you're using Apache::ASP])?
>>
>>On 26 November 2001
Hi !
I work with someone who use ASP :-(( ...
Is someone could translate this function to ASP ??
I don't think it's hard, but when you don't know ASP...
function encrypt($str)
{
global $STRCRYPT;
$i = strlen($str);
$newstr="";
for ($j=0;$j<$i;$j++)
{
$car = substr($str,$j,1);
$car = ord($car);
Hi !
I use the file function for accessing to pages on another server.
It works perfectly.
But if the server does not respond or is too long to send datas, the file
function wait too long..
Is there a way to tune the time out ?? I would like that id the server does
not respond, the function
Hi !
I used PHP 4.0.3pl1 with gd lib (>1.6) and used the PNG functions.
Everything was ok.
I have changed to PHP 4.0.6 , i installed it with gd support, but now PHP
says that there are no support for PNG files...
In phpinfo(), GD support is well enaled.
I search the mailing lists in the archiv
I think, when they register or log in the first time, ask to the user if
they want you to remember them by placing a cookie..
Don't do it automaticaly ! Most people doesn't like that, and if they are
not on their computer (web bar, or at the office...), they could not like
this...
At 11:43 1
check de readme or install files provided in each one !
At 15:39 14/08/01 +0200, Roman wrote:
>Help me. I have RED HAT Linux 7.0 and I want install Apache web server with
>php and mysql support. How ?
>
>I have : apache_1.3.20.tar.gz
>php-4.0.6.tar.gz
>mysql-3.23.38.tar.gz
Hi !
I ve got a problem with the mail function :
My http server (Apache) is running as user "web" and php is compiled as a
module.
When I send a mail with the mail function and, for example, the recipient
does not exists, the return message is sent to [EMAIL PROTECTED]
I would like the err
I think you think to the GET method :
http://www.mysite.com/script.php?your=mom
At 06:13 08/08/01 -0700, Evan Nemerson wrote:
>I seem to recall that you can call a PHP script with a slash after it then
>variables. For instance http://localhost/script.php/your=mom. I can't find it
>in the manual
Hi !
I think the simplest thing to do is to convert your excel file to a CSV
file (it an ASCII format ).
jean-arthur
At 17:16 28/06/01 +0530, Sharat Hegde wrote:
>Hello,
>
>I have a web site on a Unix environment running PHP 3.0 and MySQL.
>
>I need to convert data in an Excel format to a MyS
Why don't you put directly this line in your cron file ?
i.e :
00 03 * * * lynx -dump http://192.168.254.10/pop3/pop3_stuff2.php3
for daily 3.00 AM
jean-arthur
At 09:28 22/06/01 +0100, AJDIN BRANDIC wrote:
>Hi again,
>
>this is what I have done, as adviced by you guys (thanks)
>
>created a
Hi !
We have a site which send mails to customers regulary.
My problem is that when some mails are returned (bacause addresses are not
available or mailboxes are full etc..)
they are returned to the server administrator and not to the sender of the
message.
When I send a mail, I use the PHP m
if you have two frames, for example :
frame1 : the top frame
frame2 : the bottom frame.
in the bottom frame :
var ref=
in the top frame :
document.write("refferrer is"+parent.frame2.ref)
Well, something like that I guess...
Problem could be the top fr
In addition of all people said, I would add a lock to the file :
>$cf = fopen($counter_file,"w");
flock($cf,LOCK_EX);
>fputs($cf, "$counter_file_line[0]");
>fclose($cf);
This to avoid another script attempt to read the file while you update it...
I had the problem, so sometimes the counter retu
Hi !
don't you think that the problem comes from : window.history.go(0); located
in your populateTown function ?
I guess that Netscape reload you page when you tell "history.go(0)"
jean-arthur
>I have a page with javascript which is dynamic generated by php. That
>page is quite large and run
hello,
you can see with the following syntax :
http://login:[EMAIL PROTECTED]/protecteddir/
So, the user enter the code and passwd from a PHP form,
then you redirect him with this syntax.
But prefer redirection with a javascript, because M$ Explorer seems do not
love this:
Header("Location:
19 matches
Mail list logo