[PHP] PHPMyAdmin interface

2002-07-24 Thread paulson
I have just recently just signed up for virtual hosting with a MySQL database. They do not have a PHPMyAdmin interface too access the database. All they have given me is my username and password and the server too login too. They suggested that I install PHPMyAdmin on my workstation and access

[PHP] removing myself off the mailing list?

2002-08-15 Thread paulson
I seem too have lost my e-mail regarding removing myself off the list. I use the newsgroups now. If anyone can send me the e-mail on how too remove my self off the mailing list. That would be greatly appreciated. Paul -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] recommend any good learning books

2002-06-21 Thread paulson
I am coming over from Perl life. Does anyone recommend any good beginners books on learning PHP? I am looking for something similar too learning perl from Oreily. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] dreading OOP

2003-01-21 Thread Jay Paulson
The easiest way for me to explain and understand OOP was to think of it this way. You have an object and in that object contains functions that only pertain to that one object. See diagram below. Object1 | |_ function1 | |_ function2 . . etc Object2 | |_ function1 | |_ func

Re: [PHP] Detecting resolution

2003-01-21 Thread Jay Paulson
You have to use JavaScript for this. Sorry! but i've asked the same question on here a long time ago :) - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 11:22 AM Subject: [PHP] Detecting resolution > Does anyone know how to detect th

[PHP] Directory Permissions?

2003-02-26 Thread Jay Paulson
I was running fileperms() function to find out what a directory is chmod'ed to. However, this doesn't return anything because it has to check a file. My question is there a function that will return what a directory is chmod'ed to? Thanks! Jay -- PHP General Mailing List (http://www.php.net/)

[PHP] Opinions on Micro$oft .NET

2003-07-31 Thread Jay Paulson
I know this is a little off topic but I really need some help with this. The company I work for just got bought out by a larger company. The larger company uses .NET from Micro$oft. I of course use all open source stuff for our web sites and now the new company wants to come in and pretty muc

[PHP] Saving a file as ASCII?

2003-03-20 Thread Jay Paulson
Quick question... when saving a file using the fwrite() function in a Unix enviroment as a text file does it get saved as ASCII??? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] is this correct? regular expressions

2003-03-25 Thread Jay Paulson
just trying to say if $phone isn't all numbers set it to all zeros.. so is that right? cause i can't seem to get it to work. if (!ereg("^[0-9]$",$phone)) { $phone = "00"; } thanks!

[PHP] Return Character in a Text File?

2003-03-27 Thread Jay Paulson
I have a slight problem. Is there anyway to make a text file with a return character that doesn't show up in windows notepad as a gibberish character and actually puts a return in it? Right now I'm using the "\n" for the return but it doesn't get read in notepad as a return so the string data

RE: [PHP] GEnerating PDF's

2003-06-03 Thread Brian Paulson
Petre, We use the R&OS PDF Class its very easy to set up and has a ton of options, best part is that you don't need PDFLIB. http://www.ros.co.nz/pdf Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544

[PHP] CLI problems

2003-06-04 Thread Brian Paulson
) 1998-2003 Zend Technologies [EMAIL PROTECTED] user]# vi test.php #!/usr/bin/php [EMAIL PROTECTED] user]# ./test.php : bad interpreter: No such file or directory -rwxrwxrwx1 user user 39 Jun 3 15:43 test.php Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1

RE: [PHP] getting page title using PHP

2003-06-11 Thread Brian Paulson
$string = $regs[2]; } } return $regs[1]; } } Hth Thank You Brian Paulson Sr. Web Developer Email: [EMAIL PROTECTED] Phone: 1-800-279-6397 Fax: 1-719-544-0264 URL: www.chieftain.com --

[PHP] Errors with 4.2.2

2002-07-23 Thread Brian Paulson
on some pages, but not all pages Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Emalloc Fatal Error

2002-07-02 Thread Brian Paulson
not all pages that access the database cause the error. This problem is the only think keeping me from moving to 4.2.1 Any help would be appreciated. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- PHP General Mailing List (http://www.php.net/) To

[PHP] PHP on a .NET enviroment machine: Conflicts?

2003-09-10 Thread Jay Paulson
Quick question to the community here. The company I work for got bought out and now they are wanting to migrate all the web sites that I have created in PHP to their Windows, IIS, .NET enviroment. I have been trying to talk to the people at corporate about putting PHP on their Windows machines

RE: [PHP] php'ed mysql query

2001-01-16 Thread Brian Paulson
Try printing the $query1 to the browser and see what it looks like that solves 99% of my Query problems. Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Christopher Allen [mailto:[EMAIL PROTECTED]] Sent

RE: [PHP] Tutorial?

2001-03-02 Thread Brian Paulson
You might also go to http://www.devshed.com they have a very good php section. For code to look at go to http://www.weberdev.com/ or http://www.zend.com Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jeff

RE: [PHP] Not isset

2001-03-09 Thread Brian Paulson
try if(!(isset($order))) { $order=$Table."ID"; } hth Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Mike [mailto:[EMAIL PROTECTED]] Sent: Friday, March 09, 2001 1:34 PM

RE: [PHP] search results return by relevancy

2001-04-19 Thread Brian Paulson
You might try this article on devshed on how to create a search engine using MySql and php. http://www.devshed.com/Server_Side/PHP/Search_Engine/ I currently use this same Technique to run our classifieds at http://www.chieftainclassifieds.com Thank you Brian Paulson Sr. Web Developer [EMAIL

RE: [PHP] PHP & Java ?

2001-05-04 Thread Brian Paulson
Is there any way that we can see the page? That might help in sorting out the problem Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -Original Message- From: Jack Sasportas [mailto:[EMAIL PROTECTED]] Sent: Friday, May 04, 2001 11:22

[PHP] accessing Javascript Cookies with php

2001-05-08 Thread Brian Paulson
this same Problem? Thank you Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com 1-800-269-6397 -- 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

[PHP] Apache not starting after installing php --with-gd

2001-05-18 Thread Brian Paulson
this happening with Mysql and we have been using mysql with out any troubles. we re using a Cobalt Raq3i Any Ideas? Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain www.chieftain.com 1-800-279-6397 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail

[PHP] Compile problems php 4.1.1

2002-01-14 Thread Jay Paulson
I'm trying to compile php 4.1.1 and when it gets to the --with-apxs option it errors out with the following: Sorry, I was not able to successfully run APXS. Possible reasons: 1. Perl is not installed; 2. Apache was not compiled with DSO support (--enable-module=so); 3. 'apxs' is not in your

[PHP] Removing every thing between ( )

2002-02-20 Thread Brian Paulson
Hello, What would the regular expression be to remove all the text between ( ) $string = "This is a (001 Test) and (002 Test)"; The numbers always change but the word stays the same Any help would be appreciated. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTE

RE: [PHP] Re: Removing every thing between ( )

2002-02-20 Thread Brian Paulson
a0a@bpaulson>, [EMAIL PROTECTED] (Brian Paulson) wrote: > What would the regular expression be to remove all the text between > ( ) > > $string = "This is a (001 Test) and (002 Test)"; $string=preg_replace("/\(.+\)/U",'',$string); Note t

RE: [PHP] Removing every thing between ( )

2002-02-20 Thread Brian Paulson
Ok help me out here, isn't the point of this list to get help? How long is too long to work on a solution before ask for help? Brian -Original Message- From: bvr [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 20, 2002 2:33 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Removing ever

RE: [PHP] Replacing non exact strings

2002-05-03 Thread Brian Paulson
Julio, Try this $search = "Joe Doe"; $original = "Joe Cougar Doe"; $final = "Joe Cougar Doe"; $terms = explode(" ",$search); for($i=0; $i".$terms[$i]."", $original); } echo $original; Should get you started. Thank You

RE: [PHP] Weather Scripts

2002-02-21 Thread Brian Paulson
have the source if you want to use it, but at the moment it is in no condition to be used on a live site. Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -Original Message- From: Simos Varelakis (OLD) [mailto:[EMAIL PROTECTED]] Sent: Thursday

[PHP] Displaying Image with PHP

2002-03-29 Thread Jay Paulson
Hello-- I can't quite seem to get this to work. What I'm trying to do is pull data out of a MySQL db of an image that I had put into the db. When I originally put the image into the db I had to use the "addslashes" function so that it would be inserted into the db correctly. Now when I select

[PHP] Image Question

2002-04-08 Thread Jay Paulson
Hello everyone. I'm uploading an image, resizing it, then base64_encoding it to put the image into a data base.. then when I view it out of the data base using the base64_decode function it looks horrible. Below is the original image off of IMDB.com http://us.imdb.com/ImageView?u=http%3A//images

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
e because some of my writers don't know the first thing about image editing and can't resize the image themselves. - Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "'Jay Paulson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Se

Re: [PHP] Image Question

2002-04-08 Thread Jay Paulson
gt; experience programming graphics in PHP but I thought I'd offer up this > possiblity. Hope it helps. -Kevin > > - Original Message - > From: "Rick Emery" <[EMAIL PROTECTED]> > To: "'Jay Paulson'" <[EMAIL PROTECTED]>; <[EMAIL

[PHP] anyone have...

2001-10-23 Thread Jay Paulson
anyone have a function that strips out all the characters in a string that are no a-z or A-Z? thanks... -- 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: [EM

[PHP] file system question

2001-10-24 Thread Jay Paulson
Hello- I'm trying to write a php script that creates a directory and then copies uploaded files to that directory. That isn't hard but what is hard is the fact that the script tells me that i do not have permission to do any of these actions. I'm running red hat 7.1 and I have heard things abou

RE: [PHP] I suck at regular expressions!

2001-11-15 Thread Brian Paulson
Been Using this Function for some time and works real well with two exceptions 1. if the title line has a CR in it it will no get the title Example: This is a bad Title 2. If there are any other < > tags in the title it will fail. ([^<]*)(.*)', $string, $regs ) )

RE: [PHP] quick friday query

2001-11-16 Thread Brian Paulson
Casper, My guess would be that the folder that you are trying to write the file to doesn't have the correct permissions to allow the webserver to write to it. Try that and let me know if it works! Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftai

[PHP] WXFEED Weather Script

2001-11-20 Thread Brian Paulson
I am trying to locate a script called WXFEED by John Sanders. The only place this script seems to be located is on hotscripts but the link no longer works. So if any one has downloaded it and still has it around I would appreciate it if I could get a copy. Thank You Brian Paulson Sr. Web

[PHP] php as cron

2001-12-10 Thread Jay Paulson
I'm trying to test php running as a cron job and I have installed php as a CGI in /usr/local/bin and I have edited my crontab file to call a php file every two minutes. However, it's not working and I was wondering if you all would know what's going on. Anyway, here's how I have things set up

Re: [PHP] php as cron

2001-12-10 Thread Jay Paulson
but dont get overrun with pointless emails) > > Hope that helps :) > > -- > Shane > > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > I'm trying to test php running as a cron job and I have installed php as a > > CGI in /usr/local/bin and I have edited my cro

Re: [PHP] php as cron

2001-12-10 Thread Jay Paulson
> Sent: Monday, December 10, 2001 1:12 PM Subject: RE: [PHP] php as cron > > Why not just use lynx to run it? > > */2 * * * * /usr/local/bin/lynx -dump crontest.php > > JR > > > > On Monday 10 Dec 2001 5:54 pm, Jay Paulson wrote: > > > I'm trying to test p

[PHP] 4.1.0 and is_file

2001-12-12 Thread Brian Paulson
this problem? Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] http://www.chieftain.com -- 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

RE: [PHP] Parsing HTML tags

2001-04-13 Thread Brian Paulson
eturn $regs[1]; } } call it like so print(title("home.htm","web/articles")); The only drawback is if there is any < > tags in between the tags it will not get the title, also if the title is on two lines like this This is the title of my page

[PHP] ereg function

2001-05-24 Thread Jay Paulson
ble $fname just has characters a-zA-Z and nothing else. Anyway, I'm running PHP 4.0.5 and I'm using the ereg function else where and it seems to work fine. Thanks, Jay Paulson

[PHP] php and flash 5 books?

2001-06-19 Thread Jay Paulson
Anyone know of any good books that actually deal with php interfacing with flash 5? I've found one book but just curious if there are others out there... thanks, jay

[PHP] php and flash 5 books?

2001-06-19 Thread Jay Paulson
Anyone know of any good books that actually deal with php interfacing with flash 5? I've found one book but just curious if there are others out there... thanks, jay

Re: [PHP] php and flash 5 books?

2001-06-20 Thread Jay Paulson
t one chapter wasn't worth the $80 or so for the book.. would just rather go to barnes and noble get a cup of coffee and read that one chapter while I'm there :) Jay Paulson Internet Program Director LBJS [EMAIL PROTECTED] p.s. anyone going to the O'Reilly Open Source Con

[PHP] Maestro and PHP

2001-06-20 Thread Jay Paulson
does anyone know if php can talk to maestro? btw maestro is a catalogging system / software that a lot of radio stations use to play songs etc on the radio.. if you want to know more about it you can visit: http://www.ccc-dcs.com/1-1-1.html Thanks, Jay Paulson Internet Program Director LBJS

[PHP] php.ini and mail

2001-06-21 Thread Jay Paulson
. mail.servername.com) and it fails to connect every time. Does anyone know what i need to do to get this to work correctly? Thanks, Jay Paulson Internet Program Director LBJS [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For

[PHP] APXS -S option in 4.0.6

2001-06-28 Thread Brian Paulson
/sites/home/users/admin/php-4.0.6' make: *** [install-recursive] Error 1 Thank You Brian Paulson Sr. Web Developer [EMAIL PROTECTED] The Pueblo Chieftain www.chieftain.com 1-800-279-6397 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] F

Re: [PHP] caching

2001-07-03 Thread Jay Paulson
.. header ("Cache-Control: no-cache, must-revalidate"); Jay Paulson Internet Program Director LBJS [EMAIL PROTECTED] - Original Message - From: "Jon Yaggie" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, May 30, 2001 5:36 PM Subject: [PHP] cac

[PHP] Question about Sessions

2001-07-05 Thread Jay Paulson
Hello everyone-- I've got a general question about cookies and sessions. I was wondering if this is how php handles sessions because this is what I want. Is it possible to set up php so that the session id is the only thing that is set in the cookie and then all the session data is either pushe

Re: [PHP] PHP/mySQL Query

2001-07-05 Thread Jay Paulson
what you want to do is a join so it'd look something like this.. select teampages.ownerID, teampages.last_update, owners.teamname FROM teampages, owners where teampages.ownerID= owners.ownerID ORDER BY teampages.last_update DESC LIMIT 10 hopefully that will work! :) jay - Original Messag

Re: [PHP] Question about Sessions

2001-07-05 Thread Jay Paulson
rs in the flash just to pass the session id.. but i will if i have too.. thanks, jay - Original Message - From: <[EMAIL PROTECTED]> To: "PHP users" <[EMAIL PROTECTED]> Sent: Thursday, July 05, 2001 7:36 PM Subject: Re: [PHP] Question about Sessions > Hi Jay!

Re: [PHP] Need help with timestamp....

2001-07-05 Thread Jay Paulson
if you want the current time all you have to do is this.. :) echo date("l d F, Y g:i A") that will out put: Thursday 05 July, 2001 7:52 PM or whatever time your system is at it will echo it in that format.. hope that helps! jay - Original Message - From: "JustinS" <[EMAIL PROTECTED]>

RE: [PHP] building a search engine ??

2001-07-12 Thread Brian Paulson
http://www.htdig.org -Original Message- From: Navid A. Yar [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 12, 2001 10:50 AM To: 'scott [gts]'; 'php' Subject: RE: [PHP] building a search engine ?? This sounds interesting. Where can I find htdig? -Original Message- From: scott

[PHP] Question about hosting

2001-07-18 Thread Jay Paulson
Hello everyone- I need some expert advice so I turn you to all! :) I'm am currently in the process of making 7 web sites using PHP and MySQL backend. I'm porjecting that all of these sites combined will get a million plus hits a month easy when it's all said and done. What I'm wanting to do is

Re: [PHP] a good PHP editor

2001-07-18 Thread Jay Paulson
That's what I use and I LOVE it.. but i also hear that homesite and UltraEdit are very good as well.. never used them so i can't compare.. :) jay - Original Message - From: "E. Peter K. Chan" <[EMAIL PROTECTED]> To: "doug" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, July 18

[PHP] installing sablot on win2k and php

2001-07-30 Thread Jay Paulson
I'm trying to install sablot on my win2k machine. I have PHP 4.0.5 and in the /php/dlls/ directory there is the expat.dll and the sablot.dll. Also, in the /php/extentions/ directory there is the php_sablot.dll. I have a small test script to see if it's working and also printing out the phpinfo(

Re: [PHP] Large Calculations

2001-07-30 Thread Jay Paulson
why don't you calculate the stats every time someone inserts new stats... you could have a column in your table for the average of the stats you want.. that way when you want to call them back up all you have to do is get that one column and save your cpu all that processing power... that's my tho

[PHP] fopen not opening url

2001-07-30 Thread Jay Paulson
hello- I'm trying to use the fopen() command to open the url below and just read it into another $var. However, I'm having some problems the warning i get is below along with the url in the warning. Anyone know what's going on here?? Thanks, jay Warning: php_hostconnect: connect failed Warn

Re: [PHP] fopen not opening url

2001-07-30 Thread Jay Paulson
Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "'Jay Paulson'" <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 1:52 PM Subject: RE: [PHP] fopen not opening url > Hi jay, > > I've done the exact thing you'

[PHP] fopen not opening url

2001-07-30 Thread Jay Paulson
Original Message - From: "Jack Dempsey" <[EMAIL PROTECTED]> To: "'Jay Paulson'" <[EMAIL PROTECTED]> Sent: Monday, July 30, 2001 1:52 PM Subject: RE: [PHP] fopen not opening url > Hi jay, > > I've done the exact thing you'

Re: [PHP] fopen not opening url

2001-07-31 Thread Jay Paulson
ction GetLine() { > $timeout=30; > $iStartTime = time(); > set_socket_blocking($this->connection, false); > > $line = fread($this->connection,128); > while(empty($line)){ > $line = fread($this->connection,128); > usleep(25); > } > if ($debug) { > print

Re: [PHP] fopen() issue

2001-07-31 Thread Jay Paulson
hmmm.. i'm having the same sort of problem.. although fopen() won't even open yahoo.com.. what kind of errors are you getting? jay - Original Message - From: "Greg Donald" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, July 19, 2001 5:24 PM Subject: [PHP] fopen() issue > W

[PHP] PHP and Apache

2001-08-13 Thread Jay Paulson
hello everyone- I was wondering if any of you had a problem compiling Apache 1.3.20 with mod_php4? Because I can compile, make, make install for redhat 7.1 for php 4.0.6. When I run my configure script for apache i have --activate-module=src/modules/php4/libmodphp.a as one of the lines in the s

Re: [PHP] PHP and Apache

2001-08-13 Thread Jay Paulson
yeah i've tried that too and i still get the same error(s) >From: Rasmus Lerdorf <[EMAIL PROTECTED]> >To: Jay Paulson <[EMAIL PROTECTED]> >CC: PHP <[EMAIL PROTECTED]> >Subject: Re: [PHP] PHP and Apache >Date: Mon, 13 Aug 2001 12:07:39 -0700 (PDT) >

[PHP] Virtual Servers (apache) and php

2001-08-14 Thread Jay Paulson
Hello- I'm using the virutal hosting in Apache 1.3.19 and I was wondering how to I load php as a module in apache for each virutal web site? anyone have a good link telling you how to do this.. ie a tutorial on the topic? i've read the docs on apache.org and it doesn't really say much at all ab

[PHP] Apache virtual hosts & php

2001-08-15 Thread Jay Paulson
anyone know the permissions that need to be set on sub-directories of apache when you are using virtual hosts? The reason I ask is I keep getting a 403 forbidden "you do not have permission to access / on this server" and i'd really like to check to see if my install of PHP is working correctly.

Re: [PHP] Apache virtual hosts & php

2001-08-15 Thread Jay Paulson
August 15, 2001 10:59 AM Subject: Re: [PHP] Apache virtual hosts & php > 755 :) > Kunal > - Original Message - > From: "Jay Paulson" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Wednesday, August 15, 2001 9:26 PM > Subject: [PHP] Apach

[PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
oping? Do you all think that I could get some more developers to work on this software to make it even more powerful than it is now? The reason why I ask these qestions is I don't want to go with Micro$oft, throw away 4 months of work, and have to learn entirely new stuff. Any suggestions o

Re: [PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
I did want to get the input of the open source community first so I could have something to back up why we could use what I have developed instead of the other company's software. Thanks for all your help! Jay Paulson Internet Program Director LBJS [EMAIL PROTECTED] - Original Message -

Re: [PHP] Need open source community help!

2001-08-15 Thread Jay Paulson
liability will win and make you happy > in the long run, it's too bad people realized this when they need to spend > to many evenings rebuilding the server from scratch! > > py > > - Original Message - > From: "Jay Paulson" <[EMAIL PROTECTED]> > T

[PHP] MYSQL_SOCKET

2001-08-15 Thread Jay Paulson
the variable MYSQL_SOCKET is set to /tmp/mysql.sock and i need it to be /var/lib/mysql/mysql.sock is there anyway i can set this variable in php? thanks...

Re: [PHP] PHP on client-side

2001-08-16 Thread Jay Paulson
the only problem with PHPGTK is that if you make an app with it and you pass it on to your friend they have to have php installed and running on their machine to run your app. I've heard of some people actually running a small installer that installs php on the client machine so that they can run

[PHP] Re: [PHP-DB] MYSQL_SOCKET

2001-08-16 Thread Jay Paulson
looked for the my.cnf file and it's not on the machine. Thanks, Jay - Original Message - From: "Jonathan Hilgeman" <[EMAIL PROTECTED]> To: "'Jay Paulson'" <[EMAIL PROTECTED]> Sent: Wednesday, August 15, 2001 6:55 PM Subject: RE: [PHP-DB]

Re: [PHP] MYSQL_SOCKET

2001-08-16 Thread Jay Paulson
well i just compiled php again and that still didn't solve the problem... i guess i just need to keep recompiling php until i get that variable set to the right thing? thanks, jay - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Jay Pauls

Re: [PHP] E-commerce

2001-08-20 Thread Jay Paulson
you can actually download some php stuff for free.. try phpbuilder.com or phpclass.com there's a lot out there you just have to find it.. :) jay - Original Message - From: "Eugene Yi (InfoSpace Inc)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, August 20, 2001 5:10 PM Subjec

[PHP] header function

2001-08-20 Thread Jay Paulson
Hello everyone- I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my script and it hit's: header("Location:index.php"); well the thing is once it hits that line in my script and just fails, however i don't get any type of parse error the browser just says 404 error page no

[PHP] header function

2001-08-21 Thread Jay Paulson
Hello everyone- I have a slight problem.. I'm running php 4.0.6 on RedHat 7.1 and I run my script and it hit's: header("Location:index.php"); well the thing is once it hits that line in my script and just fails, however i don't get any type of parse error the browser just says 404 error page no

Re: [PHP] header function

2001-08-21 Thread Jay Paulson
exactly is going on. [Mon Aug 20 17:23:03 2001] [error] [client 64.132.13.114] File does not exist: /home/username/htdocs/admin/.php - Original Message - From: "Tyler Longren" <[EMAIL PROTECTED]> To: "Jay Paulson" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTEC

Re: [PHP] Page detect

2001-08-21 Thread Jay Paulson
if you want the name of the page you are on (i.e. index.php) you can use the $PHP_SELF variable.. if you want to know what page you came from you can use the $HTTP_REFERER variable.. just remember to get those variables you have to have php parse the page (so it can't just be a plain html page) j

[PHP] header() not working.

2001-08-21 Thread Jay Paulson
anyone know why the header() wouldn't work? I don't have anything being printed out before or after I call the header(). The only thing that does happen is when it tries to redirect the user it sends them to a 404 page error. Also, when I check the web server log it says it's trying to call

Re: [PHP] To jump or not to jump?

2001-08-21 Thread Jay Paulson
I would say not to embed php in html... look at class.FastTemplates.php, just go to google.com and do a search.. also some people like PHPLib Templates. jay - Original Message - From: "Seb Frost" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 2:10 PM Subject:

Re: [PHP] header() not working.

2001-08-21 Thread Jay Paulson
" <[EMAIL PROTECTED]> Sent: Tuesday, August 21, 2001 2:27 PM Subject: RE: [PHP] header() not working. > header() works. > > it's the text that header() is printing > that's causing problems. > > what are you outputting via header() ? > > > -Origi

Re: [PHP] phpMyAdmin install error

2001-08-22 Thread Jay Paulson
I had the EXACT same problem... what you need to do is find where the 'mysql.sock' file is on your computer (sometimes it's at /var/lib/mysql.sock or some place like that).. then what you need to do is create the mysql.sock file in the /tmp directory (for some reason it wouldn't let me copy over t

Re: [PHP] sessions and sessionfiles

2001-08-22 Thread Jay Paulson
in the php.ini you can set the garbbage collection higher than 1 but that puts a bigger load on your computer... what garbage collection does is that it goes through and deletes all the session files that have expired due to the setting of the session.gc_maxlifetime.. so right now with the way you

[PHP] pspell?

2001-08-24 Thread Jay Paulson
what is the switch to configure pspell in php? is it --enable-pspell? because i've tried that and --with-pspell and it's not working.. when i pull up my phpinfo.php pspell isn't configured with it. Anyone know how to configure it pspell with php? jay -- PHP General Mailing List (http://www.ph

[PHP] MySQL read only?

2001-08-22 Thread Jay Paulson
Anyone know why a MySQL table is set to read only? I'm logged in as the root user of MySQL and I have checked the privalages of the root user in the MySQL table and everything is set to "Yes" and I'm able to add and delete users in the MySQL table. Here's what I did... I had a database on my Win

[PHP] restoring mysql db after mysqldump

2001-08-22 Thread Jay Paulson
Hello everyone- I have done the mysqldump function and got the db in a all_database.sql file. Now I am running this command at the shell prompt of my Linux machine: mysql -u root -p -e 'all_databases.sql' When I do that it works fine until it starts to insert the information into the database.

[PHP] Re: [PHP-DB] restoring mysql db after mysqldump

2001-08-22 Thread Jay Paulson
Original Message - From: "Rick Emery" <[EMAIL PROTECTED]> To: "'Jay Paulson'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Wednesday, August 22, 2001 12:18 PM Subject: RE: [PHP-DB] restoring mysql db after mysqldum

[PHP] Last Modified question..

2001-08-28 Thread Jay Paulson
I have a problem... I want to check the last modified time that a file was changed/updated. Actually, it's an employee database that I'm working on and I thought about just checking the last modified date on the file that the information was stored on. However, I get a permission denied error an

RE: [PHP] Is it possible to detect the Browser type/version in PHP?

2001-09-11 Thread Brian Paulson
Here is something that I use and works good Thank You Brian Paulson Sr. Web Developer The Pueblo Chieftain Online [EMAIL PROTECTED] http://www.chieftain.com > -Original Message- > From: nayco [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, September 11, 2001 9:48 AM > To

[PHP] easy cookie question

2001-09-13 Thread Jay Paulson
How do you set a cookie not to ever expire even after the browser is closed? I've tried the following: setcookie("cookie","value"); and when you close the browser it has to set the cookie again, which i don't want it to do. Thanks, jay -- PHP General Mailing List (http://www.php.net/) To un

[PHP] manipulating graphics

2001-09-18 Thread Jay Paulson
Hello everyone- I've been looking at the php manual to see what functions are available to resize images. I was wondering if there was a function that Constrained the Proportions of the image or am I going to have to write that function? Thanks, jay -- PHP General Mailing List (http://www.ph

[PHP] Multiple Uploads in one form

2001-09-20 Thread Jay Paulson
Hello everyone- I'm trying to have multiple uploads in one form so my input tag looks like this: The problem I'm running into is that I know php usually sets the name of the file to $userfile_name and sets the mime type of the file to $userfile_type and the size to $userfile_size. My questi

[PHP] Multiple Uploads in one form

2001-09-20 Thread Jay Paulson
Hello everyone- I'm trying to have multiple uploads in one form so my input tag looks like this: The problem I'm running into is that I know php usually sets the name of the file to $userfile_name and sets the mime type of the file to $userfile_type and the size to $userfile_size. My questi

Re: [PHP] Multiple Uploads in one form

2001-09-20 Thread Jay Paulson
Quick question... how do I get the information out of the $imageFile array that is here in the phpinfo? HTTP_POST_FILES["imageFile"] Array ( [name] => Array ( [0] => 101x_button.gif [1] => am_button.gif ) [type] => Array (

[PHP] What is the difference?

2001-09-20 Thread Jay Paulson
What's the difference between these two variable? $HTTP_POST_FILES["imageFile"]["name"][0] $HTTP_POST_FILES["imageFile"]["name"][1] $imageFile["name"][0] $imageFile["name"][1] The reason why I ask this is I get this error below when I echo out $imageFile["name"][0] etc. Warning: Undefined inde

Re: [PHP] Multiple Uploads in one form

2001-09-20 Thread Jay Paulson
Hello- I'm having a problem once I upload a file and I need to copy it to a new directory using php. The error message I keep getting is this: Warning: Unable to create '/home/krox/krox.com/htdocs/images/101x_button.gif': Permission denied in /php/news/news.class.php on line 227 My question is

  1   2   3   >