[PHP] banner exchange, how to?

2001-03-20 Thread Ed Lazor
Hi =) I'd like to setup a banner exchange with some friends. Some of them don't have PHP access, so I'm trying to come up with something that will work for everyone. I checked one site that's running a banner exchange and saw them using a cgi script like this: http://www.site.com/exchange.c

[PHP] web page grab

2001-04-22 Thread Ed Lazor
he start of the page up to the word "Wish" and everything after the word "numbers". Or, another way of phrasing it, I'm wanting to get a web page and only use the content between the words "Wish" and "numbers". What would be the best way of going ab

[PHP] Warning: Unknown persistent list entry type in module shutdown (11)

2002-01-03 Thread Ed Swartz
3.23 Version = 4.1.0 (installed last nite). Ed -- Do you need a Web-based Content Publishing System ? Call me for more details. Ed Swartz ColdFusion and PHP Development 978.772.0888 http://www.sandypondconsulting.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [

Re: [PHP] quick question

2002-01-10 Thread Ed Swartz
> > Mike Ford, Electronic Information Services Adviser, > > Learning Support Services, Learning & Information Services, > > JG125, James Graham Building, Leeds Metropolitan University, > > Beckett Park, LEEDS, LS6 3QS, United Kingdom >

[PHP] gd library

2002-01-30 Thread Ed Lazor
Hi =) Which version of the gd library comes with PHP? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

[PHP] gd library 1.6 or younger

2002-01-30 Thread Ed Lazor
I'm trying to play with the gif functions this program supports. I'm having trouble finding it. Could someone e-mail it to me? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PRO

[PHP] PHP Graphics Support

2002-01-31 Thread Ed Lazor
rmation as possible because I've spent a lot of time on this and have reached the point where a second person reviewing things would be very helpful. Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-m

Re: [PHP] gd library with GIF support

2002-01-31 Thread Ed Lazor
Yea... the main reason of still having to use gif is animation for banners. hmmm Maybe I'm assuming something - png doesn't support animation, right? If it does, is it easy to convert animated gifs to png? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-

[PHP] Can this be done in PHP?

2002-02-01 Thread Lazor, Ed
page=01"; border="0" width="468" height="60"> It... - displays a random banner image - takes you to the site relating to the displayed image How does it do that? Any ideas on how to do this in PHP? -Ed **

FW: [PHP] Check Boxes and updating records. (HELP ME....)

2002-02-01 Thread Lazor, Ed
> -Original Message- > From: Lazor, Ed > Sent: Friday, February 01, 2002 3:20 PM > To: 'Georgie Casey' > Subject: RE: [PHP] Check Boxes and updating records. (HELP ME) > > > Test the value of the variable storing whether the checkbox should b

RE: [PHP] PHP and Apache authorization: how to logout. Help!

2002-02-01 Thread Lazor, Ed
Even with a javascript function opening a new window and closing the old? -Original Message- From: Matthew Walker [mailto:[EMAIL PROTECTED]] Sent: Friday, February 01, 2002 3:42 PM To: Aras Kucinskas; [EMAIL PROTECTED] Subject: RE: [PHP] PHP and Apache authorization: how to logout. Help!

Re: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
simple, but PHP > > is generally a language for web applications, I think Perl > > is more suited for your needs. > >PHP would suffice here just fine--and we are trying to dispel the >myth that PHP is a web-only language. However, in a case like >this, I'd su

RE: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Ed Lazor
#x27;ll probably start wondering is how to send fancy e-mail instead of those generic text based ones... PHPBuilder has an article you'll want to check out located here: http://www.phpbuilder.com/columns/kartic2807.php3. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-ma

Re: [PHP] RANT: Why doesn't PHP have built-in support for dynamic image generation?

2002-02-02 Thread Ed Lazor
the best. Have you gotten it to work properly? If so, what files did you use and what steps did you take in the install? -Ed At 11:24 PM 2/2/2002 -0800, Erica Douglass wrote: >Forgive my grumpiness, but I've spent the last several hours trying to >install GD, etc. > >Let

[PHP] include_path auto_prepend

2002-02-03 Thread Ed Lazor
d in virtual host containers. I didn't change the configuration files... When I run a script that tries doing any include, it says Warning: Failed opening 'top.php' for inclusion (include_path='') The include_path variable is empty... any idea why? -Ed -- PHP General Ma

[PHP] help - config setting directives in Apache config files not working

2002-02-03 Thread Ed Lazor
method and now the php_value commands in my httpd.conf don't work. Do I have to compile as a dynamic module to get them to work again? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Server crashing?

2002-02-04 Thread Lazor, Ed
I'm starting to have a horrible time of pulling web pages from the server. I checked and found the following entries in the MySQL database server log. The error doesn't occur all the time, but it occurs a lot and only when communicating to the server through PHP. Any idea of what's going on? Or

RE: [PHP] Can anyone jog my memory on HTTP_REFERER & Javascript "location:replace"?

2002-02-05 Thread Lazor, Ed
If I understand what I think you're asking, you're trying to access the results in Javascript of something the PHP script processed... use your php script to spit out some javascript. For example: print "\n"; print "$Result = ".$Results.";\n"; print ""; -Original Message- From: Scott

[PHP] Verisign / Payflow Pro

2002-02-06 Thread Lazor, Ed
Hi =) I saw PHP has built-in support for Cybercash, but that Verisign has purchased them. It looks like I'll have to go with Payflow Pro, but I'm wondering if PHP has built-in support, available modules, or what the best approach is. Any recommendations? Th

[PHP] file redirect?

2002-02-10 Thread Ed Lazor
File Save window, but the file would end up as 0 bytes in size. My preference is using the second approach if I can get it working, because it's much faster than opening a new browser window. Any ideas of how to make it work? Thanks, -Ed -- PHP General Mailing List (http://

Re: [PHP] file redirect?

2002-02-10 Thread Ed Lazor
At 12:58 AM 2/11/2002 +0200, Bogdan Stancescu wrote: >Well, you have to send the actual file - otherwise the result of a zero-length >file is not surprising at all. That makes sense. I thought the last line was doing that. How would I do it in a way that works for local and remote files? > >

[PHP] how can you tell the url of a remote script?

2002-02-20 Thread Ed Lazor
I have a script, which is called by scripts located on other sites. Is it possible to tell the url of the remote script that is calling my script? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] regular expressions help please

2002-04-30 Thread Ed Lazor
xpressions and reading all of the web page tutorials, manual pages, and mailing list archive messages has left me thinking I'm complicating something somewhere, because it really shouldn't be this hard. Thanks in advance for any help you can offer. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how do you parse this?

2002-04-30 Thread Lazor, Ed
I have a file with this: SomeSite This is a description of the site. I'm trying to parse out the address, site name, and description into separate variables. How can I do this? Thanks, -Ed This messa

RE: [PHP] i cannot pass variables to php script...

2002-04-30 Thread Lazor, Ed
Make sure enable track vars is enabled. Try specifying global $arg before you access it. Try using phpinfo(); in your script. That will display all available variables. -Original Message- From: efa [mailto:[EMAIL PROTECTED]] Sent: Tuesday, April 30, 2002 1:04 PM To: [EMAIL PROTECT

[PHP] how do you route?

2002-05-02 Thread Ed Lazor
d get processed by the same script. Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: how do you route?

2002-05-02 Thread Ed Lazor
cript.php > > Action php-parse /path-to/script.php > SetHandler php-parse > > >SetHandler "application/x-httpd-php" > > > > >On Thu, 2 May 2002, Ed Lazor wrote: > > > Is there a way to route every web page request through a specific sc

Re: [PHP] Virus I-Worm/Klez.H (Someone does not like me)

2002-05-02 Thread Ed Lazor
fended by off-topic discussions like this. Put Off-Topic, or OT, or something like that in your subject and you'll offend a minimum of people. I'm sure there's something about this in the FAQ, so you may want to check it as well. Good luck =) -Ed -- PHP General Mailin

Re: [PHP] How can I remove the last character from a one line file?

2002-05-28 Thread Ed Gorski
Try: $string="Jacko"; $string=substr($string,0,(strlen($string)-1)); echo $string; ed At 09:35 AM 5/28/2002 -0400, [EMAIL PROTECTED] wrote: >Hi all, > > How can I remove the last character from a one line file? > i.e. I need to change Jacko to Ja

[PHP] Efficient PHP

2002-05-28 Thread Ed Gorski
coding practices). So can anyone offer any links or experiences? ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Efficient PHP

2002-05-28 Thread Ed Gorski
Yeah I've heard that they've made improvements in the oo code but I usually stay away from them on principle. Thanks for the reply, Ed At 02:54 PM 5/28/2002 +0100, Richard Black wrote: >One thing that springs to mind was something Sterling Hughes said at the PHP >Conference i

Re: [PHP] Previous Discussions

2002-05-28 Thread Ed Gorski
You want to try to stay away from storing anything so large in a DB like a file or an image (if the option exists). I am not aware of the previous discussion but if you send me a few details maybe I can offer an opinion.. ed At 07:54 AM 5/28/2002 -0600, Dan Vande More wrote: >Is anyone aw

RE: [PHP] Efficient PHP

2002-05-28 Thread Ed Gorski
o that you can avoid.. ed At 12:32 PM 5/28/2002 -0400, Scott Hurring wrote: > > -Original Message- > > From: Ed Gorski [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, May 28, 2002 9:46 AM > > To: [EMAIL PROTECTED] > > Subject: [PHP] Efficient PHP > > &g

RE: [PHP] Efficient PHP

2002-05-28 Thread Ed Gorski
Yeah I saw thatbut it did make some good pointsthanks SP. ed At 02:27 PM 5/28/2002 -0500, Miguel Cruz wrote: >But I wouldn't bet my children on advice found there. I just glanced at it >quickly but it was riddled with errors large and small. > >miguel > >On Tue

RE: [PHP] comment followed by ?> fails to parse

2002-05-28 Thread Ed Gorski
No the parser sees the ?> after a // because it needs to see when to quit out (unlike traditional, compiled languages) but it won't have this same effect in a string literal. ed At 04:40 PM 5/28/2002 -0400, Leotta, Natalie (NCI/IMS) wrote: >But why wouldn't the parser s

Re: [PHP] comment followed by ?> fails to parse

2002-05-28 Thread Ed Gorski
No, if you use /* ? */ as a comment the parser will skip right over it.if you want to use sample code in your script just use: /* */ that'll work fine ed At 02:48 PM 5/28/2002 -0600, Kevin Stone wrote: >I've run into this before as well. Pain in the ass when you want to

Re: [PHP] comment followed by ?> fails to parse

2002-05-28 Thread Ed Gorski
What version of php are you using? I just pasted that code in test script and it came out fine with 4.2.1.maybe it wasn't the case in earlier versions... ed At 02:57 PM 5/28/2002 -0600, Kevin Stone wrote: >OH NO IT WON'T.It'll comment out the and give

Re: [PHP] comment followed by ?> fails to parse

2002-05-28 Thread Ed Gorski
From my experience the PHP parser acts much like the HTML parser in the fact that it doesn't give a damn about carriage returns.... ed At 03:01 PM 5/28/2002 -0600, Kevin Stone wrote: >Exactly.. it doesn't seem to make any sense. Esspecially since it's such as >

RE: [PHP] comment followed by ?> fails to parse

2002-05-28 Thread Ed Gorski
Well it looks like they got half of it right by changing the /* */ issue ed At 03:06 PM 5/28/2002 -0600, Johnson, Kirk wrote: >Well, one thing I know for sure is that there are members of the PHP >develpment team that monitor this list. Maybe one of them will clear this up &

[PHP] easy date question?

2002-05-28 Thread Ed Lazor
How can I find out the date of the 3rd Tuesday of any given month? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] easy date question?

2002-05-28 Thread Ed Lazor
I came up with a solution that I'd like to share. Could someone confirm whether it's the best approach? Thanks, -Ed - source code # ex.: GetDay ("Third", "Saturday", 5, 2002); function GetDay($Week, $Day, $Month, $Year) { $Mo

RE: [PHP] Intermediate "Searching..." screen.

2002-05-29 Thread Ed Gorski
e have a redirect to another page after the search is completethis technique is REALLY useful if you have a page call a script that takes a long time to execute but doesn't really return anything to the page (ie send a bunch of e-mails, calculate averages and store in a db, etc). ed At

Re: [PHP] Thread safe

2002-05-29 Thread Ed Gorski
Yeah but if you get a higher load of users that can get REALLY uglyif it is strictly an update (editing of an already existing element) then locking that record should be fine but if it's an insert or delete you shouldn't lock the table. ed At 07:15 PM 5/28/2002 -0500, Miguel

Re: [PHP] .php extension

2002-05-29 Thread Ed Gorski
Yeah one of the simple tricks to mask that you use php is to make the extention that the PHP Parser looks for (ie name it page.foo) or whatever and have: AddType application/x-httpd-php .foo At 07:27 PM 5/28/2002 -0500, Miguel Cruz wrote: >On Tue, 28 May 2002, Luis Miguel N. Tavora wrote: > >

RE: [PHP] PHP new super globals or something else??

2002-05-29 Thread Ed Gorski
Well you should be using $_GET, $_POST and $_SESSION and turn register-globlals off as of PHP 4.2.1.I think you need to keep track-vars on for these arrays to be initialized. ed At 10:48 AM 5/29/2002 +1000, Martin Towell wrote: >code snippets would be good, if possi

RE: [PHP] DNS-less Connections With PHP?

2002-05-29 Thread Ed Gorski
Yes you really need to indicate what version of php you are using, what server you are using and what db you are using if you ever need to ask for help. Go to www.php.net and read up on: SQL SERVER mssql_connect() MYSQL mysql_connect() MOST obdc_connect() ORACLE ora_plogon() ed At 06:45

Re: [PHP] PHP doubt

2002-05-29 Thread Ed Gorski
You really need to put in more of the code as it ACTUALLY appears... ed At 05:39 PM 5/29/2002 -0700, r wrote: >Hey guys, > >I have written a program and being a newbie I dont know if this is good or >will give me problems in the future, so will appreciate it if you could just >

Re: [PHP] Relative beginner in dire need of help! (Scratch my last message, sorry... )

2002-05-29 Thread Ed Gorski
Are you sure the permissions on the directory are set up correctly? The user that the db is run as (usually nobody in apache/linux) needs read and write privileges on that directory ed At 04:30 AM 5/29/2002 -0400, [EMAIL PROTECTED] wrote: >I really hope someone can help me here!!

Re: [PHP] Avoid escaping

2002-05-29 Thread Ed Gorski
Inside php.ini there is a setting to turn "Magic Quotes" on or off.turn them off and you won't have this problem. If you don't have access to the php.ini file or your administrator will not turn them off use echo stripslashes($test); ed At 11:36 AM 5/29/2002 +0200,

Re: [PHP] comment followed by ?> fails to parse

2002-05-29 Thread Ed Gorski
Bah quit complaining, you should be using /* comments */ anyway. ed At 09:16 PM 5/29/2002 +0800, Jason Wong wrote: >On Wednesday 29 May 2002 21:10, Brinkman, Theodore wrote: > > It really should ignore anything in any sort of comment. The whole point > > of a comment is t

Re: [PHP] sessions and 'normal practice'

2002-05-29 Thread Ed Gorski
end to the end of each URL? Do they do it manually in the code or do they use the SID? An easy way to test for this is to fire up a browser with cookies enabled and see if the sessionid gets appended to each url. If so tell them to use the SID constant. Let me know and I can help you furth

Re: [PHP] sessions and 'normal practice'

2002-05-29 Thread Ed Gorski
automatically gets generated as "PHPSESSIONID=dsfgsdgsdfgsgsdfg" if the browser does not accept cookies and is empty otherwise. I bet they are a bunch of asp developers ;-) ed At 03:39 PM 5/29/2002 +0200, Nick Wilson wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 >

RE: [PHP] Advantages of php

2002-05-29 Thread Ed Gorski
Maybe he's still mulling over the "Hello World" solution 3. htmlspecialchars() is a very nice function as welland you can't beat the regular expression functions for validating data ed At 08:41 AM 5/29/2002 -0500, Jay Blanchard wrote: >[snip] >Hmm...po

Re: [PHP] mail() function

2002-05-29 Thread Ed Gorski
lol.what does that return? At 09:08 PM 5/29/2002 -0700, r wrote: >That may and may not work, I would suggest you add the RTFM() function, then >it WILL work. >Cheers, >-Ryan >- Original Message - >From: "Phil Schwarzmann" <[EMAIL PROTECTED]> >To: <[EMAIL PROTECTED]> >Sent: Wednesday,

RE: [PHP] mail() function

2002-05-29 Thread Ed Gorski
you mean return str_replace('ignorance','knowledge'); At 04:34 PM 5/29/2002 +0100, James Holden wrote: >knowledge > >-Original Message- >From: Ed Gorski [mailto:[EMAIL PROTECTED]] >Sent: 29 May 2002 16:26 >To: r; [EMAIL PROTECTED] >Subject: Re

Re: [PHP] determining where the computer is that posts to a db

2002-05-29 Thread Ed Gorski
Getting the mac address of a machine would be a BIG security holeso I really doubt there is. ed At 10:58 AM 5/29/2002 -0700, Tom Beidler wrote: >I have a time billing application and I need to determine where people are >logging in from to make sure they are signing in at work and

Re: [PHP] Why is there no OPTION EXPLICIT equivalent?

2002-05-29 Thread Ed Gorski
Go to your php.ini and turn on full error reporting.you'll get warning message if you do not initialize varsas of php4.2.1 ed At 08:11 PM 5/29/2002 +0100, Andy Arbon wrote: >Hello, > >In general I find PHP great to work with, but the number one thing that >causes b

Re: [PHP] ******************* Secure product download *******************

2002-05-29 Thread Ed Gorski
ugh a software pay site written in php.it makes me feel dirty... At 04:56 PM 5/29/2002 -0400, 1LT John W. Holmes wrote: >session_start(); >if(!isset($_SESSION["did_pay"])) >{ header("Location: http://www.example.com/pay_first.php";); } >//show download code > >Obviously you set $_SESSION[

RE: [PHP] Warning: Cannot add header information - headers already sent by

2002-05-29 Thread Ed Gorski
You need to put line 6 ahead of all the HTML, ie make it line 0. ed At 04:10 AM 5/30/2002 -0700, Anton Heryato wrote: >this script below is delete.inc >and the lagi.php is .. >1::PHp >2: >3:hahahahha >4:5:require 'delete.inc'; >6:deleteCookies(); >7:printf

Re: [PHP] Global variables

2002-05-30 Thread Ed Gorski
use a database ed At 04:35 PM 5/29/2002 +0300, serge gedeon wrote: >Dear sir, > >I would like to know if I could create using PHP, global variables that I >could use in diferrent files. I don't want to use http_get_vars or post or >cookies is there an other way?

Re: [PHP] Variable Variables

2002-05-30 Thread Ed Gorski
use isset($$key); ed At 09:29 AM 5/30/2002 +1000, David Freeman wrote: >Hi All, > >I've been trying to figure this out based on stuff on php.net but can't >seem to get a result I need. > >I have an array: > >$formarray = array ("form1" => "

Re: [PHP] your philosophy on php-design

2002-05-30 Thread Ed Gorski
well just have the "add to basket" link on index.php call add_to_basket.php which doesn't print out anything and redirect back to index.php?type=itemAdded when finished. On index.php you can check for $_GET['type'] and generate the appropriate table. ed At 09:50 AM

Re: [PHP] arrays and same index

2002-05-30 Thread Ed Gorski
Well what exactly are you trying to do? You can't name an index of an array the same thing and expect different values.... ed At 03:36 PM 5/30/2002 +0200, Victor SpÄng Arthursson wrote: >Hi! > >I want to create an array that looks like follows: > >$array["untit

Re: [PHP] RE:[PHP] Help with mail

2002-05-30 Thread Ed Gorski
You know why he barks? Tell me! At 08:06 PM 5/30/2002 -0700, r wrote: >What is this? magicians day? >I have a dog, can you tell me why he barks sometimes? > >Show us some code dude, or is it "code red" classified? >There could be a dozen possible reasons but if you show the code you stand a >

RE: [PHP] fdup & Pipes?

2002-05-30 Thread Ed Gorski
Yeah that's like me going to the bigwigs and asking if we can dump the windows servers.I At 11:00 AM 5/30/2002 -0400, Leotta, Natalie (NCI/IMS) wrote: >Like we have much of a choice - I'm sure my bosses would love it if I went >to them and asked for a "real" email client. > >-Original Me

Re: [PHP] I want a script to run after a page already loads.

2002-05-30 Thread Ed Gorski
well what does the script do? Is it integral to the page? ed At 02:42 PM 5/30/2002 -0400, Phil Schwarzmann wrote: >I have a script that takes a VERY long time to run. So the page just >kinda hangs for a minute if not longer before the script is complete. > >I want a page to fully

Re: [PHP] Hi all & Help :D

2002-05-30 Thread Ed Gorski
hehI laugh but it's not past the realm of what people do... JH>For all we know, the problem is because you actually wrote the program in Pascal, but thought it was PHP because you renamed your computer to PHP and you are trying to load the code up in MS Word on Windows 3.11. ed

Re: [PHP] Posting to a form - When user hits BACK button all the data is gone

2002-05-30 Thread Ed Gorski
The posted data on which page? The one submitted to? ed At 02:43 PM 5/30/2002 -0400, Phil Schwarzmann wrote: >When a user is posting data to a form and hits SUBMIT the user is taken >to another page. But when the user hits the BACK button on his browser, >all the posted data is gon

[PHP] How do you setup cacheing?

2002-02-21 Thread Ed Lazor
w they are going through a proxy / cache. Please, would you confirm whether this is possible and, if so, what to do to enable it? Thanks, -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] SMTP-access with PHP...

2001-06-20 Thread Ed Brady
ighly recommend reading the manual and the FAQ before posting a question to the newsgroup, typically you will get flamed if you do not. ) Ed Brady [EMAIL PROTECTED] To reply, you know what to remove - Original Message - From: "Magnus Hammar" <[EMAIL PROTECTED]> To: <

[PHP] php mail form with predefined subject

2001-07-11 Thread Ed Peddycoart
hat I want to have a mail form, with the subject set according to where the user is coming from...sort of, I guess... Can anyone point me to some example code on how to do this? Or an archive of php mailform scripts? Thanks, Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Quickbooks

2004-07-23 Thread Ed Lazor
Has anyone had success accessing Quickbooks from PHP? Sorry for asking this a second time. The first time didn't generate any response and my email server hiccuped shortly after I made the post, so I likely missed any responses sent directly to me. -Ed

RE: [PHP] Include path

2004-07-23 Thread Ed Lazor
$baseDir = $_SERVER["DOCUMENT_ROOT"]; $templatesDir = $baseDir . "/templates/"; include($templatesDir . "header.php"); include($templatesDir . "body.php"); include($templatesDir . "footer.php"); > :-) > > Good solution, but the problem is once the program is > completed it goes out of my hands

[PHP] PHP vs. Java

2004-07-26 Thread Ed Lazor
Any comments or opinions on pros and cons, especially in terms of stability, security, and future upgradability? I know this is probably one of those religious war topics, but I'd still like your feedback. -Ed

[PHP] php 5 DOM tutorials / examples?

2004-07-26 Thread Ed Lazor
Any recommendations on books, links, tutorials, etc. for PHP 5's new DOM / XML stuff? Thanks, Ed

Re: [PHP] Printing using php script CRON

2004-07-27 Thread Ed Curtis
You could try this: http://marginalhacks.com/Hacks/html2jpg/ Save the page as an image, and then run it through the printer. It does have some overhead though to get it done. Hope it helps, Ed On Tue, 27 Jul 2004, Vern wrote: > I feel like I taking a hammer and well I'm sure

RE: [PHP] Urgent..my MYSQL dies..

2004-07-27 Thread Ed Lazor
It depends on your configuration, OS, etc... > -Original Message- > From: Fitra Alfina [mailto:[EMAIL PROTECTED] > Sent: Tuesday, July 27, 2004 7:37 PM > To: [EMAIL PROTECTED] > Subject: [PHP] Urgent..my MYSQL dies.. > > please give me a command line to startup MySQL using safe_mysqld -

RE: [PHP] Re: Retrieving Stored Values for Dropdown Menu

2004-07-28 Thread Ed Lazor
> > Can you see any obvious problems I might miss.? You're specifying a variable for the option's text, but you also need to specify the option's value. For example, if you were retrieving data from MySQL: while ($record = mysql_fetch_array($results)) { echo "" . $record["Title"] . "\

RE: [PHP] Server's clock gone funny, maybe?

2004-07-29 Thread Ed Lazor
Maybe they've upgraded something on the server that's somehow affecting your code? Against MySQL 4.0.18 Query: select NOW() Results: 2004-07-29 10:48:12 Query: select NOW()+300 Results: 20040732104424 The difference in result data format would lead to the problem you're experiencin

RE: [PHP] [Q] Converting SQL Datetimes to timestamps

2004-08-03 Thread Ed Lazor
Check out strtotime in the PHP manual. It gives a few examples of how to use the function that I think will answer your first question. Next, check out mktime, time, and date. > -Original Message- > From: news [mailto:[EMAIL PROTECTED] On Behalf Of Michael T. Peterson > Sent: Tuesday, Au

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
The person starting this thread has been flogged. The flogger has been flogged. The flogging floggers flogger has been flogged. And now, back to the further adventures of PHP... Hint: please kill lame thread > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent:

RE: [PHP] running a script

2004-08-03 Thread Ed Lazor
> -Original Message- > If you have register_globals on, you can access it via $id, otherwise use > $_GET['id'] Or $_POST['id'] if you're receiving data from a form (ie. processForm.php). -Ed -- PHP General Mailing List (http://www.php.net/) To unsu

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
header("Location: " . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > -Original Message- > From: John Nichel [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 12:59 PM > To: Bing Du; [EMAIL PROTECTED] > Subject: Re: [PHP] Location header does not work? > > On Tuesday 03 Augu

RE: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
Oops... forgot to add https Header("Location: https://"; . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI']); > -----Original Message- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 1:36 PM > To: 'John Nichel'

FW: [PHP] Location header does not work?

2004-08-03 Thread Ed Lazor
> -Original Message- > From: Ed Lazor [mailto:[EMAIL PROTECTED] > Sent: Tuesday, August 03, 2004 2:33 PM > To: 'Bing Du' > Subject: RE: [PHP] Location header does not work? > > I tried the https address and it lagged badly on me as well. It did > even

RE: [PHP] javascript type cast OT

2004-08-03 Thread Ed Lazor
> -Original Message- > Was just wondering... Can you compile php with javascript support on a > Game Boy? Lol Nope, javascript is client-side and not part of PHP :P -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] CMS Ideas Welcome

2004-08-04 Thread Ed Lazor
http://www.interaktonline.com/products/KTML/ > -Original Message- > Hi all, > > I could use some advice/pointers on a sold method for achieving this > feature on a site I am building. One of the features is an event > calendar. The events are listed by date, not in a calendar view, but a

RE: [PHP] Location header does not work?

2004-08-05 Thread Ed Lazor
I sent Bing specific code that will work: If (!IsSet($_SERVER["HTTPS"])) Header("Location: https://"; . $_SERVER["HTTP_HOST"] . $_SERVER["REQUEST_URI"]); Manually go to the URL specified. https://computing.eng.iastate.edu/mambo/index.php?option=content&task=view&i d=159&Itemid=162 I

RE: [PHP] $HTTP_REFERER

2004-08-05 Thread Ed Lazor
with a better solution if you tell us what you're trying to accomplish. -Ed > -Original Message- > From: Shaun [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 9:26 AM > To: [EMAIL PROTECTED] > Subject: Re: [PHP] $HTTP_REFERER > > Hi Jason, > > T

RE: [PHP] Why do I keep getting a 501 mail error?

2004-08-05 Thread Ed Lazor
Why are you specifying the To field twice? I'd try removing the extra formatting around the email addresses for troubleshooting. > -Original Message- > From: Brian Dunning [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 8:43 AM > To: [EMAIL PROTECTED] > Subject: [PHP] Why do I

[PHP] FW: IMPORTANT: Please Verify Your Message

2004-08-05 Thread Ed Lazor
Gawd this stuff sucks. Nothing like a spammer posing as the list itself and farming email addresses from members. -Ed > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 05, 2004 11:54 AM > To: [EMAIL PROTECTED] > Subject: IM

RE: [PHP] FW: IMPORTANT: Please Verify Your Message

2004-08-05 Thread Ed Lazor
y email server rejects those also? -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Re: IMPORTANT: Please Verify Your Message

2004-08-06 Thread Ed Lazor
ou as much as possible. Of course, this is all assuming the spammer provides a valid reply to address, which most of them don't. Anyway, don't respond to spam. -Ed > -Original Message- > From: Josh Acecool M [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 20

RE: [PHP] Dreamweaver & PHP

2004-08-06 Thread Ed Lazor
used to generate HTML. Hope that helps. Otherwise, clarify what you're trying to accomplish and I'll try to help further. -Ed -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Need Some Direction

2004-08-06 Thread Ed Lazor
Adding to what Miles says, use the fopen and fread commands (see manual on the PHP site) for accessing the PDF files so that you can send copies of them to the user. Examples are in the user comments of the manual. > -Original Message- > At 05:42 PM 8/5/2004, Aaron Todd wrote: > >So far I

RE: [PHP] Re: Getting data from table as a tree

2004-08-06 Thread Ed Lazor
You could use the value of base dir variable as a point of reference rather than having to manually configure a path in the app. > -Original Message- > news:[EMAIL PROTECTED] > > Hi > > Sometimes, some clients just want a few scripts. sometimes to fix or to > add > > some features in sites

RE: [PHP] RE: IMPORTANT: Please Verify Your Message

2004-08-06 Thread Ed Lazor
Spamcease. Apparently it's the guy's anti-spam software that automatically sends messages. Interestingly enough, I don't get one each time I send something to the list, just every once in a while. > -Original Message- > Who the hell is using this as their email address on a mailing lis

RE: [PHP] Dreamweaver & PHP

2004-08-06 Thread Ed Lazor
cally, PHP that echo's field values. Like this: "> The PHP script gets called and checks to see if the form has been posted. If it has, store the record and redisplay. Otherwise, load the record and display the form. Make sense? -Ed > -Original Message- > From: V

RE: [PHP] Sessions Problem !!

2004-08-06 Thread Ed Lazor
You need to give us the error in order to help troubleshoot it. > -Original Message- > I'm kinda new at PHP and I was trying to install one of the mailing lists > and newsletter systems and during the installation process I got errors > evertime the session_start() function called .. > I

RE: [PHP] Session problems under heavy load???

2004-08-06 Thread Ed Lazor
I ran into this last month. It was a problem with the ISP's server. They were load balancing between different machines and PHP / Apache was having trouble accessing session files. > -Original Message- > From: BOOT [mailto:[EMAIL PROTECTED] > Sent: Friday, August 06, 2004 1:26 PM > To: [

<    1   2   3   4   5   6   7   >