Re: [php-list] File runs on Linux but not Windows

2008-03-14 Thread Nick Jones
> > 03132008 1604 GMT-6 > > If it was my choice it wouldnt be on a Linux system but it isnt my call. > > No permission problems. > Running apache and its under httpd so no problems there. > > I thought the slashes go either too. > > Wade > Wade, I thought the backslash "\" is the escape c

Re: [php-list] Field Changed color on status

2007-09-19 Thread Nick Jones
- Original Message From: Brian E Boothe <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Wednesday, September 19, 2007 9:53:12 AM Subject: [php-list] Field Changed color on status hi all : i want to be able to have my Listed Feild Change a diffren

[php-list] Embed AppleScript into a PHP CL script?

2007-08-24 Thread Nick Jones
Is it possible to embed AppleScript into a PHP script written for the command-line PHP interpreter? I tried using the Heredoc method to put an applescript into a string variable then run it through the shell but I keep getting a parse error no matter what I try. For a short example, say I want

[php-list] Error with Foreach and I can't find the culprit

2006-10-13 Thread Nick Jones
Hey list, I've got a PHP script that is supposed to parse through a block of text and converts all the web addresses in the block into clickable links. This is for a chat page I am creating for my family to use to keep in touch. When I try to run the file and post a new message on the page, I ge

Re: [php-list] Page load for IP

2006-08-15 Thread Nick Jones
- Original Message From: Brian E Boothe <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Tuesday, August 15, 2006 7:13:35 AM Subject: [php-list] Page load for IP HI all is there any way only a certian IP address on our network can see a particular

[php-list] FTP-enabled editor and parsing PHP on a per virtual-server basis

2006-06-29 Thread Nick Jones
Howdy list, I have two questions. First, does anyone know of a good text editor for creating PHP/HTML/JavaScript/CSS that has built-in support for FTP? Saving files locally and then uploading them again for every little change can get quite tedious. I've been using Novell's NetDrive, which lets

Re: [php-list] Drop down list box question

2006-06-02 Thread Nick Jones
- Original Message From: alternate_dph <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Friday, June 2, 2006 1:06:52 AM Subject: [php-list] Drop down list box question    Thanks for the suggestions on how to change my code to make the workaround for subqueries. I have anoth

Re: [php-list] Re: If statement depending on domain?

2006-05-30 Thread Nick Jones
- Original Message From: Jer <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Tuesday, May 30, 2006 9:11:27 PM Subject: [php-list] Re: If statement depending on domain?    That worked perfectly! Thank you, Nick. [reply] Great! Glad I could help. Good luck. -Nick [/reply]  

Re: [php-list] If statement depending on domain?

2006-05-30 Thread Nick Jones
- Original Message From: Jer <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Tuesday, May 30, 2006 8:31:38 PM Subject: [php-list] If statement depending on domain?    I've got webspace with multiple domains pointing to it. Domain A points to one directory. Domain B points to

Re: [php-list] Problems with php functions

2006-05-27 Thread Nick Jones
- Original Message From: alternate_dph <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Saturday, May 27, 2006 5:37:08 PM Subject: [php-list] Problems with php functions    I am having trouble getting php functions to work: When I load the following page, nothing shows up:

Re: [php-list] Real-time count of users on a page.

2006-05-26 Thread Nick Jones
- Original Message From: [EMAIL PROTECTED] To: php-list@yahoogroups.com Sent: Friday, May 26, 2006 7:38:12 PM Subject: Re: [php-list] Real-time count of users on a page.    On 27 May 2006, at 04:14, Nick Jones wrote: > Basically, I have a page already created and working gr

[php-list] Real-time count of users on a page.

2006-05-26 Thread Nick Jones
Hello list, I'm trying to figure out a good way to get the current count of users on a page like many popular bulletin board packages use. I've googled around quite a bit and consulted all my textbooks and manuals and come up with nothing. Basically, I have a page already created and working g

[php-list] Optimizing a PHP script

2006-05-20 Thread Nick Jones
Hello all, I have a small PHP script that creates an XML doc on-the-fly for an AJAX application. Right now the page that we've got is just using a meta refresh to fetch the new data from the server, but that's so 1999! I'm incorporating AJAX to fetch the new page data now so I've got a quick qu

Re: [php-list] Decrypting an error message

2006-05-10 Thread Nick Jones
Here's what lines 9-11 look like: mysql_connect($host,$username,$password); @mysql_select_db($database) or die( "Unable to select database"); echo "Has connected to database $database\  n"; Above it, I have variable declarations for $host, $username, and $password. This error

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Nick Jones
You need to enable the Mysql extension in your php.ini file. First, make sure the c:\php\ext\php_mysql.dll file exists. If it doesn't go to php.net/downloads and download the Windows binary zip file. It's in there. Next, open up your php.ini file (probably at c:\windows\php.ini or c:\php\php.in

Re: [php-list] Having a problem with coding from a book

2006-05-03 Thread Nick Jones
- Original Message From: Michael Sullivan <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Wednesday, May 3, 2006 1:36:22 PM Subject: Re: [php-list] Having a problem with coding from a book    On Tue, 2006-05-02 at 16:37 -0400, Ian R-P wrote: > Hey everyone, > > It just won

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Nick Jones
- Original Message From: Bob <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Tuesday, May 2, 2006 3:00:36 PM Subject: Re: [php-list] Having a problem with coding from a book Hi Michael, - Original Message - From: "Michael Sullivan" <[EMAIL PROTECTED]> > What's with

Re: [php-list] Having a problem with coding from a book

2006-05-02 Thread Nick Jones
- Original Message From: Ian R-P <[EMAIL PROTECTED]> To: php-list@yahoogroups.com Sent: Monday, May 1, 2006 9:35:19 PM Subject: [php-list] Having a problem with coding from a book    Hey everyone Just got this book "Build Your Own Database Driven Website Using PHP & MySQL" May 20

Re: [php-list] The Script doesnt submit any information to the database

2006-04-25 Thread Nick Jones
--- Olunkwa Ikechukwu <[EMAIL PROTECTED]> wrote: > Hello All, > First thanks to you all that took time to help me > out > with the script earlier, i did some changes on the > script , but the script doesnt put any data in the > table. > > Any ideas, > Here's the new script >

Re: [php-list] Advice Needed! Whats wrong with this code!

2006-04-10 Thread Nick Jones
--- Christopher E <[EMAIL PROTECTED]> wrote: > Sorry for sending this again but this time I hope I > am being clearer > of what I need and also provided the whole code as I > am now having a > different issue as I figured out alot of the other > issues. > > Hello All, > > Could someone please

Re: [php-list] pre-determined time/date in script

2006-04-05 Thread Nick Jones
--- Mark Mckee <[EMAIL PROTECTED]> wrote: > hi all > > I have had a search through google and the usual php > sites and forums > over the last few days. I am looking for info to > make a script that will > display a different logo on a pre-determined date > and time, ie. > christmas, easter and

Re: [php-list] Web Servers!

2006-03-30 Thread Nick Jones
--- Christopher E <[EMAIL PROTECTED]> wrote: > Hello All, > > I forgot to say that I am running on a AMD 64 3200 I > believe the number is. > > For Michael, WAMP5 is a package of all three things > (MySQL, PHP, > Apache) it sets it all up and configs it to all work > together. > > For Nick,

Re: [php-list] Web Servers!

2006-03-30 Thread Nick Jones
--- Christopher E <[EMAIL PROTECTED]> wrote: > Hello All, > > I am looking for a webserver that is very basic that > would allow to > dish out the php / html file also support https I > don't care for the > cgi or other stuff for other forms of programing. I > am sorely working > with php 5 a

Re: [php-list] Displaying errors in my script

2006-03-28 Thread Nick Jones
--- James Keeline <[EMAIL PROTECTED]> wrote: > --- Nick Jones <[EMAIL PROTECTED]> wrote: > > > Hello all, > > > > I have display_errors set to Off in the > /etc/php.ini > > file on my webserver, but I want to turn them on > for a > &g

Re: [php-list] WHAT DO I NEED TO DOWNLOAD IN PHP.NET TO HAVE A LOCAL PHP

2006-03-28 Thread Nick Jones
--- Olunkwa Ikechukwu <[EMAIL PROTECTED]> wrote: > I went to the PhP site to download Php and didnt > know > exactly what to download. > Pls can you tell me what to download and all the > softwares I need to download and install in my local > pc to be able to use PHP/Mysql locally. > Firstly,

[php-list] Displaying errors in my script

2006-03-27 Thread Nick Jones
Hello all, I have display_errors set to Off in the /etc/php.ini file on my webserver, but I want to turn them on for a certain development directory. I tried "ini_set('display_errors','on');" and that didn't work. AFter that I put a .htaccess file in the directory with this line in it: php_flag d

Re: [php-list] PHP Error

2006-03-25 Thread Nick Jones
--- Gordon Stewart <[EMAIL PROTECTED]> wrote: > Hi, > > for the last year or so, ive just uploaded my pages > to the website / > server to test PHP script. > (its just expired the last day or so...) > > Ive now installed PHP 5 onmy home server - & testing > it. However im > getting an error / p

Re: [php-list] help - Connecting to MySQL

2006-03-06 Thread Nick Jones
--- java4ll_cs <[EMAIL PROTECTED]> wrote: > hi all > how i connect to db on remote server by php? > i use my sql for database > > thank u all in advance Depends on the version of PHP and MySQL you are using. One of these should work for you: $foo=mysql_connect('username','password','192.168

Re: [php-list] includes lower google ranking?

2006-02-06 Thread Nick Jones
--- globalsoho6 <[EMAIL PROTECTED]> wrote: > I've just converted my entire website over to php > utilizing includes > in the header, sidebar and footer. i tried shtml a > while back and had > issues. i think the php function is simple. > i'm under the impression that detailed meta tags in > the

Re: [php-list] Need help on exporting mysql database

2005-12-09 Thread Nick Jones
--- Adnan Maqbool <[EMAIL PROTECTED]> wrote: > Sorry Cant help you but need help from you, I have > some data in mysql, how can I take its backup and > how can I use that backup to build the exact copy on > some other database and machine. > Thnx See my previous post on how to back up. To r

Re: [php-list] Need help on exporting mysql database

2005-12-09 Thread Nick Jones
--- Adam Yusfan Edwin <[EMAIL PROTECTED]> wrote: > hi..friends > > i need help for exporting mysql datable into *.sql > some of my table fields contain html code, but when > i'm exporting into sql, and import this sql code > into > other server, the html code is change, so my web > display > is

Re: [php-list] Echo the data from a mysql table

2005-12-01 Thread Nick Jones
--- valentin <[EMAIL PROTECTED]> wrote: > Hello there. I need some help ... In one of my mysql > database fields i have stored the data. It's format > is Ymd, and it is printed for example: Today is > 2005-12-01. What should i do in order to get > something like: Today is 01 Dec 2005 ? You ca

Re: [php-list] Cannot insert into db --- HELP!

2005-11-18 Thread Nick Jones
Check your php.ini file and see if "Register Globals" is turned on or not. It seems to me that your variables aren't populated with anything because the register globals switch is off. You have two options: turn on register globals (not usually a good idea), or change your variable names from $firs

Re: [php-list] How to make auto run CD for PHP/ My SQL project

2005-10-27 Thread Nick Jones
--- imran shafiq <[EMAIL PROTECTED]> wrote: > Dear Members > How to make auto run CD for installation on Windows > and Linux of PHP/My SQL project to any computer > which > already installed PHP & MySQL software. > Waiting for response > Imran Shafiq To create an autorun CD in Windows (hopefull

Re: [php-list] dynamically create PDF from a submited PHP FORM

2005-10-07 Thread Nick Jones
--- pixces <[EMAIL PROTECTED]> wrote: > Hello all, > > Im a php developer from India, currntly im busy in a > project where we > require some php tp pdf conversion work. The flow is > as follws.. > > A user submits a HTML form and the data from the > form goes into the > database... now what

Re: [php-list] Includes

2005-10-02 Thread Nick Jones
--- Tim Makins <[EMAIL PROTECTED]> wrote: > Thanks very much, Pete - that solved the problem !!! > > I'm still having trouble getting my head around this > - its rather like > 'Alice in Wonderland': concentrate not on where you > are now, but where you > might be if someone somewhere else wants

Re: [php-list] Store Image on datatable and show image

2005-09-20 Thread Nick Jones
--- Marco Branco <[EMAIL PROTECTED]> wrote: > How could i store an image on table and show? > > Thank's in advance > > MB Your best bet would be to store the image in the filesystem and then you can store it's URL or filename path in the DB and call that with PHP. Just populate it directly in

Re: [php-list] hi, book question

2005-09-15 Thread Nick Jones
I can second this. I own this book and I love it. You can usually find it on eBay/Half.com or BarnesandNoble.com for about half that price. -Nick --- Wade Smart <[EMAIL PROTECTED]> wrote: > 09152005 1122 GMT-5 > > The best book that I have ever purchased on PHP is > Larry Ullmans PHP for > the

Re: [php-list] Changing the value of $_POST vars

2005-08-26 Thread Nick Jones
--- Gordon Stewart <[EMAIL PROTECTED]> wrote: > On 8/27/05, Nick Jones <[EMAIL PROTECTED]> wrote: > > I'm trying to change the value of my $_POST > variables > > at the beginning of my script before I call them > later > > in the script, and it doesn&

[php-list] Changing the value of $_POST vars

2005-08-26 Thread Nick Jones
I'm trying to change the value of my $_POST variables at the beginning of my script before I call them later in the script, and it doesn't seem to be working. Here is what I'm trying to do: foreach($_POST as $value){ if ($value == 'on'){ $value = 1; } } But later if I call t

[php-list] Error accessing MySQL

2005-08-13 Thread Nick Jones
Hi, I am running PHP 4.3.11 and MySQL 4.1.12 on an IBM iSeries running PASE on V5R3. I had to download binaries for both and install them since we do not have a compiler on this machine and have no access to one. Well installing both was sure a bitch, but now they're both up and running, but they

[php-list] Install PHP on iSeries

2005-08-10 Thread Nick Jones
/i5php.net, and I was just wondering if anyone on this list had any particular insight or tips on this sort of endeavor? Thanks! -Nick Jones __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail

Re: [php-list] Script won't enter if control structure

2005-08-06 Thread Nick Jones
--- Wade Smart <[EMAIL PROTECTED]> wrote: > 08062005 1714 GMT-5 > > So your page is named guestbook.php and you are > resubmitting to the same > page. Is that right? > > Wade Yessir! But, I just figured out my problem, and it's just plain stupid! (spelling error, duh!). Thanks though! -Nick

[php-list] Script won't enter if control structure

2005-08-06 Thread Nick Jones
Hello all, I am creating a script for a basic guestbook as part of a class project. The same script does all three functions required: gets the input via a form, inserts it into the MySQL db, and displays the entries in the db. Here is a basic outline of my script: [html page info here] [fo

Re: [php-list] Good Reference for PHP 4?

2005-08-04 Thread Nick Jones
I've got this book that I picked up at Barnes and Noble a few weeks ago. Really good starter to PHP4, with a lot of the basics covered, between this book and the PHP manual I can do just about anything I try to do in PHP. http://www.amazon.com/exec/obidos/tg/detail/-/0321245652/qid=1123188743/sr=8

Re: [php-list] Re: How to connect to MS SQL Server

2005-07-03 Thread Nick Jones
--- edgardo -ega- catorce <[EMAIL PROTECTED]> wrote: > can i use it eventhough my php files reside in a > linux > server? thanks As long as you have the proper IP Address/DNS Name and port where the server name string goes you shouldn't have a problem connecting to a MS SQL server from a PHP sc

RE: [php-list] new to php

2005-06-29 Thread Nick Jones
--- Chuck Ouellette <[EMAIL PROTECTED]> wrote: > You need to install IIS (Internet Information > Server) its part of XP > you can add it by going to control panel -> > add/remove programs and > click on the windows tab, check the box next to IIS. Just be aware that IIS is part of XP Pro only.

Re: [php-list] creating database at remote server

2005-05-31 Thread Nick Jones
--- mn_islam <[EMAIL PROTECTED]> wrote: > Hi, >I am new in php-mysql. I have done some in my own > server. I have > created databases at command promt. but to make > database/tables at > remote server what do t have to do ? No problem. After your mysql_connect() function you'll simply send