[PHP] Re: Having problems with an IF statement, just doesn't make sense
I've tried...print nothing in my browser then it seems to me correct. The condition "ELSE" is satisfied. bye. codeused: if (isset($theme)) { print("Current theme is $theme"); require "content/header_$theme.php"; } else { print("$theme"); require "content/header.php"; } codeused. "Bobb" <[EMAIL PROTECTED]> ha scritto nel messaggio news:[EMAIL PROTECTED] > I am using the following if statement ... > > if (isset($theme)) { > print("Current theme is $theme"); > require "content/header_$theme.php"; > } else { > print("$theme"); > require "content/header.php"; > } > > now one would think that if it didn't return true that the else > statement wouldn't print anything for $theme ... but it does. Also if I > use !isset it returns true with a null value for $theme ... This doesn't > make sense to me ... maybee I am doing something wrong, if I am someone > please correct me heh. > > -- > /* BoBB > * AIM: Jodokast49 ICQ: 151495596 > * Jabber: [EMAIL PROTECTED] > * http://knightsofchaos.com/~BoBB/new/ > * I geek, therefor I am. > */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Richiedo contributo per sapere come interfacciare php con un server di posta., nel mio caso un server di posta in arrivo(POP).
Salve spero di aver chiarito nell'oggetto del messaggio il problema. Se così non fosse per rendere l'idea : ho un server di posta in arrivo a cui vorrei accedere(avendo le dovute autorizzazioni chiaramente) tramite php e sul quale vorrei poter leggere i messaggi presenti. Nel mio caso mi aspetto dei messaggi contenenti file xml ma questo è un altro discorso. Posso fare il parsing dei file una volta che sono riuscita a capire come interfacciare con il server e con una casella di posta elettronica in particolare ovviamente. Se dico baggianate perdonatemi perchè è da poco che ci lavoro. Grazie ! E tanti SALUTI Vale. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Un aiutino porfavor.
Nella versione che uso php 4.3.1 non sono attive le funzioni di mailparse. Come da manuale infatti sono funzionanti sulla 4.1.0 e 4.1.2. Sul sito vedo il riferimento a PECL. Io chiedo a qualcuno cosa è PECL E soprattutto con i file del package che si suggerisce di scaricare cosa ci fò ? Il package è mailparse-0.9.2.tgz disponibile alla pagina http://pear.php.net/package-info.php?package=mailparse. Leggerò read me ma adesso non ho pazienza lo farò domani. Se qualcuno mi dà un suggerimento I will be VERY HAPPY. Grazie. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Mailparse functions. How in the 4.3.1 php version ?
Hello to everybody. Somebody can tell me how , in the new version of php, were substitued the mailparsing functions ? I use, actually, the 4.3.1. The php manual tells me that the mailparsing functions run only in the 4.1.0. or 4.1.2 version of php. On the web sito there is a refer to PECL. What's PECL ? I wait for a suggest Thank You. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] How to load external modules ?
I need to use some libraries that I've registered on my system register. I've verified if the same libraries could be seen from vb e vb script. Everything is ok. Do you know some method for use this libraries into php. My php version is 4.3.1. I've used : $word = new com ("word.application"); but the same method with my module it's not right. I'm using "com_load_typelib" function. butIi can't, I 've an error from php. I've seen exists the com_load function too. But it's not right. Thank you. Regards Valentina. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php