[PHP] Missing

2002-10-31 Thread Adam Voigt
Ok, what am I missing? The file sdlksd doesn't exist, and the program's not dying, any ideas? #!/usr/local/php_4.2.3/bin/php -q ?php if(!file_exists(sdlksd)) die(DOH!); ? Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Missing

2002-10-31 Thread Adam Voigt
For some reason, if I didn't change it to: die(DOH!\n); it wouldn't work, I guess in console mode, you have to shunt an extra newline character (\n) before it will work. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-10-31 at 11:28, Chris Hewitt wrote: Adam Voigt wrote: #!/usr/local/php_4.2.3

[PHP] Stop At Return

2002-10-31 Thread Adam Voigt
for 12 characters of input) any ideas? (Other then to loop through taking what character at a time checking to see if it's the return key.)? Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] strtotime bug? end of the month.

2002-10-31 Thread Adam Voigt
Not a very good solution, but +4 weeks works. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-10-31 at 11:33, Jeff Bearer wrote: date(Y-m-d,strtotime(+1 month)) returns December 1st! This happens when you add 1 month to any day that doesn't exist in the next month. Quite annoying that you have

Re: [PHP] unlink function

2002-10-31 Thread Adam Voigt
Unlink function isn't broken, you just don't have the correct rights set on the files, so PHP can't erase them, fix the permissions and that will take care of that error. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-10-31 at 12:46, Andres, Cyrille wrote: Hello everyone, I upload some files

Re: [PHP] command to determine the end of a page?

2002-10-31 Thread Adam Voigt
I tried to do what your talking about, never found a way, other then guessing where it would end with a lot of test runs. We ended up switching to writing out PDF's which is much more scientific where you can just check X,Y coordinates to see where you are on the page. Adam Voigt [EMAIL PROTECTED

Re: [PHP] Framed Redirect

2002-10-29 Thread Adam Voigt
What do you mean framed redirect? If you mean make frame go to a different url, just use javascript. If you mean make a link target a frame, just use target= in the a href. On Tue, 2002-10-29 at 09:11, Martin Wright wrote: I'm new to PHP :( Can someone either give me a hint on how to achieve

Re: [PHP] Webserver-Administration

2002-10-28 Thread Adam Williams
look up webmin on your favorite search engine. Adam On Mon, 28 Oct 2002, [ISO-8859-1] Jochen Kächelin wrote: How can I use PHP to admin my Apache over the browser? How do big providers allow their customers to admin their subdomains, forwarders, ftp-accounts

Re: [PHP] sessions

2002-10-24 Thread Adam Voigt
them dead with an exit; statement. Course this won't help for people behind the same public IP, but it's a start. You could also verify against what the browser identify's itself as, etc. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-10-24 at 08:32, Shaun wrote: Hi, If i use sid in the url

RE: [PHP] sessions

2002-10-24 Thread Adam Voigt
Well I suppose you could, but I wouldn't. If your worried about someone stealing someone's sid when they are using a random one, then having a fixed one would be even worse in this respect since they only have to get it once instead of every time the session is re-initiated. Adam Voigt [EMAIL

Re: [PHP] sessions

2002-10-24 Thread Adam Voigt
hits a month and we have not had a single complaint of people's session's being dropped. Adam Voigt, Cisco Certificed Network Associate [EMAIL PROTECTED] On Thu, 2002-10-24 at 09:35, 1LT John W. Holmes wrote: It's common for IP addresses to change while people are surfing. So you may

RE: [PHP] sessions

2002-10-24 Thread Adam Voigt
seperate routes to the internet. Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions

2002-10-24 Thread Adam Voigt
, I'm willing to live with the possibility that someone could lose there session (though it hasn't happened yet) and if it does maybe we'll look at a different way to do it. Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

RE: [PHP] sessions

2002-10-24 Thread Adam Voigt
Half of them are paying users, trust me, if there was a problem, they would complain, god knows they do about every tiny comma missing in the text, etc. On Thu, 2002-10-24 at 10:06, Jaime Bozza wrote: Really? Your IP randomly changes when your surfing between say yahoo.com and msn.com does

Re: [PHP] sessions

2002-10-24 Thread Adam Voigt
Yes, overall, a 99% solution is all we can hope for. But all I'm saying is why even check the IP address? What added security does this give you? The hard part is hijacking the session ID. If you can figure out someone's session ID, then I'm pretty sure it wouldn't be hard to figure out

[PHP] Sessions FINAL

2002-10-24 Thread Adam Voigt
to erase all future threads in reguard to it, because frankly I don't want to argue, and don't care what you think because it works perfectly for me. Adam Voigt, CCNA [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problem with informix

2002-10-21 Thread Adam Williams
I'd go back to apache 1.3.27 and php-4.2.3 if I were you and see if that fixes your problem. I run Informix, PHP, and Apache on a server and have had no problems. Adam On Mon, 21 Oct 2002, Erwin Speybroeck wrote: Hi, I'm struggling with a problem for quite some time

Re: [PHP] WYSIWYG HTML Editor

2002-10-15 Thread Adam Voigt
Theres a properitory Microsoft tag you can add to a frame in a frameset, which will make little virtual editor. I guess you could look on microsoft.com for it, but it doesn't work on anything but I.E. 5.5 and later I believe. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-15 at 12:46, Chris Boget

[PHP] crypt() function

2002-10-14 Thread Adam Plocher
anything to the end of the password string, it will still allow authentication (ie 'blah12345' will still work, even though the password is 'blah'). Completely random passwords do not work, so it seems to be doing SOME checking. Any help would be very appreciated. Thanks -Adam

Re: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread Adam Voigt
] = implode(,,$myarray); $counter++; } $save = implode(\n,$split); $f = fopen(outfile.csv,w); fwrite($f,$save); fclose($f); Don't quote me on that though since thats just off the top of my head. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-10-09 at 08:39, Verdon Vaillancourt wrote: Hi, I hope

Re: [PHP] Encrypting passwords in a flat file before import

2002-10-09 Thread Adam Voigt
Oh, and if you wanted to do it after you inserted, you could just do: mysql_query(UPDATE tablename SET pwfieldname = md5(pwfieldname);); On Wed, 2002-10-09 at 08:39, Verdon Vaillancourt wrote: Hi, I hope this question isn't too basic... I have a flat file (CSV) that I want to import into

Re: [PHP] Another problem

2002-10-08 Thread Adam Voigt
You might be getting the emails in HTML mode, try adding Content-type:text/ascii to your extra headers section of the mail command. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-08 at 12:22, [EMAIL PROTECTED] wrote: *sigh* They never stop. I have a series of lines that I put through

Re: [PHP] mail problem Sendmail 8.12.4

2002-10-08 Thread Adam Voigt
In your sendmail path, do you have -t -i appended to the path? Like: /usr/bin/sendmail -t -i Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-08 at 13:15, Devin Atencio wrote: I am trying to get PHP to send mail through my FreeBSD machine and my machine is running Sendmail 8.12.4, and I have

[PHP] Transfer to another server - my sessions don't work!

2002-10-08 Thread Adam Royle
from phpinfo(); if that helps. If I echo $GLOBALS['PHPSESSID'] it looks like a regular session id. I can get the info on the first page after I have chucked it into the session, but it doesn't seem to get it when I go to the next page. Thanks. Adam --- page1.php --- ?php

[PHP] More On: Good Practice: Variables, Error Reporting and Security

2002-10-05 Thread Adam Royle
there. Also, can anyone see any problems with my function? (Performance-wise or security-wise). Adam /* Credit given to: Maxim Maletsky [EMAIL PROTECTED] Alter variables for the versions prior to 4.1.0 NOTE: $_REQUEST global variable is NOT supported. */ if (strnatcasecmp('4.1.0', PHP_VERSION

Re: [PHP] More On: Good Practice: Variables, Error Reporting and Security

2002-10-05 Thread Adam Royle
line is difficult to debug, but thats different from targeting spelling errors. Adam On Sunday, October 6, 2002, at 07:57 AM, Sascha Cunz wrote: Am Samstag, 5. Oktober 2002 20:44 schrieb Adam Royle: I very much appreciate the suggestions made by the people on this list, although for me

[PHP] Good Practice: Variables, Error Reporting and Security

2002-10-04 Thread Adam Royle
). Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Informix Connection

2002-10-03 Thread Adam Williams
that php will need. You will need to compile php using --with-informix. I'll email you back in a second with an email sent to me on how to compile it all. Adam On Thu, 3 Oct 2002, Mark Colvin wrote: I have php 4.1.2 running on a linux 7.2 box. I want to make a connection

Re: [PHP] Quick question.

2002-10-01 Thread Adam Voigt
Everything you need: http://www.php.net/ftp Adam Voigt [EMAIL PROTECTED] On Tue, 2002-10-01 at 11:50, Simon Angell wrote: Hi everyone. I asked this a week or so ago but i am unsure if it got to the list, so here we go again. I am trying to get a remote file to be copied onto my own web

Re: [PHP] Call HTML from php

2002-10-01 Thread Adam Williams
www.php.net/header Adam On Tue, 1 Oct 2002, Anna Gyor wrote: Hi, how can I call a html site from my php script? I want to redirect the user to different html site depends on the php script result. Thanks! -- PHP General Mailing List (http://www.php.net

Re: [PHP] Getting started with PHP

2002-09-26 Thread Adam Williams
read the install section of the PHP manual at www.php.net and then read the tutorial. Adam On Wed, 25 Sep 2002, Sauron wrote: Hi all I am brand new to PHP, I have a friend that develops in it and I'm interested in learning more about it. I am familiar with VB

RE: [PHP] Encrypted MySQL passwords

2002-09-26 Thread Adam Voigt
Maybe you could somehow setup your SSH tunnel before-hand (at server start up or something) and use that instead. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-09-26 at 12:40, John Holmes wrote: I am connecting to a mysql server on a remote machine, and opened up port 3306 for this purpose

Re: [PHP] apache problem......

2002-09-24 Thread Adam Williams
If you areusing IE you have to pu tin the http:// infront of it, its one of those quirky IE only things. Don't have to do that in Mozilla/Netscape. Adam On Tue, 24 Sep 2002, Anil Garg wrote: hi in my httpd.conf i have added a virtual host as: VirtualHost

Re: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Adam Williams
Yeah, apache 2.0 and php don't like each other. Adam On Fri, 20 Sep 2002, pierre.samson wrote: I'm building a new server and would like to use: php4 apache 2.xxx mod_ssl MySQL mod_perl Is there any major hurdle? Thanks Pierre B. Samson CAMBAR -- PHP

Re: [PHP] Why isn't there much info on apache2?

2002-09-20 Thread Adam Williams
The PHP coders are still working to have full compatability with apache 2.0. I know for example posting one variable in a form messes up, but posting 2 or more variables works fine. There is a entry n the bug database about this, so hopefully it will be fixed soon. Adam

Re: [PHP] editor php

2002-09-19 Thread Adam Williams
/bin/vi :) Adam On Thu, 19 Sep 2002, Gian Michele wrote: Hi, does any body knows a cool editor for php that run under redhat 7.x and where i can find? tanks -- Gian Michele -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] Is php even right for this design?

2002-09-19 Thread Adam Voigt
. I've never seen PHP round a number because it thought it was a string. =) Actually, if it's a string, it's more likely to interepret it as a don't touch me variable. (That makes sense to me anyway). Adam Voigt [EMAIL PROTECTED] On Thu, 2002-09-19 at 14:19, William wrote: I am interested

Re: [PHP] Best practice question

2002-09-19 Thread Adam Voigt
One extra variable to be declared to catch the true (if you do try and catch it) and one extra line (the return line in the function), I'd say skip it if you know your never returning anything different. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-09-19 at 13:17, Jon Haworth wrote: Hi list

RE: [PHP] time() problem

2002-09-18 Thread Adam Voigt
Change it to an INT or a VARCHAR datatype, the mysql timestamp field uses MySQL's date/time formmating. If you decide to let MySQL use it's own date time format, use UNIX_TIMESTAMP(fieldname) to get the unix timestamp from that date field. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-09-18 at 13

Re: [PHP] whois query

2002-09-12 Thread Adam Williams
Have a php page that runs exec() or system() and does a whois query on the domain you want and then have it output the text to a page. Very simple to do, less then 2 minutes of coding. Adam On Thu, 12 Sep 2002, yasin inat wrote: please anyone can help me about

Re: [PHP] Re: Cry for help

2002-09-12 Thread Adam Williams
it run cut -d | -f 4 yourfile.txt and then return you the output. Adam On Thu, 12 Sep 2002, Chad Winger wrote: Thanks for the reply :P I found it actually. Now I have the apache and php running, and am able to run my aforementioned test script locally. I am still

Re: [PHP] A question about .php file extension

2002-09-12 Thread Adam Williams
make a directory called phptest and put a file, index.php in it...never tried it tho. On Thu, 12 Sep 2002, LI DONG wrote: Hello everyone, It is a question about .php file extension. Is there any way to access PHP4 script in Apache 1.3.x without .php extension? For example, how to use

Re: [PHP] whois query

2002-09-12 Thread Adam Williams
try with p /p and see if that works. Adam On Thu, 12 Sep 2002, Tom Ray wrote: Yes, but how do you format the information that comes back out of the whois? I'm doing this: ? $whois = system(whois [EMAIL PROTECTED]); print pre$whois/pre; ? But all the information

Re: [PHP] whois query

2002-09-12 Thread Adam Williams
try using nl2br() on it before you print it. Adam On Thu, 12 Sep 2002, Tom Ray wrote: Nope still comes up with everything in one big line. I'm running through different options right now..but I'm tired and my brain is starting to hurt :) Adam Williams wrote: try

Re: [PHP] PERMISSIONS

2002-09-12 Thread Adam Williams
you don't. php/apache run as the user nobody for security purposes. Adam On Thu, 12 Sep 2002, Breno Cardoso Perucchi wrote: HI, I am trying to use a script php with the command: system(mkdir /home/hosting/test); but the PERMISSION IS DENIED and I am the root on my

Re: [PHP] basic voting

2002-09-11 Thread Adam Williams
Most sites log by IP but if its the IP of a firewall, it would only be one vote from everyone behind the firewall. Adam On Thu, 12 Sep 2002, Justin French wrote: Hi, I'm looking to implement very basic like it | hate it voting for a product on a site, but I'd like

Re: [PHP] question

2002-09-11 Thread Adam Williams
I just wanted to chime in here and say that Julie Meloni's books are awesome. I have PHP Essentials and her Teach yourself PHP in 24 hours book. I plan to buy her PHP Fast and Easy 2nd edition very soon. Adam On Wed, 11 Sep 2002, Miles Thompson wrote: Julie Meloni

Re: [PHP] PHP and Special Characters

2002-09-11 Thread Adam Williams
use stripslashes() or turn on magic quotes in php.ini On Wed, 11 Sep 2002, Rick King wrote: Apache: 1.3.23 PHP: 4.1.2 Hello PHP Guru's! I have created a simple web form. When the form is complete and submitted, the results are emailed to an email account. But I have noticed that the '

Re: [PHP] Server date and time

2002-09-10 Thread Adam Williams
If you are using mysql, you can use the NOW() function to insert the time into a date field. It will insert the time that is on the server's clock. Adam On Tue, 10 Sep 2002, Christian Ista wrote: Hello, When a use insert the row in a table, I'd like to know the date

Re: [PHP] RE: A straightforward user login coding

2002-09-09 Thread Adam Williams
search google for using PHP sessions and you will print the session ID into the URL. Adam On Tue, 10 Sep 2002, YC Nyon wrote: I been searching for a user authentication codes all night but got no where with the results. Therefore, if someone can tell me where to find

Re: [PHP] PHP Source files

2002-09-09 Thread Adam Voigt
Umm, maybe I'm confused, but here's an answer, not sure if it's right: The code in the braces will never be executed because $a will always be ateast $b if not greater (assuming $c has a value) which means that it couldn't be greater, however it could be = if $c was 0. Adam Voigt [EMAIL

Re: [PHP] PHP Source files

2002-09-09 Thread Adam Voigt
Oh, ok, I was wondering cause I thought the question was fairly basic, as for where in the actual source code to PHP expressions are processed I have no idea. I bet they know in the php-dev mailing list though, you might want to try there. Adam Voigt [EMAIL PROTECTED] On Mon, 2002-09-09 at 12

Re: [PHP] How to print a mysql result

2002-09-07 Thread Adam Williams
echo $sql; Adam On Sat, 7 Sep 2002, Chuck PUP Payne wrote: Hi, I am having a problem with menu options being pass on to my database. Is there a way that I can see what is sql statement that is passing on to the database? Say maybe print $sql or something like

RE: [PHP] unix timestamp

2002-09-06 Thread Adam Voigt
$date = date(U,strtotime(-7 day)); Have a nice day. Adam Voigt [EMAIL PROTECTED] On Fri, 2002-09-06 at 12:37, Mike richardson wrote: The attached class is a date utility that I created a long time ago. It parses out SQL dates, does differences, and specific to your needs, you can use

Re: [PHP] php4 w/ apache2 using module

2002-09-06 Thread Adam Williams
what commands are you giving it to compile and what errors you getting? Adam On Fri, 6 Sep 2002, yoda2005 wrote: Is there any way to do it? I cant seem to get it to install as a module nomatter what I do. Right now I have it running as a cgi parser but some stuff I

Re: [PHP] PHP MySQL Apache on Linux vs. Solaris

2002-09-05 Thread Adam Williams
Go to www.mysql.com and make sure you are using the latest version of MySQL. Adam On Thu, 5 Sep 2002, Boaz Yahav wrote: Hi Since i moved from a Sun / Solaris Machine to a Compaq / Linux machine I'm having weird problems with MySQL crashing while running reports

RE: [PHP] PHP MySQL Apache on Linux vs. Solaris

2002-09-05 Thread Adam Williams
I haven't had any problems with mysql like you are having. I would recommand you recompile the source rpm to the binary rpms and then install them. Adam On Thu, 5 Sep 2002, Boaz Yahav wrote: I'm using 3.23.52-log -Original Message- From: Adam Williams

Re: [PHP] fun with register_globals

2002-09-04 Thread Adam Williams
use $_GET[id] in the place of $id for each instance. Like if you had $new = $id + 1 change it to $new = $_GET[id] + 1 and such... Adam On Wed, 4 Sep 2002, Kelly Meeks wrote: Hi folks, I might be late to the game with these questions, but I've just been bit

Re: [PHP] php mysql error

2002-09-04 Thread Adam Williams
whats the permissions on /tmp? it should be set to 1777 Adam On Wed, 4 Sep 2002, ROBERT MCPEAK wrote: Our box recently went down and after reconfiguring it we're left with a semi-operation mySQL. One error I'm getting is this: mysql select region from clip_art

Re: [PHP] simple problem

2002-09-04 Thread Adam Williams
if ($i%3 = 0) { echo something; } On Wed, 4 Sep 2002, Cirkit Braker wrote: what would be the best, most efficient way to print something every three times a loop runs for ($i=0; $i$num_products; $i++) { echo something; } this happens every time it runs

Re: [PHP] file creation question

2002-08-29 Thread Adam Williams
Search the archives, this was explained 2-3 days ago how to dynamically generate a while without creating one on the server. Adam On Thu, 29 Aug 2002, John Hegele wrote: I'm currently building a site for a band and one of the features I'd like to offer is vCalendar

[PHP] Simple regexp

2002-08-29 Thread Adam Alkins
Hi, I'm trying to do a simple regexp to validate if a whole string only contains the numbers 0 to 9, Letters a - f and A - F and the character : Why isn't ereg([a-zA-Z0-9:],$string) working? Guidance appreciated. -- Adam Alkins http://www.rasadam.com --

[PHP] Simple regexp

2002-08-28 Thread Adam Alkins
help me with this? IPv6 addresses are just Hex with : characters, so I just need to validate that for the entire string. Thanks for your time. -- Adam Alkins http://www.rasadam.com --

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Williams
look around for phpmychat Maybe its on freshmeat.net? Adam On Tue, 27 Aug 2002, Andy wrote: HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem to get

Re: [PHP] PHP - Chat?

2002-08-27 Thread Adam Voigt
PHPOpenChat: http://phpopenchat.sourceforge.net/ Very good. Adam Voigt [EMAIL PROTECTED] On Tue, 27 Aug 2002, Andy wrote: HI there, I am wondering if a Chat coded in PHP would be sufficiant for a medium sized site. Maybe someone has a working example online. It would be no problem

Re: [PHP] flaking out on foreach

2002-08-27 Thread Adam Voigt
Don't put a semicolon after the foreach. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-27 at 11:07, ROBERT MCPEAK wrote: Why is this code: ?php $bob=array(1,2,3,5,6); foreach($bob as $foo

Re: [PHP] Re: Command Line

2002-08-27 Thread Adam Williams
of each table. If you need the table names do SHOW TABLES; and if you need their structure use DESCRIBE table_name; Adam On Wed, 28 Aug 2002, Trevor Tregoweth wrote: Hi I am very new to mysql, so any help please how to drop tables from a database from the command

Re: [PHP] New to PHP/mySQL - Help on script

2002-08-26 Thread Adam Williams
] villas booked; } and do the same again but change the statement to villa_id = 0 Adam On Mon, 26 Aug 2002, Ray Healy (Data Net Services) wrote: Thanks for everyones help yesterday but nI have come up against a problem (as I am new). I have created my document as detailed

Re: [PHP] How do I call a CGI script from PHP?

2002-08-26 Thread Adam Williams
exec() and system() Adam On Mon, 26 Aug 2002, Matthew wrote: I'm new to PHP and want to build a basic page. The one thing I cannot find any documentation on is the seemingly simplistic question of how to run a Perl script. I just want to execute a site-tracking

Re: [PHP] mysql upate return false?

2002-08-22 Thread Adam Williams
mysql_query($sql_statement) or die (Couldn't run UPDATE statement); Adam On Thu, 22 Aug 2002, Randy Johnson wrote: I have a function update_trans(); in a mysql_query() that processes an update, what could i check for to see if it was successful

[PHP] PHP Web site down?

2002-08-21 Thread Adam Williams
. Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP Web site down?

2002-08-21 Thread Adam Williams
Thanks! Silly me, I'm always forgetting about the mirror sites ;) Adam On Wed, 21 Aug 2002, DL Neil wrote: Is it just me having network connectivity problems, or is the PHP website, http://www.php.net down? I tried connecting to it from a couple of difference

Re: [PHP] Passing variables between servers

2002-08-21 Thread Adam Williams
Just suggestion but why not use md5($password) and then send the result of that in your GET? Adam On Wed, 21 Aug 2002, Mark McCulligh wrote: I have two server. One running PHP/Linux the other running ASP/2000. The user logins into the PHP server and session variables

Re: [PHP] problem with PostgreSQL

2002-08-21 Thread Adam Williams
$PSQL_START change the next line to: su -l postgres -s /bin/sh -c /usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster -o -i start /dev/null 21 /dev/null Adam On Wed, 21 Aug 2002, Ray Hunter wrote: Basically, That is your problem here: [Wed Aug 21 11:06:56 2002

[PHP] Apache 2.0.40 and PHP

2002-08-20 Thread Adam Williams
having similar problems and have a solution? Or since PHP is working, even though the install errors out, to just not worry about it? Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parameters not seen

2002-08-20 Thread Adam Williams
is register_globals = off in php.ini? if so, that is why. Adam On Tue, 20 Aug 2002, Maris Kalnins wrote: Hi! just installed latest php and apache on windows nt! to my big surprise when i am executing test.php?abc=testvalue where test.php = ? echo $abc ? I get

Re: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Adam Voigt
Your path to the interface file must be wrong, in my php.ini I have it set to /usr/local/freetds/conf/freetds.conf Are you sure the path is right? Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-20 at 11:20, Benji Spencer wrote: I finally got PHP 4.0.6 compiled with sybase-ct=/usr/local/freetds

Re: [PHP] Freetds + Sybase-ct + mssql problems

2002-08-20 Thread Adam Voigt
Hmm, weird, mine worked perfectly the first time through when I installed it, no havingto mess with permissions or anything. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-20 at 12:18, Benji Spencer wrote: Your path to the interface file must be wrong, in my php.ini I have it set to /usr

Re: [PHP] suggestions for a good php+mysql isp?

2002-08-20 Thread Adam Voigt
I've heard good things about hostway.com. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-08-20 at 12:27, db or not db wrote: They (futurequest) really are impressive, but 39.95/month is a little pricey for me...if they offered MySQL with the basic plans (with 1-2 db's instead of 6) I'd go

Re: [PHP] phpMyAdmin is this possible

2002-08-20 Thread Adam Williams
I always create a database by hand. On the console type: mysql -u root -p (It will prompt you for the mysql superuser's password. Then run: CREATE DATABASE db_name_here; Then you would use the grant statement accordly to give users permissions to it. Adam On Tue

Re: [PHP] Problem about rpm package of php

2002-08-19 Thread Adam Williams
script, so add to it a --with-imap and then save the file, and then run rpm -bb mod_php.spec (or whatever the name of it is) and then it will build the binary rpm in /usr/src/redhat/RPMS/i386 and you simply rpm -Uvh it. Adam On Sat, 17 Aug 2002 [EMAIL PROTECTED] wrote

Re: [PHP] HTML - iframe

2002-08-19 Thread Adam Williams
Have you tried putting the IFRAME in a table and setting the background color of that table to the background of the rest of the page? Adam On Mon, 19 Aug 2002, David Buerer wrote: Yes I know it's a PHP list, but I thought someone might have an idea on how to fixt

[PHP] compile error

2002-08-19 Thread Adam Williams
-recursive] Error 1 Has anyone else had similar errors and found a solution? Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem about rpm package of php

2002-08-19 Thread Adam Williams
If memory serves me right, -ba builds the binary and source rpms, and -bb only builds the binary rpm. Adam On Mon, 19 Aug 2002 [EMAIL PROTECTED] wrote: Adam Williams wrote: If I haven't responded too late, Install the SRPM package with rpm -ivh file.srpm

Re: [PHP] Problem about rpm package of php

2002-08-19 Thread Adam Williams
I'd run -bb but the -ba will work just fine, you'll just delete the src.rpm it builds because you won't need it. Adam On Tue, 20 Aug 2002 [EMAIL PROTECTED] wrote: So, which command that you recommend to run ? Adam Williams wrote: If memory serves me right, -ba

Re: [PHP] Re: Passing a PHP variable to javascript

2002-08-19 Thread Adam Williams
| -- Adam On Mon, 19 Aug 2002, Pag wrote: Hi, i am coding a news manager backend for a client and i ran into a little problem. I have two tables, one with the news and one with the comments on each news. How can i count how

Re: [PHP] +=

2002-08-19 Thread Adam Williams
$string .= world.; Adam On Mon, 19 Aug 2002, Alexander Ross wrote: Is there a += equivilant for strings?? $string = Hello; $string += world.; I know that $string = $string. world.; would work, but I keep having to do it. Is there a shortcut? -- PHP

Re: [PHP] error message when run /usr/share/pear

2002-08-16 Thread Adam Williams
when running the ./configure for PHP did you use --with-mysql Adam On Fri, 16 Aug 2002, Ryan wrote: What's wrong ? I am using RH7.3. I manually compile the php and install it before. But later I install using the rpm. Thx for reply ! Content-type: text/html PHP

RE: [PHP] Header and Target

2002-08-15 Thread Adam Williams
To make that work with register_globals = off wouldn't you use ? php if ($_REQUEST[url]) { ? Adam On Thu, 15 Aug 2002, Brian V Bonini wrote: No, but instead you could do something like: header (Location: frame.php?url=content.php); Then in frame.php: ?php

Re: [PHP] Group and count at the same time?

2002-08-15 Thread Adam Williams
=.$genre; $query = mysql_fetch_row($sql); // echo the results echo You have $query ablums that are $genreBR; } Thats just off top top of my head so it may or may not work. Adam On Thu, 15 Aug 2002, Jeff Lewis wrote: I am using PHP to maintain a catalog of music and have

RE: [PHP] Php.ini on Solaris?

2002-08-15 Thread Adam Williams
rename php.ini-dist thats with the php source code to php.ini and copy it to /usr/local/lib Adam On Thu, 15 Aug 2002, Randall Perry wrote: is usually in /usr/local/lib Ok, just reinstalled 4.2.2 to make sure I didn't miss anything -- it didn't install any php.ini

Re: [PHP] Php.ini on Solaris?

2002-08-15 Thread Adam Williams
there is a bug with method=POST in php 4.2.2. Adam On Thu, 15 Aug 2002, Randall Perry wrote: Thanks. I put it in /usr/local/lib and turned register_globals On (I plan on setting it off after I rewrite all my scripts and give my hosting clients notice and time to rewrite theirs

Re: [PHP] quick question

2002-08-15 Thread Adam Williams
basically it is used for accessing a variable in an array. Adam On Wed, 14 Aug 2002, Chris Barnes wrote: hey people, I have been seeing something in a few php scripts i've been playing with and i really dont know what it means or does. I'm only new to php so maybe

Re: [PHP] Invoking sendmail with PHP

2002-08-15 Thread Adam Williams
Why don't you just run sendmail 24/7 with -bd -q15 I'll check the queue continously and send out the emails as it receives them instantaneously. Adam On Thu, 15 Aug 2002, Daren Cotter wrote: To recap, my problem is: I need some mailings sent immediately

Re: [PHP] Is Voice Over IP possible in PHP

2002-08-14 Thread Adam Voigt
Umm, I'm fairly sure you can't do this unless you wanted to rig up a client side application in PHP, but if you want it so they don't have to get any software, I would suggest Java, check out www.dialpad.com they do something fairly cool like this. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-08

[PHP] problem with $_POST

2002-08-14 Thread Adam Williams
with $_GET? Thanks, Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sessions

2002-08-14 Thread Adam Williams
I think you'll need to use header (Location: url?.print SID); Adam On Wed, 14 Aug 2002, apollo wrote: hi, after submit i use: if (isset($submit)) header (Location: url?.sid); i want continue my session in next page, but SID (my session's unique id) is lost

Re: [PHP] stupid question

2002-08-14 Thread Adam Williams
if ( ($idx != 1) || ($idx != 4) || ($idx != 9) ) { echo $results; } Adam On Thu, 15 Aug 2002, Liam MacKenzie wrote: Ok, I'm having a blonde day... If $idx == 1, 4 or 9 I don't want it to echo $results. I have this, what's the syntax to put multiple values

[PHP] PHP-Ebay Interface

2002-08-13 Thread Adam Voigt
Anyone have any idea how to easily interface with the Ebay engine other then with the expensive developer subscription? Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: Re[2]: [PHP] Credit Card suggestions

2002-08-13 Thread Adam Voigt
then storing them clear text. Adam Voigt [EMAIL PROTECTED] On Wed, 2002-08-14 at 02:20, Robert Parker wrote: On Tuesday 13 August 2002 10:57 am, you wrote: MD5 encryption of passwords is secure since you do not need to decrypt the password ever (in fact you can't). You just encrypt the password

<    7   8   9   10   11   12   13   14   >