RE: [PHP] Escaping the " ' " character

2003-09-11 Thread Dan Anderson
people not send html emails to the > list. Oh wait, he means HTML e-mails? I thought he meant posts regarding to HTML. Please disregard my previous posts. lower_flamethrower(); -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] loading classes and efficiency

2003-09-11 Thread Dan Anderson
letely sure of the way PHP handles things internally, but I have noticed that functions don't cause PHP to yelp and moan unless they are called (for some errors). Plus if a function uses several kb of memory include_once or require_once() ing them /will/ save resources on a server. -Dan

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Dan Anderson
into another such problem. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Dan Anderson
y have patched Netscape by now. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Integrating an Applet with PHP

2003-09-12 Thread Dan Anderson
n't be the case -- Java guarantees that different types will be the same number of bytes). -Dan n Fri, 2003-09-12 at 14:02, Todd Cary wrote: > Warren - > > The Java code is available at http://www.hexidec.com/ekitdemo.php. > > One of the reasons I need this applet working in no

Re: [PHP] Mozilla and german 'Umlaute'

2003-09-13 Thread Dan Anderson
ied using spanish in a script sold in America. I refunded him his money because the solution was much too expensive. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Verifying E-mail Addresses

2003-09-14 Thread Dan Anderson
I'm having a problem with e-mail addresses entered by users that are invalid (i.e. $email == "some person at somewhere.com"). Is there a function I could call like: Thanks in advance, Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How do I squelch warnings (without editing php.ini)?

2003-09-15 Thread Dan Anderson
I am running a script that occasionally utters a few warnings when the user does something dumb (but it does not kill the script). Is there a way to turn off warnings within a script? I really don't want my users to see them. Thanks in advance, Dan Anderson -- PHP General Mailing List

[PHP] Is the "PHP List Automoderator" a spam bot?

2003-09-15 Thread Dan Anderson
I just got an email from some daemon claiming to be the "PHP List Automoderator" asking me to reply before my e-mail could be sent to the list. I assume that this is a spam bot. Anybody else having this problem? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscr

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
. (Heck, it's less then a weeks pay -- even with the plane tickets). I assume this covers hotel rooms (pricey), food (pricey), speakers (very pricey), etc. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
x27;s a heckuva lot of money. Especially when you consider you canadians have a cradle to grave socialist system that covers major expenses for us from the US like healthcare. Of course, I don't know your particular situation. What would be reasonable to you? -Dan -- PHP General Mail

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
of $100 a night (probably at least $60 even with the discount). So that plus food + everything else for the speaker can add up. Of course, I haven't seen the finances of this conference. But I would suspect that $495 is a reasonable price. -Dan -- PHP General Mailing List (http://www.php

Re: [PHP] PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
hiding? I pay for health care and other things out of pocket. Socialism in the form of government handouts should not be confused with communism. > at least I dont live in a police state. I hate the patriot act. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: PHP|Con insane pricing

2003-09-15 Thread Dan Anderson
stance, you have an opportunity to meet people and network (with possible employers, clients, partners, and the like). Also, you can learn A LOT in three days. And for some people a classroom learning style is better then a book. And for us vulcans a book is all we need. It's all about the i

Re: [PHP] MS-SQL 2000 weird problem

2003-09-15 Thread Dan Anderson
> Any thoughts? Are you dying and outputting an error where something could happen to bodge up the server? I'm not familiar with MS SQL Server, but I know under mysql: -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
unt a con like this one wtih keynote speakers (most likely paid), a large staff, a larger room (and probably multiple rooms), more food, more drinks, more advertising, and $495. That really isn't that bad. Expensive yet, but you have to ask yourself if the value is worth it for you. -

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
Hi, > > at least I dont live in a police state. I sure do.. Its a joke too.. > I hate the patriot act. You don't like illegal search and seizures? What's wrong with you? :) -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] PHP|Con insane pricing

2003-09-16 Thread Dan Joseph
Hi, Probably depends on location. My friend's was in Chicago, so everything was a little more expensive. -Dan Joseph > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Tuesday, September 16, 2003 9:39 AM > To: Dan Joseph > Cc: [EMAIL PROT

[PHP] Need Help With gethostbyname()

2003-09-17 Thread Dan Anderson
I have a section of my script where I call gethostbyname($hostname) . For some host names that are not registered (according to register.com) I am still getting an IP address returned? What is happening? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Mathematical differences?!

2003-09-18 Thread Dan Anderson
displayed because it is too large to be stored in the number of bits used. But the number of bits used per data type varies from system to system. So you are seeing round off error. If you don't understand e-mail me for a more complete explanation. -Dan On Wed, 2003-09-17 at 15:54, Mario W

Re: [PHP] Session with various Browser.

2003-09-18 Thread Dan Anderson
Try running newer browsers. I'd be curious how everything handles with Netscape 7 or the newest incarnation of IE. -Dan On Thu, 2003-09-18 at 22:53, Harry Yau wrote: > Hi all, > I am new to php. At first, I wrote a php script to generate a pdf > file from a tex file and load

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Dan Joseph
I got a few of those returns also. I also apparently launched an attack on the computer web server. Kinda hilarious if you ask me. Good excuse to install Norton also. -Dan Joseph > -Original Message- > From: Curt Zirzow [mailto:[EMAIL PROTECTED] > Sent: Friday, September 19

RE: [PHP] Attention: List Administrator

2003-09-19 Thread Dan Joseph
Hi, > s/Norton/linux+qmail/ haha.. that be a good solution for sure! -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reading URL is changed

2003-09-19 Thread Dan Anderson
le search. Note that you will have to URL encode all variables and data. PHP manual has a good section. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Do PHP boolean operators short circuit?

2003-09-19 Thread Dan Anderson
I am learning perl and my book describes "boolean short circuiting". Basically: function1() OR function2(); (function2 never is evaluated if function1 is true). Will this work in PHP for any function? Thanks in advance, -Dan -- PHP General Mailing List (http://www.ph

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
system. In PHP things such as headers are automatic -- no need to type: print "Content-type: text/html\n\n"; It's a server side scripting language designed to be embedded in things like web pages and be able to be run without much security concerns. (i.e. not running a CGI perl scr

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
One more thing: gdb doesn't do a damned thing for debugging PHP scripts. Look for the errors and warnings output to the browser. (or tty if you're using /usr/bin/php). -Dan On Sat, 2003-09-20 at 00:33, Robert Cummings wrote: > I wanted t play around with the CGI (not CLI) versi

Re: [PHP] Problem with getting non-blocking data from stdin

2003-09-19 Thread Dan Anderson
l where you don't understand why people who don't understand some esoteric function are such muppets. BTW: If you insist on keeping up with the flamethrowers kindly e-mail me off list so as not to bother others on the listserv. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to get the Web Address of the Script

2003-09-20 Thread Dan Anderson
d? I am somewhat worried about using such variables because I seem to remember it being possible to disable them in PHP.ini, but I would love to get some feedback. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] non-php issue

2003-09-22 Thread Dan Anderson
n I tried installing Windows XP for my parents it just installed a super user. I suppose I could have gone out of my way to create an underpriviliged user (which I did) and try to show my parents how to use it (didn't work). But they just decided it was too much trouble and used the root acco

Re: [PHP] PHP Editor - which to use?

2003-09-22 Thread Dan Anderson
ithout context sensitive highlighting -- there are so many bugs that would be overlooked. And not being able to use M-g to goto a line number? (I use Emacs) I'd go bonkers. Look at GNU Emacs. It's got a large learning curve, but once you learn it it's worth it. E-mail me if you want how-

Re: [PHP] IP to Postal Code CSV? anyone messed around with this and PHP

2003-09-23 Thread Dan Anderson
he resources required to keep such a database updated encourage a pay per use system. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Validation: Problems with header(Location) in PHP

2003-09-23 Thread Dan Anderson
headers from the user is a good idea. (In some forms of CGI scripting you would actually have to type: print "Content-type: text/html\n\n" before doing anything else.) -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mySQL vs pgSQL | php vs others

2003-09-24 Thread Dan Anderson
oing and what would be the best choice. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Accellerators and Encryptors: Taking Scripts to the Next Level

2003-09-24 Thread Dan Anderson
And if they do, can you recommend any? Are free tools (OpenSource) better then pay tools, or is there a definite gain for pay tools? Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sql faq

2003-09-24 Thread Dan Anderson
ng NULL values easier. I think. :-D Let me know if I was right or just...erm...stabbing in the dark. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] 3 mins of your time please...logic problem

2003-09-24 Thread Dan Joseph
Hi, Another way to restrict them to one vote is to set a cookie. Although not completely full-proof, its a method I've seen a lot of them use. -Dan Joseph > -Original Message- > From: CPT John W. Holmes [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 24

Re: [PHP] sql faq

2003-09-24 Thread Dan Anderson
I just wanted to add that if you don't need all the information in MaeSocio or MaeSeguro when doing a select, it is best to use: SELECT NroSocio, whatever else you need FROM MaeSeguro; -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] 3 mins of your time please...logic problem

2003-09-24 Thread Dan Joseph
Hi, > > Another way to restrict them to one vote is to set a > cookie. Although not > > completely full-proof, its a method I've seen a lot of them use. Ok, let's examine the part where I said its not full-proof... -Dan Joseph -- PHP General Mailing

Re: [PHP] PHP email message composing

2003-09-24 Thread Dan Anderson
;s end statements, but I didn't know dots (concatenation operator) worked to do that as well. Have you tried using semicolons? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CSS Question

2003-09-24 Thread Dan Anderson
fy "Button Only"? I tried googling and can't find anything. I would be much appreciative of any help -- even if it's just an RTFM to a good M. :-D Many thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Checking mail with `mail`

2003-09-25 Thread Dan Phiffer
Is it practical to check for new mail from PHP using the UNIX mail utility? This would mainly be used to check for bounces from large mailings. Bonus points for anyone who can find me an article explaining the technique. Thanks! -Dan -- PHP General Mailing List (http://www.php.net/) To

[PHP] Integrating Various Languages in PHP

2003-09-26 Thread Dan Anderson
any problems from within PHP? -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
I am having problems with one of the web sites I have -- AOL users are reporting they can't view it. Does AOL break any major standards it shouldn't? p.s. the page is at http://www.mathjunkies.com/jtlinks/jtlinks_interface.php if you feel like taking a look. :-D Thanks in adv

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
> AOL uses IE libraries, so yes, it breaks as many standards as it can. What > specific symptoms are users reporting? Users can't access the web page at all. They are getting some kind of error. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
I'm not sure. They left angry messages on my machine this morning and didn't leave a core dump or error. They just said the page couldn't load. So I was wondering if there was something I should have paid attention to -- i.e. IE hates Style Sheets or something else I overlooked

RE: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
> And this is a PHP problem how? Well the script is coded within PHP. I probably should have put an OT: on the first line of the subject. But I figured that some kind soul may be willing to help and let me know if there is something I am missing. -Dan -- PHP General Mailing List (h

Re: [PHP] Does the AOL browser break any standards?

2003-09-29 Thread Dan Anderson
e same. For instance, a problem with CSS, HTML 4, XHTML, or something like that. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] printf....

2003-10-01 Thread Dan Joseph
w arguments in /home/sites/site8/web/index_test.php on line 34 I cannot for the life of me figure out what the problem is. I've looked thru archives, examples, and pages of a book all about printf, and this just doesn't add up to me.. Anyone see the problem? -Dan Joseph --

RE: [PHP] printf....

2003-10-01 Thread Dan Joseph
OH! Heh... learn something new everyday.. Thank you! -Dan Joseph > -Original Message- > From: Mike Migurski [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 01, 2003 3:49 PM > To: Dan Joseph > Cc: [EMAIL PROTECTED] > Subject: Re: [PHP] printf > > &

RE: [PHP] Hosting ADDR.com (0t)

2003-10-02 Thread Dan Joseph
Hi, I'm getting to their page ok. Nice page really. purple and green, has their prices, etc.. they're probably hosting with Verisign, and Verisign had an issue temporarily. -Dan Joseph > -Original Message- > From: Ryan A [mailto:[EMAIL PROTECTED] > Sent: Thursday,

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
bypassing login page. For restricting what is shown on the page, there are many methods. IF structures, etc, just make sure are checking their access against what is shown. Does that help? -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
27;user_id'])) redirect_to_index_function(); Where 'user_id' is, that would be the name of the session you created. Just insert that at the top of each page (might be best suited in an include file). -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
if not, I boot 'em and do a session_destroy();. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
#x27;d recommend this method if you have to keep strong security in mind. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
understanding (and someone can correct me if I am wrong..) that if you have that turned off, then you can't use session_register(). Instead, do $_SESSION['userid'] = 10; and see if that works. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
Hi, > (1) I don't see a session_start() on the second page (unless it's in > register_functions.php?). Old habbits die hard. You have no idea how many times I forget to put this at the top of a page. Thanks for pointing that out. -Dan Joseph -- PHP General Ma

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
umn in the database. That gets updated everytime they move to a new page, or refresh the one they are on. To time them out, I simply set the date_out column = Now(), issue a session_destroy() and redirect them back to the login page. -Dan Joseph -- PHP General Mailing List (http://www.php.n

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
newbie here... :o) $_SESSION['userid'] = 254; Where 254 is, that is the value you want to assign it. Its just an array. Think of it more as a global variable accross the entire site. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] User authentication

2003-10-02 Thread Dan Joseph
to find the difference. If it's > greater than X they are booted back to the login screen, if it's less > than X the page is loaded.. > > Anything look wrong or insecure with all of this? This is how I'm doing it. We had it auditted by a security company. It passe

Re: [PHP] returning a variable from a class function? plus other probs

2003-10-04 Thread Dan Anderson
I believe there is some problems using 's and not "s. Try using "s above. > I keep getting "supplied argument is not a valid MySQL result resource" for > the lines using mysql_fetch_array and mysql_num_fields - I've looked up the If you fetch an array on a fa

Re: [PHP] returning a variable from a class function? plus other probs

2003-10-04 Thread Dan Anderson
> Using ' is prefered IIRC, and also escaping all the data before sending > it to the database: Hmmm. Perhaps Emacs isn't converting from Unicode to ASCII properly? ::shrugs:: I just know sometimes my queries don't work if I use ' . -Dan -- PHP General Mailing Lis

Re: [PHP] returning a variable from a class function? plus otherprobs

2003-10-04 Thread Dan Anderson
or instance, if one user is used for SELECTs then a hacker could not drop a database. Same goes with other things. Just some things to think about. There are many many more things you should be doing, but they're too extensive to list here. -Dan -- PHP General Mailing List (http:/

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Dan Anderson
create a framework for parents to talk to (and discipline if need be) their children. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OO parent/child relationship

2003-10-05 Thread Dan Anderson
Out of curiousity, what exactly are you trying to do? Are you sure this type of framework is most appropriate (and easiest to implement?) -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Anybody know of a good web site on how to create P3P privacy policies?

2003-10-06 Thread Dan Anderson
Does anyone know of a good web site on how to create a P3P Privacy policy? When I googled I kept getting other people privacy policies and proprietary tools. Thanks in advance, -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Congratulations You Win

2003-10-08 Thread Dan Joseph
Excellent! We all win again! Retirement here I come! -Dan Joseph > -Original Message- > From: Francis Weeny [mailto:[EMAIL PROTECTED] > Sent: Wednesday, October 08, 2003 10:39 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Congratulations You Win > > > SUNSW

Re: [PHP] CSV file with PHP

2003-10-10 Thread Dan Anderson
} else { fwiret ($file_hande, ", {$value}"; }; } fwrite ($file_handle, "\n"); } That is pseudo code though. (i.e. I don't have time to test it and debug it and make it nice and neat and readable and conform to your specifications -- but it should give you a

Re: [PHP] Quick question: PHP user?

2003-10-10 Thread Dan Anderson
> Just a quick question... What user does php run as on linux? It all depends on how PHP is set up. Do something like: $fff = fopen ("./temp","w"); fwrite($fff,"testing"); fclose($fff); in a directory chmod 777. Look at the user id. (For what it's

[PHP] looking for a verification...

2003-10-15 Thread Dan Joseph
Hi, I have a php cron setup: 5 * * * * root /usr/local/bin/php /path/to/cron/filename.php Will this set it to run 5 minutes of every hour of every day? I can't really tell if its running... Thanks.. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] looking for a verification...

2003-10-15 Thread Dan Joseph
> Make it.. */5 * * * * root /user/local/bin/php > /path/to/cron/filename.php Oh ok.. will make that change, thank you. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Looking for a programmer & designer to hire

2003-10-16 Thread Dan Joseph
www.itmoonlighter.com -Dan Joseph > Are there any sites I can post a bid request for programmers and > graphic designers? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: php|cruise - do unto others...

2003-10-20 Thread Dan Joseph
Hi, if there's enough loose change involved, i'd almost be willing to drive around and collect it. :) -Dan Joseph > -Original Message- > From: Robert Cummings [mailto:[EMAIL PROTECTED] > Sent: Monday, October 20, 2003 3:53 PM > To: Didier McGillis > Cc:

RE: [PHP] (ANNOUNCE) New PHP mailing list *searchable* archives

2003-10-21 Thread Dan Joseph
Hi, > > I wanted to let you know about a new initiative that php|architect has > > launched: the Searchable PHP Mailing List Archive, which can be > found at > > http://phparch.com/mailinglists. 3 words... YOU DONE GOOD! -- PHP General Mailing List (http://www.php.net/) To unsubscri

[PHP] command line arguments

2003-10-22 Thread Dan Joseph
s the $ARG array or $ARGV, but I am mistaken... can only refresh me? searching did no good. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] command line arguments

2003-10-22 Thread Dan Joseph
Ahh ok, yeah, $_SERVER['argv'][1] works like a charm, thanks. > Use $argv, that failing it definately works with $_SERVER['argv'] -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Php/mysql error....why?

2003-10-24 Thread Dan Joseph
> `%0123456789%'"; You have a ` instead a ' before the %0123. I believe that is what is causing your grief. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CURL remote server get data back

2003-10-25 Thread Dan McCullough
I have an install script that verifies someones registration key and information against my client database and installs or patches, or whatever else. I'm new with CURL but is there away to get back a response from the server that your are querying back through CURL? -- PHP General Mailing List

RE: [PHP] CURL remote server get data back

2003-10-26 Thread Dan McCullough
Linux box to Linux box. Running PHP 4.1+ The script its connecting to would reside on one of my servers. -Original Message- From: Raditha Dissanayake [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 8:32 AM To: Dan McCullough Cc: [EMAIL PROTECTED] Subject: Re: [PHP] CURL remote

RE: [PHP] baffled on error_reporting

2003-10-26 Thread Dan McCullough
No I believe that is a feature the ability to turn off error reporting. You can do the same with mysql functions. @mysql_ -Original Message- From: Gerard Samuel [mailto:[EMAIL PROTECTED] Sent: Sunday, October 26, 2003 7:04 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] baffled on error_repo

[PHP] Web Service in PHP/XML

2003-10-26 Thread Dan McCullough
I'm not sure if there are any tutorials or anything else that I could see to get some good examples of both ends of the process anyone know of any? Anyone know of a better way? I'm also looking into XML or Java on the authorization end but not sure yet. thanks. dan -- PHP General

RE: [PHP] Accounting package

2003-10-27 Thread Dan Joseph
Hi, > I have a need for a very simple financial accounting package > which is webbased. Although its not written in PHP, www.sql-ledger.org is a nice one. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problems using gethostbyname() to resolve *.net.au

2003-11-03 Thread Dan Anderson
Some domain names on .net.au are not being resolved when I use gethostbyname. I can whois them on http://whois.ausregistry.net.au/and fine them, but they can't be pinged. Anybody know why this might be? Thanks in advance, Dan -- PHP General Mailing List (http://www.php.net/) To unsubs

Re: [PHP] Problems using gethostbyname() to resolve *.net.au

2003-11-03 Thread Dan Anderson
ter of fact. It performs a whois lookup and returns the ip address of $hostname. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problems using gethostbyname() to resolve *.net.au

2003-11-03 Thread Dan Anderson
hankful he answered my question, I am just pointing out that his answer cannot be correct. No offense was meant and I hope none was taken. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] split ...

2003-11-04 Thread Dan Joseph
11028171||9|5a|2003-11-03 Could someone point me in the direction of correcting this? I have no idea what REG_EMPTY is referring to, and have changed the code around in a couple different ways.. Thanks in advance. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

RE: [PHP] split ...

2003-11-04 Thread Dan Joseph
Hi, Thanks, that worked like a charm. I didn't realize that | was a special character, that's good to know. I also agree with the explode method. Seems quicker. Thanks! -Dan Joseph > The | character is a special character in regular expressions, > which split() > e

RE: [PHP] Site Security

2003-11-05 Thread Dan Joseph
Check that the cookie hasn't been changed with bad characters malliciously. Things like that. Try and break into the site w/o logging in. We paid for a security audit from a company called @stake (www.atstake.com). If you can afford it, I'd contract someone to audit you. -Dan Joseph --

[PHP] php.net links

2003-11-07 Thread Dan Zarrella
hello, i was wondering who i would need to contact to submit my site to the php.net links page. my site is stargeek.com, thanks -dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP developers

2003-11-07 Thread Dan McCullough
itmoonlighter.com -Original Message- From: James [mailto:[EMAIL PROTECTED] Sent: Thursday, November 06, 2003 1:00 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP developers Can anyone recommend a good place where I can find some talented PHP contractors? I'm looking to hire some people for

RE: [PHP] resource handle - keeping alive?

2003-11-10 Thread Dan Joseph
s that. You could do this all in PHP. I chose Perl for the server side because I felt it was the way to implement it with our current setup. I don't know if that helps, but maybe it could give you some other things to think about in solving this dilema. -Dan Joseph -- P

RE: [PHP] resource handle - keeping alive?

2003-11-10 Thread Dan Joseph
( !$fp ) { echo "$errstr ($errno)\n"; } else { fputs ( $fp, "$auth_msg\n" ); $response = process_response( fgets( $fp ) ); printf( "%s - %s", process_code( $response['cod

RE: [PHP] Pausing in PHP

2003-11-10 Thread Dan Joseph
Hi, > Is there a PHP function that would allow the script execution to pause 'N' > seconds? This is analogous to the dBase inkey() function. sleep(20); 20 = seconds -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: ht

RE: [PHP] nusoap

2003-11-12 Thread Dan McCullough
Let me put up one of my examples. I love it extremly easy, and writting to the list does work, its low volume but someone there can help. -Original Message- From: Larry Brown [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 11, 2003 9:45 PM To: PHP General Subject: [PHP] nusoap Does an

Re: [PHP] Extracting Source code from Binary Files(.dll,.exe.,class)

2003-11-13 Thread Dan Anderson
can recreate the original thing from the blue prints, but anybody trying to create blueprints for the original thing might create something different -- that can still be used to assemble the original thing. -Dan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http:

RE: [PHP] can I license a php script?

2003-11-14 Thread Dan Joseph
x27;t remember what it was called. -Dan Joseph > -Original Message- > From: Chris [mailto:[EMAIL PROTECTED] > Sent: Friday, November 14, 2003 5:28 PM > To: [EMAIL PROTECTED] > Subject: [PHP] can I license a php script? > > > I am planning on writing a program in PHP and

RE: [PHP] Microsoft .NET arguement

2003-11-17 Thread Dan Joseph
some cases, PHP might have a few more shortcuts. Maybe they're using some visual editors to speed them up? -Dan Joseph > -Original Message- > From: Mike R [mailto:[EMAIL PROTECTED] > Sent: Monday, November 17, 2003 11:07 AM > To: [EMAIL PROTECTED] > Subject:

RE: [PHP] Microsoft .NET arguement

2003-11-17 Thread Dan Joseph
k the whole OS vs OS arguments, and Code vs Code arguments (in regards to security) are humorous. Yes, get a good firewall, and have an auditor audit your system and code. That will give you a secure environment. -Dan Joseph > -Original Message- > From: Mike R [mailto:[EMAIL PROTEC

RE: [PHP] Microsoft .NET arguement

2003-11-17 Thread Dan Joseph
#x27;s true, you can solve most of the security problems by > tightening up > the firewall so that nothing goes in or out. ...and everyone needs to keep in mind that there isn't a 100% secure operating system, or server environment. -Dan Joseph -- PHP General Mailing List (http

RE: [PHP] Anti Anti-Template Commentary :)

2003-11-18 Thread Dan Joseph
he wolves jump in and shred you. hehe.. I think its kind of like debating gambling. There's always going to be those who'd rather write PHP code, and those who want to use pre-made systems. -Dan Joseph -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

<    2   3   4   5   6   7   8   9   10   11   >