Re: [PHP] POST and trouble.

2001-10-23 Thread Alex Marín Fica \(Desarrollo\)

Try using urlencode function to make it usable on url, so char symbols
like  or / or . (dot) will be returned by this funtion like a % with the
hex ascii code near by...
I hope this helps...

- en español... transandino compañero phpero

Intenta codificando para url, empleando la función urlencode, tal que
símbolos no apropiados para la URL serán presentados como % y el código
hexadecimal.

Espero que esto ayude...

- Original Message -
From: German Pablo Gentile [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, October 23, 2001 5:41 PM
Subject: [PHP] POST and  trouble.


 I´m using post to send a variable between pages.
 I have a variable value like that 'JeffCompany', so i have in the
 header :
 loginok.php?client_id=14client_name=JeffCompany

 Loginok page take the value at client_name as Jeff. Truncate the real
 value.

 How in can fix that?

 Thanks in advance.

 Germán Pablo Gentile
 IT Manager
 Horizonte Soluciones de IT
 www.horizonteit.com.ar
 [EMAIL PROTECTED]


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] help again

2001-08-31 Thread Alex Marín Fica \(Desarrollo\)

echo sends a literal string to the output and eventually evaluates variables
that are found inside, so it seems that your instruction should be:

echo h1{$beer}'s taste is great/h1;

Why it worked with h1 outside, I guess because it was closing some former
tag in your code or something like that...

Hope this helps (this sentence should be a tag!)
Regards,
Alex.

- Original Message -
From: Nikola Veber [EMAIL PROTECTED]
To: php forum [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 12:38 PM
Subject: [PHP] help again


 I am having big troubles here. I wrote this code just as it said in the
manual, and
 it prints
 {$beer}'s taste is great;?

 html
 head
 titlePHP Test/title
 /head
 body
 ?php
 $beer = 'Heineken';
 echo h1{$beer}'s taste is great/h1;
 ?
 /body
 /html

 and if I don't put  string into h1 it prints nothing !

 I'm kind of confused right now ...

 (win98, opera 5.12, php installed with installShield)


 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]