[PHP-WIN] Webpath vs Absolute Path

2003-12-01 Thread Tony Devlin
ave caused these websites to stop allowing a webpath? Why would it all of a sudden stop working? Tony Devlin V. President / CTO Airewaves Broadband 69 Robert Smalls Prkwy. Suite 4B Beaufort, SC 29902 [EMAIL PROTECTED] http://www.airewaves.com <http://www.airewaves.com/>

[PHP-WIN] How to create an instal file?

2004-03-16 Thread Tony Devlin
Does anyone have a good reference on how I can create an install file, that based on a form that the client fills out will create a database, setup the default settings, adjust the database with the fields entered by client. Including creating the table and changing all database information to the

[PHP-WIN] MySQL query to generate Array

2004-03-22 Thread Tony Devlin
How do you setup a mysql query to generate an array? I want to take URL and URLName from a database and use it to create an array called links. I know how to do the array and the mysql seperately, I don't know how to make the results of the mysql become the key=>value pairs in the array. Any

RE: [PHP-WIN] MySQL query to generate Array

2004-03-22 Thread Tony Devlin
Something of that sort. What I'm trying to do is dynamically create links on a site. [Home] [Page1] [Page2] etc. The array would look something like array("Home" => "index.php", "Page1" => "Page1.php"); The site is dynamically created. The user is able to create and edit new pages and thus

[PHP-WIN] MySQL Limit Question

2004-03-31 Thread Tony Devlin
How can I setup a query to select from a database ONLY the last 5 inserted rows. OR atleast the last 5 starting from this date back, but only select the last 5 in order. If anyone has any suggestions I'd appreciate them. Thanks, Tony

RE: [PHP-WIN] quotes in mysql

2004-04-02 Thread Tony Devlin
strip slashes on any field where you think a ' or " might be used. Tony Devlin V. President / CTO Airewaves Broadband 69 Robert Smalls Prkwy. Suite 4B Beaufort, SC 29902 [EMAIL PROTECTED] http://www.airewaves.com tel: (843) 379-2473 fax: (800) 861-6301 mobile: (678) 480-4959 -O

RE: [PHP-WIN] Date Format in MySQL

2004-05-18 Thread Tony Devlin
Disclaimers are not legally binding in email, so I have no idea why people feel the need to include them. The reason why disclaimers are not legally binding in email is because the recipient has no way to read the disclaimer and reject the email prior to reading the message, it would be like forci

[PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Tony Devlin
If my understanding of SWITCH is correct, it stops at the first case that matches the result, correct? So then.. If I have a switch as such; switch($qty){ case ($qty < 1600): //$qty is less than 1600 do something break; case ($qty < 2400): //$qty is less than 2400 do something break; case

RE: [PHP-WIN] Question concerning SWITCH and Comparisons

2004-11-11 Thread Tony Devlin
00): //$qty is less than 2400 and I modified the semi-colon of this part of code: case ($qty >= 2400): //$qty is greater than or equal to 2400 I tried your code and It works! Hope this helps, Alex - Original Message ----- From: "Tony Devlin" <[EMAIL PROTECTED]> To: "Ph

[PHP-WIN] GD Image Resizing on the fly.

2004-11-19 Thread Tony Devlin
ct sizes that we want the shopping cart images to be. Anyone have any ideas? If you need more information just ask. Thanks everyone -- this is such a great community! Tony Devlin

[PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
en every file inside that folder will have the switch applied to it. I am sure this is possible, anyone have any ideas about how to do this? Greatly appreciated, Tony Devlin

RE: [PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
" thing that you're trying to avoid. Maybe if you could clarify what you're trying to do, it might help us determine the best course of action. -TG > -Original Message- > From: Tony Devlin [mailto:[EMAIL PROTECTED] > Sent: Monday, November 22, 2004 9:20 AM > >

RE: [PHP-WIN] How can I?

2004-11-22 Thread Tony Devlin
Anyway, that's what I'd do instead of worrying about switch statements and all. Would that work for what you're trying to do? -TG > -Original Message- > From: Tony Devlin [mailto:[EMAIL PROTECTED] > Sent: Monday, November 22, 2004 11:20 AM > To: Php-Windows

[PHP-WIN] Category/SubCategory

2004-12-02 Thread Tony Devlin
When displaying the category/sub/sub-sub category listing to the viewers, whats the best way to handle the output? Thanks in advance for all your help, Tony Devlin

RE: [PHP-WIN] Presenting code snipetts in standard PHP colours

2004-12-09 Thread Tony Devlin
PHP's website (http://www.php.net) has a great solution to displaying source code. If you view the source code on their site you can see how they do it. It's just a basic function to loop through the text and place in code to highlight in various places. In fact here is that portion of code: fun

[PHP-WIN] Searching for UPS tool

2005-01-03 Thread Tony Devlin
Hello List, Does anyone have or know where I can find a functional UPS shipping tool? I have found tons for their old ups tool (which no longer function), they have since switched to an XML version and my attempts have been futile, including trying to find someone elses working version. So m

RE: [PHP-WIN] Re: Searching for UPS tool

2005-01-04 Thread Tony Devlin
Thanks for the ignorant reply. I'll assume that you hastidely read the email and didn't see the part where I said "I have searched". They have Jscript examples, but I can't decipher that spanglish. Their documentation, although very bloated, gives no real answers to anyof my needed ques

RE: [PHP-WIN] RE: [PHP] php editor

2005-01-14 Thread Tony Devlin
I use HTML-Kit or Ultra Edit (depending on which machine I am developing on). HTML-Kit can be found here (http://www.chami.com/html-kit/), It's like wordpad with steriods (color coding, plug in ability (however I have not tried any), line highlighting, other helpful tools). Tony D