[PHP] Re: Which PHP 5.3 documentation generators have you found?

2010-09-30 Thread Erik L. Arneson
On Wed, 29 Sep 2010, Adam Richardson wrote: > Hi all, > > Anybody know of a documentation generator which plays nicely with PHP > 5.3? I've always been a fan of phpDocumentor. -- Erik Arneson GPG Key ID : 1024D/62DA1D25 BitCoin : 1LqvuGUqJ4ZUSoE7YE9ngETjwp4yZ2

[PHP] Re: SimpleXML/array duality (like particles & waves)

2010-09-29 Thread Erik L. Arneson
> 4x8 photo cards (set of > 20) > > > What does the XML look like if there's only one order item? Maybe you're losing a level of nesting there? -- Erik Arneson GPG Key ID : 1024D/62DA1D25 BitCoin : 1LqvuGUqJ4ZUSoE7YE9ngETjwp4yZ2uSdP Office : +1.

[PHP] Re: Array question

2010-09-27 Thread Erik L. Arneson
pgpSkuPbKbfsy.pgp Description: PGP signature

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
by Outlook (or whatever Microsoft users do their email with these days). You could also look into that. It *might* be easier for your end-users. -- Erik Arneson GPG Key ID : 1024D/62DA1D25 BitCoin : 1LqvuGUqJ4ZUSoE7YE9ngETjwp4yZ2uSdP Office : +1.541.291.9776Skype : callto://pymander

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
rds need to be handed out---they will come up with their own passphrases when they generate their public/private key pairs. -- Erik Arneson GPG Key ID : 1024D/62DA1D25 BitCoin : 1LqvuGUqJ4ZUSoE7YE9ngETjwp4yZ2uSdP Office : +1.541.291.9776Skype : callto://pymander http

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
r, I'd recommend checking out > startssl.org who will give you a free smime certificate. But that is probably just for *signing* the email. If you'd like to encrypt email, you will need a public key or shared secret from the email recipient. -- Erik Arneso

[PHP] PHP on Windows

2008-02-29 Thread Erik SJMN
PHP 5.2.5 installed on Windows Server 2003 with IIS 6 ; Mail-1.1.14 mail pkg with Net_SMTP-1.2.11 pkg --Erik

[PHP] Using next() inside a foreach

2008-01-29 Thread Erik Stackhouse
ree Next: four This: 4 -> four Next: --- output under v5.2.4 and v5.2.5: --- This: 0 -> zero Next: two This: 1 -> one Next: three This: 2 -> two Next: four This: 3 -> three Next: This: 4 -> four Next: --- Regards to All, -Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Wordpress Theme Switcher plugin redirect modification

2007-07-30 Thread Erik Gyepes
ried redirect the page to the URL in that cookie. It worked, but not as intended, there are some situations when it is redirecting in a loop. Any recommendations how to do it properly? Thanks, Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] CURL questions

2007-03-29 Thread Erik Jones
NSFER twice and that my be messing with the curl call. erik jones <[EMAIL PROTECTED]> software developer 615-296-0838 emma(r)

Re: [PHP] Firefox Extension (Firefox 2.x.x.x)

2007-03-28 Thread Erik Jones
editor to bring up the help docs in a mini-browser instead of having to switch to FF while I'm editing. erik jones <[EMAIL PROTECTED]> software developer 615-296-0838 emma(r)

Re: [PHP] PHP Session variable

2007-03-27 Thread Erik Jones
know I am. On the page that generates your webform: Also, changing to using the $_SESSION superglobal array instead of $HTTP_SESSION_VARS will save you a bit of typing. erik jones <[EMAIL PROTECTED]> software developer 615-296-0838 emma(r)

Re: [PHP] Re: SNMP support on compile from source FastCGI

2007-03-26 Thread Erik Jones
g.log to see if PHP found the snmp libs or not. Probably not. Also, when you recompile, make sure you at least 'make clean'. 'make distclean' would be good, too erik jones <[EMAIL PROTECTED]> software developer 615-296-0838 emma(r)

Re: [PHP] Rewriting urls

2007-03-26 Thread Erik Jones
On Mar 26, 2007, at 1:18 PM, Peter Lauri wrote: On Monday 26 March 2007 19:49:48 Erik Jones wrote: Yep, take this to the mod_rewrite forums @ http://www.modrewrite.com/ as this is a php list :) Thanks. This solved it for me: http://forum.modrewrite.com/viewtopic.php?p=10796#10796 /Peter

Re: [PHP] Rewriting urls

2007-03-26 Thread Erik Jones
ction server, but on the development server it don't want to work. I also tried it on a windows machine but it don't want to work there either. Any suggestions/insights? Yep, take this to the mod_rewrite forums @ http://www.modrewrite.com/ as this is a php list :) eri

Re: [PHP] Re: _Construct question

2007-03-22 Thread Erik Jones
On Mar 21, 2007, at 7:14 PM, Chris wrote: Erik Jones wrote: That's not true, running with v. 5.2.1: Outputs: works On Mar 21, 2007, at 8:06 AM, itoctopus wrote: They're basically the same thing, however, you can only use __construct in PHP5. He meant that __construct() doesn

Re: [PHP] Re: _Construct question

2007-03-21 Thread Erik Jones
struct as opposed to using a function with the classname ? Thanks, JC -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erik jones <[EMAIL PROTECTED]> software developer 615-296-0838 emma(r)

Re: [PHP] a php stats package

2007-03-16 Thread Erik Jones
On Mar 16, 2007, at 11:11 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: Sorry web stats, unique hits, referers all that kind of info. R. - Original Message - From: Erik Jones To: Ross Cc: php-general@lists.php.net Sent: Friday, March 16, 2007 4:10 PM Subject: Re: [

Re: [PHP] a php stats package

2007-03-16 Thread Erik Jones
What kind of stats are you looking for? On Mar 16, 2007, at 10:57 AM, Ross wrote: Can someone recommend one please? R. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erik jones <[EMAIL PROTECTED]> software developer 615-296-083

Re: [PHP] php bar/graph scripts/library

2007-03-16 Thread Erik Jones
On Mar 15, 2007, at 10:07 PM, Ron Croonenberg wrote: hello all, I am looking for some scripts/libraries etc to produce some bar graphs etc. Does anyone know of something "nice (that works on Linux) There is a graphing library in PEAR called Image Graph that you could check out.

Re: [PHP] Environment variables...

2007-03-15 Thread Erik Jones
web server, it runs as whomever the web server runs as. If you execute the script from a shell (cli), it runs as whatever user you are logged in as... erik jones <[EMAIL PROTECTED]> sofware developer 615-296-0838 emma(r)

Re: [PHP] Just upgraded to php 5, html emails showing up as text

2007-03-15 Thread Erik Jones
asily. | `' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php erik jones <[EMAIL PROTECTED]> sofware developer 615-296-0838 emma(r)

Re: [PHP] Environment variables...

2007-03-14 Thread Erik Jones
king that variable available in you're web server user's env. On Mar 14, 2007, at 9:52 AM, David BERCOT wrote: Le Wed, 14 Mar 2007 09:42:13 -0500, Erik Jones <[EMAIL PROTECTED]> a écrit : Depending on your system and environment (platform and cli v. cgi), they should be

Re: [PHP] Environment variables...

2007-03-14 Thread Erik Jones
xec ('echo $CONTEXTE_D_EXECUTION',$result); $result is empty !!! I've put the variable in /etc/environment, in /etc/profile, in /etc/bash.bashrc but nothing worked... Do you have any idea ? If it is not possible, I suppose I can put a variable in php.ini ? Thank you very much. David. eri

[PHP] Detailed PHP User SPL documentation?

2007-02-24 Thread Erik Franzén
nice, but for better understanding how to use them I am looking for detailed information how to use them. More comprehensive documentation with examples...? Does it exist? Thanks /Erik -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (MingW32) iQEVAwUBReCDFC7mbizvza/NAQKnkQf/QtYAMGJT6

[PHP] How to work with virtual (seo) URLs?

2006-11-18 Thread Erik Gyepes
Hi folks, my another question is how to work with URLs like below in PHP: http://www.example.com/section/ http://www.example.com/section/subsection/ http://www.example.com/section/subsection/subsubsection/ http://www.example.com/section/subsection/subsubsection/ These URLs works very well w

Re: [PHP] How to check value in multidimensional array

2006-11-18 Thread Erik Gyepes
Oliver Block wrote: Am Samstag, 18. November 2006 19:46 schrieb Erik Gyepes: What exactly do you need to do? You should read the manual too, at I would like to check if the value is really in the array, if it is not then I would like do some other things. (so not check if it is an array

[PHP] How to check value in multidimensional array

2006-11-18 Thread Erik Gyepes
cept contact - there it show error. So what is the correct way to check values in multidimensional arrays? Is it possible with in_array() function? Thanks, Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PDO and PGSQL: ERROR: syntax error at or near "SET"

2006-08-07 Thread Erik Gyepes
and the following PHP code: setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION); $query = "INSERT INTO users SET uid = :uid, login = :login, password = :password"; $stmt = $db->prepare($query); $uid = ""; $login = "erik"; $password = "

Re: [PHP] Array sort question

2006-02-28 Thread Saline Erik
Sometimes I just need a point in the right direction. So RTFM is not so bad. Erik On Feb 28, 2006, at 11:26 AM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED]> wrote: [snip] I love how infinitely helpful people on this mailing list are. It's a wonder people are being

Re: [PHP] PHP and Apache

2006-01-16 Thread Erik Saline
Thanks. I need to hone my google skills. I spent hours looking. Never thought to try the wiki pages. Erik > www.google.com > > or > > http://fedoraproject.org/wiki/ > > But it's in test yet. > > Best regards > Rodolfo Andrade > ----- Original Messag

Re: [PHP] PHP and Apache

2006-01-16 Thread Erik Saline
Where do I find fc5? Erik > On Sun, Jan 15, 2006 at 09:34:40AM -0800, Erik Saline wrote: >> Using Fedora Core 4 using the already Apache and Mysql. I tried using the >> already installed PHP but mysql support was not setup or shown when using >> phpinfo(). >> &

[PHP] PHP and Apache

2006-01-15 Thread Erik Saline
AddType application/x-httpd-php .php # which php at the command line returns /usr/local/bin/php Do I need to add something in the httpd.d to direct it to /usr/local/bin/php instead of the intial defalt where # which php returned /usr/bin/php Erik

[PHP] PHP5 + Mysql5 + Apache 2.0.55

2006-01-14 Thread Erik Gyepes
Hi all. I'm trying to set up mysql 5 with php 5 on my windows machine, but I can't get work it. Also I can't see any loaded extensions with phpinfo(). I have set extensions directory in php.ini, PATH dir in windows, what else I may to do? I used linux a lot of time and now I cant remember how

Re: [PHP] mysqli class not found

2005-12-29 Thread Erik Saline
Thanks I deleted the new. I was following an example in the book for that. Now I get the error: Call to undefined function mysqli_connect() in /var/www/cgi-bin/db_connect.php on line 4, I added extenstion=mysqli.so to my php.ini Erik - Original Message - From: "PHP Sup

[PHP] mysqli class not found

2005-12-28 Thread Erik Saline
- Original Message - From: Erik Saline To: php-general@lists.php.net Sent: Wednesday, December 28, 2005 1:08 PM I installed Apache, PHP, and Mysql during the Fedora Core 4 installation. PHP 5.0.4 MYSQL 4.1.14 I used php -i to show that mysql and mysqli were installed. Configure

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
Woohoo! I got it to work. Thanks everyone! This is exactly what I needed: making multiple-page files in one file. It saves me the hassle of trying to know what file is what, and where. Instead.. one big file! On 12/18/05, Łukasz Hejnak <[EMAIL PROTECTED]> wrote: > > Erik Johns

Fwd: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
;ve tested it and it works fine. I think I just need someone to make sure my PHP.ini file is normal.. hence the reason I made the phpinfo() file to give much of the information that may help. If anyone needs it (e-mail a yes/no), and I'll send it as an attachment. Thanks, Erik Johnson (I th

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
will thus be displayed. Which means that you'd have an > > error which would always display... > > > > oh well, ignore my rant and first make sure to follow the suggestions > > provided by others > > > > - tul > > Wolf wrote: &g

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
I still can't seem to get it to work. If you want to see my phpinfo(), then go to http://lom.game-host.org/uploads/erik/info.php . I'll keep trying, and hope for the best! It may be my php.ini file, but I have no clue.

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
es, please just upload it to ftp://lom.game-host.org/ . Thanks again, Erik Johnson

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
I was wondering.. how exactly does the isset function work? I saw that Robert Cummings wrote: $page = isset( $_GET['page'] ) ? $_GET['page'] : null; What exactly does that mean?

Re: [PHP] Someone please help me with this PHP script.

2005-12-18 Thread Erik Johnson
Well. Here's an example of the page -- http://lom.game-host.org/uploads/erik/ It is just loading the second page, no matter what. I haven't added the isset thing yet, but I'll try it. BTW: I'm only 14, so I have yet to use an older version, and upgrade to a newer PHP. ;-) T

[PHP] Someone please help me with this PHP script.

2005-12-17 Thread Erik Johnson
I do not know why this isn't working, but it would be very helpful if someone looked over it. http://lom.game-host.org/uploads/erik/";; If($page == NULL) { $page = "one"; } if($page == "one") { Echo "Page OneIt works!!Nice..."; } elseif($page ==

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Erik Franzén
I totally missed that explanation on w3c. Thanxs, now it works /Erik Rob wrote: Erik Franzén wrote: I did a typo in the threads post. The dtd is: but it gives the warning when DomDocument::validate() is called: Warning: Syntax of value for attribute S_iSectionId of

[PHP] Re: DomDocument::GetElementById - a workaround with external DTD

2005-11-19 Thread Erik Franzén
I did a typo in the threads post. The dtd is: but it gives the warning when DomDocument::validate() is called: Warning: Syntax of value for attribute S_iSectionId of CMAES_Model_DbSection is not valid in

[PHP] Sorry, I copied the wrong the DTD in the code:

2005-11-18 Thread Erik Franzén
Sorry, I copied the wrong DTD into the post. The DTD is the following: Here is the code example and result again: $oDomDtd = $oDomImp->createDocumentType('Document', '', 'D:/CMAES/Src/dbtree.dtd'); // Creates a DOMDocument instance $oDom = $oDomImp->createDocument("", "Document", $oDomDt

[PHP] DomDocument::GetElementById - a workaround with external DTD

2005-11-18 Thread Erik Franzén
Have tried the following code: $oDomDtd = $oDomImp->createDocumentType('Document', '', 'D:/CMAES/Src/dbtree.dtd'); // Creates a DOMDocument instance $oDom = $oDomImp->createDocument("", "Document", $oDomDtd); // Set other properties $oDom->encoding = 'iso-8859-1'; $oElement = $oDom->createEl

[PHP] Re: How to build a XML DTD on "the fly"?

2005-11-18 Thread Erik Franzén
/GetElementById_Pitfalls have some information about my issue, but I have not found the path to go yet. I am using php5.05 on Win32. /Erik Rob wrote: Jared Williams wrote: There is no real standard for creating DTDs on the fly, and therefore libxml/DOM doesn't have any methods afaik. Th

[PHP] Re: How to build a XML DTD on "the fly"?

2005-11-18 Thread Erik Franzén
apparently, that is not the case. /Erik James Benson wrote: Learn DTD and how it works first then you will know :-) A DTD is contained in an external file and not in XML, so you would create a DTD file then link it from the XML like so, Erik Franzén wrote: The code below lacks the part

[PHP] How to build a XML DTD on "the fly"?

2005-11-16 Thread Erik Franzén
gt;appendChild($oElement); // Retrieve and print the document echo $oDom->saveXML() . "\n"; echo "TagName: " . $oDom->getElementById('123')->tagName; ?> Now the code produces the following result: test TagName: Thanks /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Easiest way to user DomDocument->getElementById()?

2005-11-14 Thread Erik Franzén
I have run into this behavior on several sites: $dom->validate('books.dtd'); But according to the docs, the method it is defined class DOMDocument { bool validate ( void ) } Is the dtd (file?) parameter deprecated? /Erik Just tested, $dom->validate('books.dtd&#x

[PHP] Re: Easiest way to user DomDocument->getElementById()?

2005-11-14 Thread Erik Franzén
I have run into this behavior on several sites: $dom->validate('books.dtd'); But according to the docs, the method it is defined class DOMDocument { bool validate ( void ) } Is the dtd (file?) parameter deprecated? /Erik -- PHP General Mailing List (http://www.php.net/) T

[PHP] Easiest way to user DomDocument->getElementById()?

2005-11-14 Thread Erik Franzén
Document->validate() or DOMDocument->validateOnParse before using this function." I cannot use a schema in ordet to "activate" DomDocument->getElementById()? /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] domit and XML

2005-10-03 Thread Erik Barba
hi im new in the list i dont know where to write the email so i did it here, i am having a problem I have a xml file and im parsing with domit 1.0 but im from mexico, and we use " é í ó ú á ñ " the xml acept it but when the php show the code in html, i cant see the letters

[PHP] Re: RecursiveIteratorIterator för PHP 5.0 .5 Win32

2005-10-01 Thread Erik Franzén
ren() { return new RecursiveArrayIterator($this->current()); } } ?> Thanxs /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RecursiveIteratorIterator för PHP 5.0.5 Win32

2005-10-01 Thread Erik Franzén
support the RecursiveIteratorIterator Interface? Thanxs /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] LAN IP address

2005-08-29 Thread Erik Gyepes
Okay. There I have script for you: http://pokusy.depi.sk/internalip.zip. Just download it and see the source. You can see how it works here: http://pokusy.depi.sk/inernalip/ip.php. Hope that helps you. Erik Philippe Reynolds wrote: Yes, I would hard code my IP address but when the computer

Re: [PHP] LAN IP address

2005-08-29 Thread Erik Gyepes
Hi. I think you want to get the internal IP adress which computer uses? Am I right? If yes, that is not possible with PHP directly, but it is possible with Java and PHP. Erik Philippe Reynolds wrote: Hi all, I would like to find a way to get my computers LAN IP address through PHP. I

[PHP] ftp_nlist dont work for me :(

2005-08-29 Thread Erik Gyepes
dont get work it at home at my machine. May I enable something in PHP? Some settings, or what? Thanks very much. Erik Gyepes -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
to be good CMS too, see the: http://nucleuscms.org/. Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for CMS advice

2005-08-22 Thread Erik Gyepes
to be good CMS too, see the: http://nucleuscms.org/. Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help a Norwegian student!

2005-07-03 Thread Bjørn-Erik Dale
When I'm trying to open phpMyAdmin/index.php on my Apache server I get this text: "kan ikke starte mysqli tillegget, vennligst kontroller PHP-konfigurasjonen" witch is Norwegian for "can not start the myswli extension, please check the PHP-configuration" A link follows to: http://localhost/phpMyAdm

[PHP] Re: interface problem in PHP5

2004-09-04 Thread Erik Franzén
ling example unsetting a will only kill a, b and c will still be "alive". setting a to null will kill c but not b /Erik Torsten Roehr wrote: "Erik franzén" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Can anuyone describe this error? Compile Error: E:\Source

[PHP] interface problem in PHP5

2004-09-04 Thread Erik Franzén
Can anuyone describe this error? Compile Error: E:\Source\CMAES\src\include\dom.inc.php line 67 - Declaration of CMAES_DOM_Node_List::item() must be compatible with that of CMAES_DOM_Node_List_Interface::item() // {{{ interface CMAES_DOM_Node_List /** * * @access public */ interface CMAES_DO

[PHP] Determine if a property in a class is public, protected or private in PHP 5?

2004-08-25 Thread Erik Franzén
Is it possible to determine if a property inside a object is public, protected or private in PHP 5? /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] summarized results w/function

2004-08-25 Thread Erik Meyer
] Sent: Wednesday, August 25, 2004 2:42 PM To: Erik Meyer; Php-General Subject: Re: [PHP] summarized results w/function From: "Erik Meyer" <[EMAIL PROTECTED]> > Here is function > > function shorten_news_results ($input_text, $ending_text) { > $news_strip=s

RE: [PHP] summarized results w/function

2004-08-25 Thread Erik Meyer
news_split); echo "$news_story"; } Sorry about that.. -Original Message- From: Erik Meyer [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 25, 2004 1:29 PM To: Php-General Subject: [PHP] summarized results I have a function loosely based on the fol

[PHP] summarized results

2004-08-25 Thread Erik Meyer
e wrong way this is my baby step at php) If anybody has a better way I would appreciate it, Thank you, Erik Meyer -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: destroying objects in an array in PHP5

2004-07-27 Thread Erik Franzén
Thanxs for the help Curt!! Thats a tricky solution, but it works... This is almost motivating a new method in PHP5: $foo->__destroy() which will destroy the object once and for all... :) /Erik Curt Zirzow wrote: * Thus wrote Erik Franzn: $oObjectB[$i] = &$oObjectA[$i]; The above stateme

Re: [PHP] Re: destroying objects in an array in PHP5

2004-07-27 Thread Erik Franzén
$oObjectB[$i] = &$oObjectA[$i]; The above statement does not matter, because in PHP5 "objects are referenced by handle, and not by value". Look at this example: $a = new foo(); $b = $a; unset($a); var_dump($b); >? This will output: object(foo)#1 (0) { } The object is not destroyed!? How do I destr

[PHP] Re: destroying objects in an array in PHP5

2004-07-27 Thread Erik Franzén
I am correcting myself... $oObjectA = array(); $oObjectB = array(); for($i=0;$i<2;$i++) { $oObjectA[$i] = new foo(); $oObjectB[$i] = $oObjectA[$i]; } unset($oObjectA[1]); var_dump($oObjectA); var_dump($oObjectB); ?> will output: array(1) { [0]=> object(foo)#1 (0) { } } array(2) { [0]

[PHP] destroying objects in an array in PHP5

2004-07-27 Thread Erik Franzén
See the following example: How do I remove an element in the oObjectA array without destroying the object? I do not want to clone any object. If I call unset($oObjectA[3]), the object will also be destroyed. apparently $oObjectB[3] is also destroyed? /Erik -- PHP General Mailing List (http

[PHP] What is the PHP5 eqvivalent to domxml_open_mem in PHP4?

2004-07-26 Thread Erik Franzén
The docs for PHP5 and dom xml is not written yet, so I tried to find information about load and save methods on the w3c site, but I didn't find anything. What's is the PHP5 eqvivalent to domxml_open_mem in PHP4? /Erik -- PHP General Mailing List (http://www.php.net/) To unsubscribe, v

[PHP] Re: MySql Close problem

2004-06-22 Thread Erik Gjertsen
rror message if ther is one if (isset($message)) { echo '', $message, ''; ) ?> Enter your information in the form below: Name Email Adress User Name Password Confirm Password but it dont work. If I take away al after mysql close to form_ac

[PHP] MySql Close problem

2004-06-20 Thread Erik Gjertsen
I have problem with mysql_close I dont understand why. Are ther someone that have any proposal? Thank for any help Erik Gjertsen Here is the code $query = "SELECT usrid FROM users WHERE username"; $result = @mysql_query ($query); //Run the query if (mysql_num_rows($result) == 0)

[PHP] PHP Only directory

2004-05-25 Thread Erik Meyer
Red Hat Linux 9. Erik W. Meyer Technical Support Engineer Ebase www.ebaseweb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] page_title

2004-05-08 Thread Erik Gjertsen
Thanks it help Erik Gjertsen "Kim Steinhaug" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Is it me or is the sollution here incredible simple? > > $page_title = "Welcome"; >

Re: [PHP] page_title

2004-05-07 Thread Erik Gjertsen
ot;Bao Ruixian" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > Erik Gjertsen wrote: > > >I have write following code: > > >$page_title = "Welcome"; > >?> > > > >But I can not see Welcome on top of the page. > >

[PHP] page_title

2004-05-07 Thread Erik Gjertsen
I have write following code: But I can not see Welcome on top of the page. Can someone tell me why I not can see it? Thanks Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Login page

2004-05-07 Thread Erik Gjertsen
Thanks it help Erik Gjertsena "Petr U." <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 6 May 2004 03:42:48 -0700 > "Erik Gjertsen" <[EMAIL PROTECTED]> wrote: > > > I have made a login page but I got an error on line 1.

[PHP] Re: Login page

2004-05-06 Thread Erik Gjertsen
I forgot the error messages: Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home2/erik/gjertsen-www/Skole22/Loggin/login.php on line 28 Warning: mysql_real_escape_string() expects parameter 2 to be resource, null given in /home2/erik/gjertsen-www/Skole22

[PHP] Login page

2004-05-06 Thread Erik Gjertsen
conection. } else { $message = 'Please try again.'; } } // End of themail submitconditional. //Print the error message if ther is one if (isset($message)) { echo '', $message, ''; } ?> Enter your information in the form below: User Name: Password: Thanks Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Reristration form

2004-04-23 Thread Erik Gjertsen
Thanks it helps Erik Gjertsen "Erik Gjertsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I shall made a registration schema to user log on. But when I fill in > everything I still com up messages that you must go back and try again. > Or can someone h

[PHP] Reristration form

2004-04-23 Thread Erik Gjertsen
amp; $email && $username && $password) { // if everyting's okay. //Register the user. echo 'you are now register.'; } else { //Something is not TRUE. echo 'Please go back and try again.'; } } else {// Display the form } ?> Thanks for any help Erik Gjertsen -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
Thanks for help Red. Cut and past is not always wok But I have a new problem in the last line. I don't understand why it's problem here Thanks Erik Gjertsen http://www.w3.org/TR/html4/loose.dtd";> http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en"&g

[PHP] Re: Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
Thanks for help Red. Cut and past is not always work But I got a new problem in the last line. I don't understand watt the problem is here Thanks Erik Gjertsen "Erik Gjertsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I try to made a administrator

[PHP] Password

2004-04-07 Thread Erik Gjertsen
&& $email && $username && $password) { // if everyting's okayOK. //Register the user. echo 'you are now register.' } else { //Something is not TRUE. echo 'Please go back and try again.' } else { ?> Enter your information in the form b

[PHP] Administrator page and password problem

2004-04-07 Thread Erik Gjertsen
&& $email && $username && $password) { // if everyting's okayOK. //Register the user. echo 'you are now register.' } else { //Something is not TRUE. echo 'Please go back and try again.' } else { ?> Enter your information in the form b

RE: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread Erik Osterman
Didn't know that it's RFC 1521 specific header and not valid in HTTP. =) Thanks, Erik Osterman http://osterman.com/ -Original Message- From: Chris Shiflett [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:21 AM To: Erik Osterman; [EMAIL PROTECTED]; [EMAIL

RE: [PHP] Passing header info for use in downloading files...?

2003-11-11 Thread Erik Osterman
case 'pdf': $mimeinfo = "application/pdf"; break; case 'doc': $mimeinfo = "application/msword"; break; default:$mimeinfo = "application/octet-stream"; } Regards, Erik Osterman http://osterman.com/ -Original Message

RE: [PHP] Downloading MySQL Files

2003-11-10 Thread Erik Osterman
contains the raw binary form of the file you wish to send. Regards, Erik Osterman http://osterman.com/ -Original Message- From: Stephen Craton [mailto:[EMAIL PROTECTED] Sent: Monday, November 10, 2003 5:07 PM To: PHP List Subject: [PHP] Downloading MySQL Files I have a database which

RE: [PHP] Array --> If

2003-11-07 Thread Erik Osterman
Sounds like what you want is the "in_array" function. http://us4.php.net/manual/en/function.in-array.php $cases = array( 5, 15, 30, 60, 90, 120 ); if ( in_array($count, $cases) ) { EXECUTE PAGE } Regards, Erik Osterman http://osterman.com/ -Original Message- F

RE: [PHP] advise on new class of mine

2003-11-07 Thread Erik Osterman
remature optimization is the root of all evil" Best Regards, Erik Osterman http://osterman.com/ -Original Message- From: jsWalter [mailto:[EMAIL PROTECTED] Sent: Sunday, September 21, 2003 4:12 PM To: [EMAIL PROTECTED] Subject: [PHP] advise on new class of mine I'm in the pro

RE: [PHP] Adding a log file

2003-11-07 Thread Erik Osterman
code) in $file on line $line '$code'"); print ""; } // Set up the callback assert_options (ASSERT_CALLBACK, 'assert_callback'); Regards, Erik Osterman http://osterman.com/ -Original Message- From: Robert Sossomon [mailto:[EMAIL PROTECTED]

RE: [PHP] *SOLVED* [PHP] problem transferring a variable using POST

2003-11-07 Thread Erik Osterman
"[$query]"; return mysql_query($query); } Usage: $result = Query("INSERT INTO foo (var1, var2) VALUES( ?, ? )", $_POST[var1], $_POST[var2]); Regards, Erik Osterman http://osterman.com/ -Original Message- From: Davy Campano [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] (Semi OT) Number of concurent Users.

2003-11-07 Thread Erik Osterman
ould be not less than the number of concurrent connections on the machine. Well, that's that... Hope your PHP code is well written. :) Erik Osterman http://osterman.com/ -Original Message- From: Boaz Yahav [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 28, 2003 12:55 PM To: [EMAIL PR

RE: [PHP] Multiple attachments in an email

2003-11-07 Thread Erik Osterman
http://www.php.net/mail includes an example of sending emails with multiple attachments. For a more structured approach, try using Mail_Message @ http://opensource.visionp.biz/Mail_Message.120.0.html Regards, Erik Osterman http://osterman.com/ alex at bartl dot net 28-Nov-2002 09:25

Re: [PHP] Sessions can be dangerous

2003-05-31 Thread Erik S. LaBianca - Quonic
ation on the server is a good thing. Why pollute your html with hidden fields, or mangle the heck out of your urls. I DO believe that maintaining state is a necessity when attempting to write "Applications" on the web, instead of just "web pages". --erik Wim Paulussen wrote: Ge

Re: [PHP] Using PHP to get a word count of a MSword doc

2003-03-19 Thread Erik Price
Brad Wright wrote: Erik, thanks, are you able to pint me to some good reference sources on tokenizer's... i have never come across them before I have been scouring the web, and am coming up a decided blank. :) The only tokenizers I have used are the StringTokenizer and StreamTokenizer cl

  1   2   3   4   5   6   7   8   9   >