[PHP] Testing

2013-03-08 Thread Dustin L
This is my first time using a list. Can anyone confirm I'm doing this correctly? Thanks, Dustin L.

Re: [PHP] New to mac and trying to define a php.ini file.

2012-01-04 Thread L M Andrews
inal versions that might have come with OSX. There's a free version and a paid pro version here: <http://.mamp.info> Hope this helps, L -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re: [PHP] Sniping on the List

2011-11-18 Thread Fredric L. Rice
rc> Thus before the big bang is perfectly rc> valid whether we could perceive it or not. ts> Not really. It's as meaningless as asking ts> what's north of the North Pole. That's an interesting point. If you stand at the North Pole where all lines of reference converge, there is still Galactic Nort

Re: [PHP] Sniping on the List

2011-11-18 Thread Fredric L. Rice
rc> However, what is valid is to take a point of rc> reference in time and infer a period before rc> it. Thus before the big bang is perfectly valid rc> whether we could perceive it or not. It's a question of asking what existed before anything existed, though. The answer is not even "nothing" sin

Re: [PHP] Sniping on the List

2011-11-18 Thread Fredric L. Rice
>> It's another nail in the coffin of deity constructors. > Not even slightly. Totally since deity constructors only started to exist after the second generation of stars formed since the advent of hadronic life. > But none of this has anything even vaguely related to PHP. Sure it does, the orig

Re: [PHP] Sniping on the List

2011-11-17 Thread Fredric L. Rice
>> Consider this -- do you think the second before >> the "Big Bang" was negative or null? > I don't know. There's no point concerning ourselves > with unanswerable questions. The question itself is a logical absurdity since there was no time prior to the Big Bang. The advent of time began when th

RE: [PHP] Sniping on the List

2011-11-17 Thread Fredric L. Rice
> What if we were to throw in quantum duality in here? > Null and !Null at the same time Please no, our company is trying to outsource to India and they're constantly trying to shove things through narrow slits and the effect has been costly. -- PHP General Mailing List (http://www.php.net/) T

Re: [PHP] Sniping on the List

2011-11-14 Thread Fredric L. Rice
> If you are the world's best coder That would be me. :) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Security: Best Practices

2011-08-08 Thread Fredric L. Rice
> I am currently researching security best > practices/methods. Can anyone offer > any current resources/recommendations? That is a huge arena and the question can not be answered very well without describing what you are needing to protect. Security in debth depends upon what you are protecting a

[PHP] Cwtc

2011-06-14 Thread scarabs-l
Dear user php-general@lists.php.net, Your account has been used to send a huge amount of junk e-mail messages during this week. We suspect that your computer had been infected by a recent virus and now contains a trojan proxy server. We recommend that you follow our instructions in order to kee

[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 : 1LqvuGUqJ4ZUSoE7YE9ngETjwp4yZ2uSdP Office : +1.541.291.

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

2010-09-29 Thread Erik L. Arneson
On Tue, 28 Sep 2010, Brian Dunning wrote: > I am kind of jacked here. I have a SimpleXML object that's been > converted to an array. In one of the nodes, for no reason I can see, > the array is populated differently if there is only one > than if there are multiple s. > > [...] > > In case it matt

[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
On Tue, 21 Sep 2010, Floyd Resler wrote: > I used OpenSSL to generate the P12 file (I haven't actually sent this > to anyone since I'm still testing). So, I assumed that it was okay > for distribution. Perhaps not. At any rate, I like the idea of the > OpenPGP better. I'll see how to do that.

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
On Tue, 21 Sep 2010, Floyd Resler wrote: > I got it all figured out. The part I was missing was combining the > certificate with the key and giving it to the end-user to install on > their system. I was able to use the Web server's certificate for the > encryption. The interesting thing is that

[PHP] Re: Sending Encrypted Email

2010-09-21 Thread Erik L. Arneson
On Thu, 16 Sep 2010, Nathan Rixham wrote: > Floyd Resler wrote: >> I need to send encrypted email. Can I use our server's signed certificate we >> use for Apache? > > Yes you can use the servers certificate, you can use any x509 > certificate you like - however, I'd recommend checking out > starts

Re: [PHP] Signing (hand-written signature) pdf document

2010-07-25 Thread Aurimas L
Hello, have You found a solution for handwriten signature on the document? I am also looking for such solution for one PHP application. :) By the way, the signature must be created on mobile touchscreen as application is for smart phones. Thank You, Aurimas Ashley Sheridan-3 wrote: > > On Tu

Re: [PHP] PHP User

2010-02-06 Thread T L
Hello, Depends on what you're looking to do. For intermediate PHP I like PHP Object-Oriented Solutions by David Powers (friends of ED) The focus is on PHP 5...not sure if anyone outside of shared hosting uses PHP 4, but worth a mention. Regarding PHP In Action, This might just be me personally

[PHP] ReflectionMethod::invokeArgs

2009-04-23 Thread K. L.
Hi! Please, tell me what's ReflectionMethod::invokeArgs first param for? Since method always know it's class and it can only be invoked on it's own class. Regards, K.L. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread L. Herbert
developer who frequents this list may have some experience in this regard and offer some helpful insight. You obviously feel my question is out of place... I apologize for any discomfort this may have caused you. On Jan 7, 2009, at 5:19 AM, Stuart wrote: 2009/1/7 L. Herbert : Let me

Re: [PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-07 Thread L. Herbert
: 2009/1/7 L. Herbert : Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos

[PHP] Request A Collection of YouTube Videos From Multiple User Accounts using YouTube API

2009-01-06 Thread L. Herbert
Greetings all, Does anyone know if it is possible to get a collection of YouTube videos from multiple user accounts? If so, can you provide some insight and direction? Someone more knowledgeable than me on this topic indicated that it is only possible get a collection of YouTube videos o

Re: [PHP] IE Problem Detecting Post Variables

2009-01-02 Thread L. Herbert
I stand corrected. On Jan 1, 2009, at 9:46 AM, Nisse Engström wrote: On Thu, 1 Jan 2009 03:17:01 -0500, "L. Herbert" wrote: On Dec 31, 2008, at 11:07 PM, Lupus Michaelis wrote: MSIE pushes input_name.x and input_name.y to the server, when the input is an image. Thanks! I see

Re: [PHP] IE Problem Detecting Post Variables

2009-01-02 Thread L. Herbert
n. On Jan 1, 2009, at 11:25 AM, Phpster wrote: What about using the onclick to set a js variable to be sent to the server? That should be more cross server compliant. Bastien Sent from my iPod On Dec 31, 2008, at 8:37 PM, "L. Herbert" wrote: Bastien, Thanks for your response

Re: [PHP] IE Problem Detecting Post Variables

2009-01-01 Thread L. Herbert
Jim, This is functionally "correct" since I swapped the default and alternate themes but left the button names the same. On Jan 1, 2009, at 12:55 AM, Jim Lucas wrote: L. Herbert wrote: I agree with your supposition. The problem is that the variable is passed in one instance w

Re: [PHP] IE Problem Detecting Post Variables

2009-01-01 Thread L. Herbert
Thanks! I see the issue clearly now. Oh well, time to modify my code to compensate for IE's non-standard behavior... On Dec 31, 2008, at 11:07 PM, Lupus Michaelis wrote: L. Herbert a écrit : Each input is a "submit" button. MSIE pushes input_name.x and input_name.y to t

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread L. Herbert
Each input is a "submit" button. On Dec 31, 2008, at 8:57 PM, Micah Gersten wrote: L. Herbert wrote: The problem is that the variable is passed in one instance with FF and not with IE. Thus my quandary. Here's the form html: Flip It! Any

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread L. Herbert
Any thoughts? On Dec 31, 2008, at 11:27 AM, c...@l-i-e.com wrote: Whatever is SENDING the request data is broken, almost for sure. PHP doesn't *do* much to the HTTP Request data except urldecode it for you. There's not much that can go wrong there. If your theme sw

Re: [PHP] IE Problem Detecting Post Variables

2008-12-31 Thread L. Herbert
:02 AM, Phpster wrote: Try checking to see if the value was passed with var_dump($_REQUEST) Also try (!empty($_REQUEST['style'])) Bastien Sent from my iPod On Dec 31, 2008, at 10:24 AM, "L. Herbert" wrote: Hello all, Anyone have insight to share on the following iss

[PHP] IE Problem Detecting Post Variables

2008-12-31 Thread L. Herbert
Hello all, Anyone have insight to share on the following issue: I have a simple theme switcher script that functions as expected in FF, Safari, etc. but does not work in IE 6 or 7. It appears that the posted form variables are not detected in IE. I am using the following check within th

Re: [PHP] Freelance PHP development in India

2008-07-14 Thread Denis L. Menezes
Dear Ryan, Wolf. Apologies for asking from India only. No offence meant. It is because I am from India and I can personally meet and discuss with the programmers. Cost is also an issue. Mine is a startup and the finances are low. :-( Apologies. Denis - Original Message - From: "Ry

[PHP] Freelance PHP development in India

2008-07-13 Thread Denis L. Menezes
Dear friends. I am looking for freelance web developers in India. Can contact me? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Regex to catch s (weird result)

2008-05-07 Thread Jon L.
ches 'p' and/or 'P') s = treat as single line - Jon L. On Wed, May 7, 2008 at 1:51 PM, Ryan S <[EMAIL PROTECTED]> wrote: > > > http://www.ezee.se/tests/para_regex2.php.txt > > Yep, sorry... Just add the s > > preg_match_all('|]*>(.*)|Uis&#

Re: [PHP] the Y2K38 BUG

2008-05-06 Thread Jon L.
Another possibility... Port the Date object implementation from ECMA/Javascript. It has a range of +/-8.64e15, or Tue, 20 Apr -271821 00:00:00 GMT to Sat, 13 Sep 275760 00:00:00 GMT. You know...just to have a little extra time to find something else. ;) - Jon L. On Wed, May 7, 2008 at 12:56 AM

[PHP] GD - JPEG to PNG with transparency and color

2008-05-06 Thread Travis L. Font
he correct colors as the original 14416fed5d4f78.jpg. I figure that I'm missing some small elements to the process of creating the png... Anyone have any ideas, pointers, advice, or correct solution to make this possible? Sincerely, Travis L. Font Interactive Developer BSN 5901 Broken S

Re: [PHP] web based chat app

2008-05-04 Thread Jon L.
probably need to be split up, since questions about using Jabber in PHP generally belong on their JDev list. - Jon L. On Sun, May 4, 2008 at 12:46 PM, Richard Heyes <[EMAIL PROTECTED]> wrote: > well, good example. but, it is not very convenient. i saw the code, it > > used >

Re: [PHP] Any Running Simple Ajax Sample for Php

2008-05-02 Thread Jon L.
tion () { $('credits').update('Could not determine credits.').setStyle({background: '#f00'}); } }); } document.observe('dom:loaded', function () { var pe = new PeriodicalExecuter(creditsCheck, 60); creditsCheck(pe); // fir

[PHP] Re: Returned mail: see transcript for details

2008-03-22 Thread L-Soft list server at AudetteMedia (1.8d)
> JOIN I-WINSOFT Sorry, the I-WINSOFT list is closed. Contact the list owner ([EMAIL PROTECTED]) for more information. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Generating Random Numbers with Normal Distribution

2007-12-18 Thread Travis L. Font
Here's random! I'm going to close my eyes think of some drinking water and running AT the same time and just start pushing numbers on the pad however way my fingers desire while not thinking about it! Here: 7914718845748671454531587148354531452141857 Good enough? -Travis

[PHP] counting hyperlink clicks in php

2007-02-17 Thread Denis L. Menezes
Dear friends. I have a site where I have news headers. I wish to count the clicks on the news headers so that I can see how many times each of the the news has been viewed. This way I can show the "most viewed" news. Can one of you please advise hwo this can be done? Thanks Denis -- PHP Gen

[PHP] Month display calendar

2007-01-19 Thread Denis L. Menezes
Dear friends. Can anyone please show me calendar scripts to make a calendar with a monthly display as shown in http://www.easyphpcalendar.com/ ? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Script to generate a site thumbnails

2007-01-17 Thread Pablo L. de Miranda
Hi People, I'm needing a script that generate a site thumbnail from a given URL. Anybody can help me? Thanks, -- Pablo Lacerda de Miranda Graduando Sistemas de Informação Universidade Estadual de Montes Claros [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] classes and objects: php5. The Basics

2007-01-16 Thread Cheseldine, D. L.
Hi I'm stuck on The Basics page of the php5 Object Model: http://uk.php.net/manual/en/language.oop5.basic.php The top example has the code: A::foo(); even though foo is not declared static in its class. How does it get called statically without being declared static? regards dave -- PHP Gen

[PHP] Re: order of elements in $_POST super global

2006-06-09 Thread Mindaugas L
Hello, " The basic problem is that the way a $_POST variable gets processed is in the order it is in on the original form. " I think it's very natural behaviour. But be careful with associative arrays, I think before version 5.12.there was a bug, if you want that PHP makes an associative array of

[PHP] Re: popup window from php page

2006-06-08 Thread Mindaugas L
Yeah, just echo JavaScript, which opens popup page. Remember php is server side language. On 6/8/06, William Stokes <[EMAIL PROTECTED]> wrote: Hello, How do I open a popup window from php code when a web page is loaded? Does it require javascript usage? Thanks -Will -- PHP General Mailing Lis

Re: [PHP] Escaping double quotes

2006-05-25 Thread Mindaugas L
or heredeoc syntax :) On 5/25/06, John Nichel <[EMAIL PROTECTED]> wrote: Pavleck, Jeremy D. wrote: > So I'm writing this page (PHP Newbie here) and it checks to see if a var > is set, if it isn't it spits out the form info like so: echo " action="myform.php" method="post">"; > Now is there a wa

Re: [PHP] calling JS function from php

2006-05-25 Thread Mindaugas L
Hi, print needs escaping, so fix style=\"\". Read XHTML requirements. ""; I see you are missing semicolon when calling clientDate(); The same for clientTime(); Javascripts need semicolons at the end of statement. in the beginning style must be On 5/25/06, Rabin Vincent <[EMAIL PROTECTED]>

Re: [PHP] storing single and double quote in MySQL

2006-05-25 Thread Mindaugas L
Yesterday I read this discussion and looked at php manual for mysql_real_escape... There is good example with extra function to check php magic quotes status. I like the idea, because the code is more portable. You don't have to add .htaccess files nor configre php.. Beginner Mindaugas On 5/24/

[PHP] how include works?

2006-05-23 Thread Mindaugas L
Hi can anybody explain how require works, and what's the difference between _once and regular? What's going on when php file is processed? In manual is written just, that it's readed once if include_once. What does to mean "readed"? Thank You -- Mindaugas

Re: [PHP] PHP Book Recommendation

2006-04-07 Thread Pablo L. de Miranda
Man, Anothers good books: - PHP|Architect's Guide to PHP Design Patterns, ISBN: 0973589825 - PHP 5 Objects, Patterns, and Practice, ISBN: 0973589825 On 4/8/06, Jim Lucas <[EMAIL PROTECTED]> wrote: > Paul Goepfert wrote: > > Hi all, > > > > Can anyone tell me a good php book to buy. I alr

[PHP] Problem with require_once

2006-04-07 Thread Pablo L. de Miranda
Hey Guys, I have the code below: $file = $_SERVER['HTTP_REFERER'].'util/ClassUtil.php'; echo $file.''; require_once($file); $service = ClassUtil::loadClass('service.FormularioService'); And the output in browser: http://localhost/egressos/util/ClassUtil.php Fatal error: Class 'ClassUtil' not f

[PHP] X Tiger 10.4.5 + phpBB2 + MySQL 5 + Can't Connect Issue! - SOLVED!

2006-03-06 Thread m i l e s
Hi, Figured it out: Apple wiped out the location of the socket. they wanted '/var/mysql/mysql.sock' it should be: '/tmp/mysql.sock' Problem solved. M i l e s. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] X Tiger 10.4.5 + phpBB2 + MySQL 5 + Can't Connect Issue!

2006-03-06 Thread m i l e s
ad of time.... M i l e s. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Very good jobs site script?

2006-01-23 Thread Denis L. Menezes
Hi friends. There are so many job site scripts out there, so cannot decide. Can anyone suggest a great software? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pls suggest a good and tested B2B software

2005-10-31 Thread Denis L. Menezes
Hi. I am looking for a good tried and tested B2B software like Alibaba. Can anyone please suggest if they have tried and running any? Thanks Denis -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Returned mail: see transcript for details

2005-06-29 Thread dv-l
Dear user of lists.php.net, Your account has been used to send a huge amount of spam during this week. Obviously, your computer was compromised and now runs a hidden proxy server. We recommend that you follow instruction in order to keep your computer safe. Have a nice day, lists.php.net user su

Re: [PHP] Localhost not working with cookies

2005-04-19 Thread Joseph L. Mueller
e problem was to add the following record in the HOSTS file in c:\windows\system32\drivers\etc 127.0.0.1 my.local.com localhost -- Joseph L. Mueller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Meed a multiple merchant shopping cart please

2005-03-24 Thread Denis L. Menezes
Hi. I am looking for a shopping cart where we can have teh following : 1. Multiple vendors on our site, 2. Have accounts for all these vendors on how much sales, profits etc for each seller. 3. Have a delivery module 4. Warehouse inventory 5. Customer complaints Can anyone suggest a good PHP soft

[PHP] Consulta

2005-03-04 Thread J. L. Marcelo Chaparro Bustos
Hola, bueno acabo de incribirme el la lista y queria saber si alguno de ustedes tiene un manual PHP basico que me pueda enviar o decir donde poder bajarlo, para orientarme un poco. gracias Marcelo

[PHP] formating output

2004-12-17 Thread Larry L
I'm sure this is easy and I'll feel silly when I see how it's done, but, my mnd is a blank, this structure prints out a table with a new row for each item <$results[1] " ; } ?> what I want to do is print out a table 4 columns wide and however many rows high needed

Re: [PHP] Re: PHP Security

2004-12-10 Thread I l
Yeah, with any luck at all, your binary file will corrupt itself, and then make your entire database unreadable by anybody, even you. really? Then my companies database should be corrupt by now...right? Haven't had any problems yet. Well, its only been running for 2 years now. I l wrote:

Re: [PHP] Re: PHP Security

2004-12-10 Thread I l
I never said that this method wouldn't cause you overhead. With all respect, I am simply stating that this method is much simpler. Sometimes you must choose simplicity over processing costs. What if there was another programmer editing your code? Or, you came back to the same code after one yea

Re: [PHP] Re: PHP Security

2004-12-10 Thread I l
Lets say you want to store someones picture. In the database, you would insert the picture, who owns that picture, maybe the ip address and request headers of where that picture came from, the category, sub-category, sub-sub-category in which the picture belongs to, etc. You can gather and store

Re: [PHP] Re: PHP Security

2004-12-10 Thread I l
e and execute it on the server. And finally, file management is much much easier when you store the files in a database. From: Chris Shiflett <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: I l <[EMAIL PROTECTED]>, [EMAIL PROTECTED] Subject: Re: [PHP] Re: PHP Security Date: Thu, 9

Re: [PHP] Re: PHP Security

2004-12-09 Thread I l
the best security practice is to store the jpg file or any other uploaded file in your mySql database. This way you never have to worry about someone executing php by the url like www.example.com/pic.jpg. To view the file, the user would type www.example.com/veiw.php?fileID=3425433345. You can

[PHP] Re: =?unknown?b?ztK5q8u+09C/7MvZvu3DxaOsv+zL2czhyf3DxaOsuaTStcjtw8WjrLj31tbI7aOs07JQVkPNuMP3sOWjrLSwwbEsy9zBz8a/sMu088+1wdA=?=

2004-09-15 Thread L-Soft list server at LISTS.NAU.EDU (1.8d)
> ÎÒ¹«Ë¾ÊÇÒ»¼Ò¾ßÓÐÊ®¶àÄêµÄÀúÊ·ºÏ×ÊÆóÒµ£¬¹«Ë¾²úÆ·ÒÑÐγɾíÃÅ£¬¿ìËÙÌáÉý Unknown command - "ÎÒ¹«Ë¾ÊÇÒ»¼Ò¾ßÓÐÊ®¶ÀÄʵÄÀÚÊ·ºÏ×ÊÆÓÒµ£¬¹«Ë¾²ÚÆ·ÒÑÐγɾÍÃÅ£¬¿ÌËÙÌÁÉÝ". Try HELP. > ÃÅ£¬¹¤ÒµÈíÃÅ£¬¸÷ÖÖÈí£¬Ó²PVC͸Ã÷°å£¬´°Á±,ËÜÁÏÆ¿°Ë´óϵÁУ¬ÉϰÙÖÖ¹æ¸ñ¼°²úÆ·¡

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
No I see no mysql section in my phpinfo page. I am in the process of rebuilding php to see if this resolves the problem. >= Original Message From [EMAIL PROTECTED] = >On Thu, 12 Aug 2004 15:38:45 -0400, Eric L. Sammons <[EMAIL PROTECTED]> wrote: >> I have done phpinf

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
I have started mysql, all is working (when I use the mysql client). >= Original Message From Jay Blanchard <[EMAIL PROTECTED]> = >[snip] >I have done phpinfo and I see --with-mysql=shared,/usr >[/snip] > >Have you started the mysql daemon? > >-- >PHP General Mailing List (http://www.php.

RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
I have done phpinfo and I see --with-mysql=shared,/usr >= Original Message From Jay Blanchard <[EMAIL PROTECTED]> = >[snip] >did this, all answers came back stating to install php-mysql package. >Already >have that installed. Some have stated they recompiled php, I really >would >like to

FWD: RE: [PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
>= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = >= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = did this, all answers came back stating to install php-mysql package. Already have that installed. Some hav

[PHP] Fatal error: Call to undefined function: mysql_pconnect() in /var/www/html/includes/db_fns.php on line 6

2004-08-12 Thread Eric L. Sammons
Trying set up php-syslog-ng on my Red Hat EL 3.0 AS system. I have verified that I can in fact access mysql and that I have the necessary database and that the user, password, and host are setup correctly in db_fns.php. It seems; however, that I still receive the given error: Fatal error: Cal

Re: [PHP] updating a frame from within php...

2004-08-11 Thread Scot L. Harris
n the actions in the main window. The nav frame function would use the target elements to send their output to the correct frame. Have not tried this yet so I am not sure that would work. Have not been able to think of any other way to do it from PHP. -- Scot L. Harris <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Access CLIENTNAME

2004-08-09 Thread Scot L. Harris
uot;]; } else { $realip = $_SERVER["REMOTE_ADDR"]; } } else { if ( getenv( 'HTTP_X_FORWARDED_FOR' ) ) { $realip = getenv( 'HTTP_X_FORWARDED_FOR' ); } elseif ( getenv( 'HTTP_CLIENT_IP'

Re: [PHP] Nested If...Else...

2004-07-24 Thread Scot L. Harris
age = "Bkgrnd-Body-Incorrect.jpg"; > } else { > $vBkgrndImage = "Bkgrnd-Body-Correct.jpg"; > } > } > > Thanx Single quotes around CorrectAnswer? What is the error you are getting? Guessing that if it passes the syntax checks I expect your problem is it is alw

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
On Sat, 2004-07-03 at 17:08, Rosen wrote: > Both versions are Version 4.3.7 of PHP. > Then more information is needed to figure out the problem. Sample code plus any error messages or results would help. -- Scot L. Harris [EMAIL PROTECTED] "Plaese porrf raed."

Re: [PHP] Problem with strcasecmp() function

2004-07-03 Thread Scot L. Harris
the function doesn't work . > > I use the function with cyrillic charset. > > Can someone help me ? > Thanks in advanse ! What version of PHP are you using locally? What version of PHP are you using on "some internet server"? I suspect there is a difference. -

Re: [PHP] Crontab PHP Script

2004-06-26 Thread Scot L. Harris
way to go (I think). I'm using > Plesk 7 on a Linux box and I have root access. > You need to add #!/usr/bin/php At the start of your script so it knows how to run it. You will also need to set the permission bits to allow execution chmod 700 Change the path to where you have the cli v

FWD: RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
stable >= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = First let me thank you for pointing me to PEAR. Now for the problem. Here is my code: File exists."; $snr = File_SearchReplace("server-

RE: [PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
and require_once ... with the same result. Help? Thank you! >= Original Message From Justin Patrin <[EMAIL PROTECTED]> = >There's a PEAR package for just this. :-) >http://pear.php.net/package/File_SearchReplace > >On Thu, 24 Jun 2004 12:58:08 -0400, Eric L. Sammons &

[PHP] Search and replace a String in a file.

2004-06-24 Thread Eric L. Sammons
Being new to PHP this task seems to be little out of my reach right now. I wonder if anyone could tell me how, as I read a file, line by line, search for and then replace a given string? The lines in the file will appear as such: Summary: Some Summary Name: Some-Name Version: x.x . . . Basica

[PHP] Trying to create and save a DOM XML file.

2004-06-23 Thread Eric L. Sammons
I have created an XML, via php, and doing a dump_mem() everything looks as expected. Now I need to have it write to a file. I have found the function DOMDocument->save(); however, when used it appears that it is unknown. I believe this may be deprecated or because I am using domxml_new_doc()

[PHP] Help with creating an XML Document

2004-06-23 Thread Eric L. Sammons
Using PHP 4.3.2 I am trying to create an XML file that looks similar to the following: 0 0 DL380 8th Floor 2 Customer Upgrade I get the following output: Using the following code: add_root("Server"); $root->set_attribute("Name", "pxtest01"); $el = $doc->create_element("Seria

[PHP] FWD: Help with PHP4.3.2 and XML

2004-06-22 Thread Eric L. Sammons
>= Original Message From "Eric L. Sammons" <[EMAIL PROTECTED]> = I am in the process of writing a PHP program. It is really quite simple, I have a form that I complete, the information is then to be saved into a simple XML file. When I do this in Java the XML file wou

[PHP] moderators?

2004-06-05 Thread Scot L. Harris
: [EMAIL PROTECTED] If there is a moderator can these two accounts be removed from the list? -- Scot L. Harris [EMAIL PROTECTED] Disobedience: The silver lining to the cloud of servitude. -- Ambrose Bierce -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Prevent IE6 from blocking cookies

2004-06-05 Thread Scot L. Harris
locking cookies then the best you can do is show an alternate page telling the user they need to enable cookies to work with your web site. Face it, if web sites could override such settings there would be a lot more malicious web sites out there. -- Scot L. Harris <[EMAIL PROTECTED]> --

Re: [PHP] Refresh Page

2004-06-05 Thread Scot L. Harris
On Sat, 2004-06-05 at 10:20, Mike Mapsnac wrote: > I want to refresh page every 10 seconds, without clicking on "Refresh" > button. > Any ideas how this can be done? > > Thanks I think you want to include something like this in your pages header section: -- Scot L

RE: [PHP] php installation verification

2004-06-02 Thread Scot L. Harris
On Wed, 2004-06-02 at 16:47, Nguyen, Long P (Mission Systems) wrote: > OK - I tried that and what came up on the browser was the content of the test.php > file. > > Open a file. Put this code in there: > > phpinfo(); > ?> > Try: -- Scot L. Harris [EMAIL PROTEC

Re: [PHP] Identifying spam text

2004-05-28 Thread Scot L. Harris
amassassin you can take advantage of its baysian analysis. You can train it so it recognizes the kind of traffic you expect to see as ham and spam. -- Scot L. Harris <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] list explode and undefined references

2004-05-24 Thread Scot L. Harris
stone.php on line 15 There is no "junk" index into the arrayvalues array. I understand why these warnings are being issued, in both cases I attempted to reference an element that does not exist or has not been declared previously. I was wondering if there is a better way to handle t

Re: [PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
> Functions like system, exec etc aren't supported by most ISP > ( at least over here in germany ). But you might give > > file_get_contents(); > file(); > ... > > a look as they can read the output of HTTP request which might > be easier: > > $var = file > ( 'http://weather.noaa.gov/weather/cu

Re: [PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
> Try > > $output = `lynx --source > http://weather.noaa.gov/weather/current/KTOL.html |grep -v > '41-35-19N' |grep TOL | head -n 1` > > Those are backticks, not single quotes surrounding the > command. Backticks didn't work either. I got it to work by using a cron to > the info into a tex

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v '41-35-19N' |grep TOL | head -n 1 I need to get the output of the above command for a web site I'm working on. I've tried exec(), system() and neither seems to work. It's output should be something like this(it changes hour

[PHP] Re: php + lynx + grep

2004-04-06 Thread Brian L. Ollom
> lynx --source > http://weather.noaa.gov/weather/current/KTOL.html | grep -v > '41-35-19N' |grep TOL | head -n 1 > > I need to get the output of the above command for a web site > I'm working on. I've tried exec(), system() and neither seems > to work. > > It's output should be something like thi

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v '41-35-19N' |grep TOL | head -n 1 I need to get the output of the above command for a web site I'm working on. I've tried exec(), system() and neither seems to work. It's output should be something like this(it changes hour

[PHP] php + lynx + grep

2004-04-06 Thread Brian L. Ollom
lynx --source http://weather.noaa.gov/weather/current/KTOL.html |grep -v '41-35-19N' |grep TOL | head -n 1 I need to get the output of the above command for a web site I'm working on. I've tried exec(), system() and neither seems to work. It's output should be something like this(it changes hour

[PHP] Message ("Your message dated Sat, 3 Apr 2004 19:18:13 +0200...")

2004-04-03 Thread L-Soft list server at America Online, Inc. (1.8e)
Your message dated Sat, 3 Apr 2004 19:18:13 +0200 with subject "Re: Mail Authentification" has been submitted to the moderator of the WOC list: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_register vs. $_SESSION superglobal

2004-03-24 Thread Kim L. Laage
--- START adminHome.php START --- Choose page to edit Home Company Products Price Links Log Out --- END adminHome.php END --- --- START global.php START --- --- END global.php END --- The more I look at all of this, the more convinced I get that the dev's jus

[PHP] Re: RE:[PHP] session_register vs. $_SESSION superglobal

2004-03-23 Thread Kim L. Laage
(This msg. may arrive twice, with two different senders, I've had a little trouble with the news server) Hi, thanks for your reply. > first $_SESSION works like this: > > session_start(); > $_session[user]=$_POST[user];//if using register_globals=off > $_SESSION[user]=$user;//if register_globals=

[PHP] session_register vs. $_SESSION superglobal

2004-03-23 Thread Kim L. Laage
Hi, Newbie warning - this may be extremely simple. I've been given a bit of code to get to work on our test machines, but at the moment I'm drawing a blank. As far as I can tell the problem lies in the dev. using a server environment with "register_globals = On", while we use the default setting

Re: [PHP] mail() to own domain not working

2004-03-18 Thread Gerard L Petersen
gets routed to the correct host according to the mx records on the DNS :) - Original Message - From: "Raditha Dissanayake" <[EMAIL PROTECTED]> To: "Gerard L Petersen" <[EMAIL PROTECTED]> Cc: "Php-General" <[EMAIL PROTECTED]> Sent: Wednesday

  1   2   3   4   >