for($i=1;$i=50;$i++)
{
if ((!empty($content) $row[$content] == $states[$i]) || ($dstate ==
$states[$i]))
$selected=SELECTED;
else
$selected=;
printf(option
value=\%s\ %s%s/option, $states[$i], $selected, $nstates[$i]);
}
I always
Try thinking :? :?
Just add a dot.
$filename = ereg_replace([^a-zA-Z0-9.], ,$filename);
=
I have a file that is being uploaded, but I need to remove all the
characters
in the filename except letters, numbers, and the '.' (dot). Example would be
Create a frame set.
if your page opens without frameset the did something wrong, at least not
allowed. (like open in a new window)
If the main page, containing the frameset is loaded, the page is opened in a
new window or they pressed f5(reload).
===
We've considered using javascript
This is a free service for the PHP Community.
Job seekers can search the latest PHP related positions.
Companies can post their Jobs with EASE for FREE!
http://www.phpcareer.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
/
/div
/form
--
Best regards,
Luc
Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.
Doctor to patient: I have good news and bad news - the good news is
that you are not a hypochondriac
the following error:
Parse error: syntax error, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in / on line 14
--
Best regards,
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, unexpected T_ENCAPSED_AND_WHITESPACE,
expecting T_STRING or T_VARIABLE or T_NUM_STRING in / on line 14
So i still don't have a clue what i could have snipped and if i have
everything in the correct order.
--
Best regards,
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
between [ ] with a ' ', so i removed the ' and it worked.
Now i still have 2 problems:
1) the email of the sender is left blank:
Empresa: LUC
Contato: LUC
Fone: 909
Fax: 90°0
Email:
Produto: UIOU
Origem: IUIIO
Destino: IIOP
Quantidade: OIOIOP
Peso: IPOIOP
Comprimento: OIOI
Altura: POIIPO
Largura
;
$notification_subject = Obrigado por sua mensagem
para $websitetitle.;
mail($contato_email, $notification_subject,
$notification_message, From: $youremail);
I have that piece of code but still no go :-)
G banging head on table
--
Best regards,
Luc
=Enviar /
/form
--
Best regards,
Luc
Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.
If you feel Dog tired at night, it may be because you growled all
day!
--
PHP General Mailing List (http
-newbie lol. It works like a charm Daniel.
I'm really, really grateful!!!
--
Best regards,
Luc
_
Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.
The pleasure of love is in loving. We
want to turn off in the first place.
Or consider checking if it's on in your code rather than assuming it's
on.
magic_quotes_gpc is indeed on by default on my hosting server as i
checked their php modules.
--
Best regards,
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
/
input type=submit value=Enviar /
/form
--
Best regards,
Luc
Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.
Experience - the name men give to their mistakes. - Oscar Wilde.
--
PHP General
to understand it
all and plunge into it :-)
--
Best regards,
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, From: $contato_email);
--
Best regards,
Luc
Powered by The Bat! version 3.99.3 with Windows XP (build 2600),
version 5.1 Service Pack 2 and using the best browser: Opera.
From St Paul's second letter to the Corithians: 'Dear Corinthians,
you could have at least
Hello!
My first message:
I've just updated PHP from 5.1.4 to 5.2.5 (to solve an Apache problem when
double-clicking on links). This was successful, as the problem is now
solved, but I now, sometimes, get a message stating that the memory is
exhausted. I modififed php.ini and set memory_limit
Thanks for this clue (ini_set). But I normally don't need this amount of
memory anywhere, as 8M were OK in PHP5.1.4... I just want to understand what
happens.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Thank you. You must be right about the memory_limit not enabled in 5.1.4
Windows binaries. It would be nice, for the Windows binary download, to
provide details on parameters uised to compile it (and on extensions
included: actually, using the installer package is supposed to be simpler,
but it is
$connectionstring on other pages since I make calls like:
$queryexe = odbc_do($connectionstring, $query);
Hope this is not confusing. Also, can I make the persistant connection expire after
there have been no calls to the DB for a certain time?
Many Thanks,
-Luc
sites to find such a script without luck so far...
Thanks in advance for your help,
-Luc
I have 2 files runQuery.php and doSQL.php, where the first one is posting data entered
by the user to the second page and displaying it but the data never arrives. Any idea
why this would not work, maybe some configuration issue?? Any help is really
appreciated...
!--
!-- runQuery.php --
into files?
Thank you very much for help
Pascal Luc
---
Pascal Luc
Client/System Support (Applicationdeveloping)
SSZ
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Jack
You may want to have a look at :
http://cvs.php.net/cvs.php/pear/File
Hope this helps
Luc
At 20:41 18/04/02 +0800, Jack wrote:
Dear all
I had tried to fetch the data from CSV file by using PHP, what i did is
fetch the whole file content!
But now i only want specific data from that CSV
);
}
// Browser
$user_data['navigateur']= getenv(HTTP_USER_AGENT);
// HTTP Refer
$user_data['comefrom'] = getenv(HTTP_REFERER);
return $user_data;
}
Hope this helps
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
reallyr elated (as strange as it sounds)
Does PHP compile : NO
Does the user loading same page for 2nd time gets better response : YES it
can if caching is provided
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
) php pages
are often down (because mySQL problem or PHP problems)
So I'd like to be able to control if a specific url is OK and not only the
hostname.
How can I do that ?
Thanks in advance
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Mike,
Both of your bit of code are not equal.
On my ISP in 4.0.6 isset returned false if the variable was not existing OR
empty
in 4.2 isset returns true if the variable exists but is empty, so you may
want to check with empty instead of isset
Luc
At 12:16 10/05/2002 +0100, Ford, Mike
you must use empty()
Luc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
At 21:57 14/05/2002 +0200, Luc Saint-Elie wrote:
4.1 = isset() returns false if the variable is not set OR if the
variable is empty
typo.. wanted to say :
4.1 isset() returns true if the variable is set ORT if the variable is empty
Luc
--
PHP General Mailing List (http://www.php.net
that?
Thanks,
Pierre-Luc Soucy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Do you know any good equivalent with similar features for Linux?
Thanks,
Pierre-Luc Soucy
PHPEdit i use it personally www.phpedit.net
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
does not
create the output.txt file when ran by the PHP program (which is running
as a CGI under my user BTW) while it works when ran from the shell.
Any idea why?
Thanks!
Pierre-Luc Soucy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Does that mean that there is no way to achieve this with PHP and that I
should rather use the --passphrase-fd argument?
Thanks,
Pierre-Luc
Evan Nemerson wrote:
GnuPG doesn't use stdin to read the password, which is where you're
sending it. It uses a more low-level interface (check out
the passphrase should
normally be read from stdin (according to the docs), but it still does
not work. Any idea? I am unfortunately not familiar with C code, so I
can difficultly find solutions to my problems by reading the GnuPG source.
Thanks!
Pierre-Luc
Evan Nemerson wrote:
GnuPG doesn't use
/.gpgkeys/temp/testtext.asc;
$passphrase = 'MY_PASSPHRASE'.\n;
$fp = popen($command, 'w+');
fputs($fp, $passphrase);
fputs($fp, $passphrase);
pclose($fp);
print Done;
exit;
?
Regards,
Pierre-Luc
Evan Nemerson wrote:
Are you appending a newline to your passphrase?
$passphrase = my gnupg passphrase
Just for the record, adding the --batch argument to the GnuPG command
solved the problem.
Regards,
Pierre-Luc
Pierre-Luc Soucy wrote:
Hi,
I would like to decrypt data encoded with GnuPG without including the
private key passphrase in the command to prevent people from viewing it
with ps
when people use URLs in the include function,
but have no idea why, espcially since allow_url_fopen is on.
Any suggestions?
Thanks,
Pierre-Luc Soucy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to do a SSL handshake
first? How can that be done with PHP?
Thanks a lot!
Pierre-Luc Soucy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
38 matches
Mail list logo