Re: [PHP] Creating SSL Connection to Accept Credit Cards

2002-11-05 Thread Adam Voigt
Like: $f = fopen("https://whatever.com","r";) ? On Tue, 2002-11-05 at 12:31, [EMAIL PROTECTED] wrote: > My credit card processor requires that I create an SSL connection in order to >generate a transaction key. How would I go about writing a script to do so. Please >point me in the right dir

RE: [PHP] Creating SSL Connection to Accept Credit Cards

2002-11-05 Thread Adam Voigt
-11-05 at 13:01, Jonathan Rosenberg (Tabby's Place) wrote: > I thought that using fopen to create an SSL connection was not yet supported > in PHP. > > I would suggest the CURL functions for this. > > -- > JR > > > -Original Message- > > From: Adam Voigt

RE: Re: [PHP] Creating SSL Connection to Accept Credit Cards

2002-11-05 Thread Adam Voigt
format, which really is nothing more than the GET format string. > (Secure transaction APIs typically don't allow GET) > > var=somevalue&var2=somevalue2&var3=anothervalue > > > > > > -Original Message- > > From: Ben C. [mailto:benc@;cox.

Re: [PHP] What's up with php.net

2002-11-07 Thread Adam Williams
I can't get to it either, but the mirror http://uk.php.net works fine. Adam On Thu, 7 Nov 2002 [EMAIL PROTECTED] wrote: > > Seems the site is down? Just when I was needing to get to the > documentation. > > Ed > > > > -- PHP General

Re: [PHP] Outputting multiple images

2002-11-07 Thread Adam Voigt
Maybe use the random functions to generate a random file name which wouldn't be cached, I.E.: c83jsdbd732jd.png or whatever. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-11-07 at 09:49, [EMAIL PROTECTED] wrote: > > I've found a little problem that's not explicitly a

Re: [PHP] Extracting first eight characters of a string

2002-11-07 Thread Adam Voigt
Umm, this won't check, only blindly pull the first 8, but: $cutsring = substr($originalstring,0,8); Adam Voigt [EMAIL PROTECTED] On Thu, 2002-11-07 at 10:06, John Meyer wrote: > How do I extract only the first eight characters (alpha-numeric) in a string. > > -- > PHP Gen

[PHP] PHP and GPG

2002-11-07 Thread Adam Voigt
t;/usr/bin/gpg --decrypt /path/to/file < /bin/echo \"password\""); AND: exec("/bin/echo \"password\" | /usr/bin/gpg --decrypt /path/to/file"); And neither work, anyone else ever done this successfully? Adam Voigt [EMAIL PROTECTED] -- PHP General M

[PHP] PHP and GPG SOLVED

2002-11-07 Thread Adam Voigt
log file, GPG was looking for it's .gpg settings directory in / and it didn't have write permissions to create it there, so it kept dying, this way, it finds the directory where it is supposed to be. Feew. Adam Voigt [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.ne

Re: [PHP] PHP and GPG SOLVED

2002-11-07 Thread Adam Voigt
the file isn't even stored after it's initially, and instantly decrypted. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-11-07 at 12:15, Evan Nemerson wrote: > You still have to put the password on the command line... Very insecure. I > keep waiting for gpgme so I can work on a --enabl

Re: [PHP] Installation Kit

2002-11-08 Thread Adam Williams
Learn how to do DNS. Adam On Fri, 8 Nov 2002, Stephen wrote: > Hello, > > I was wondering, is there a PHP/MySQL installation kit, like phptriad, that works >network wide? For example, I have a site on my computer that's hooked up to a lan. I >want

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
look up exec() Adam On Tue, 12 Nov 2002, Greg wrote: > Hi- > Is there a way in PHP to execute a program and then have it pass its output > back to PHP? Say I wanted to return the value that running "df" produced > and put it in a web p

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
actually, look up system() I think it would be better in your case. Adam On Tue, 12 Nov 2002, Greg wrote: > Hi- > Is there a way in PHP to execute a program and then have it pass its output > back to PHP? Say I wanted to return the value that running "df&q

Re: [PHP] get the output from a program

2002-11-12 Thread Adam Williams
No if it works use it, but if you choose to go with system() you will need to pass the command through escapeshellcmd() as a security precaution. Adam On Tue, 12 Nov 2002, Greg wrote: > exec() worked jsut fine. Is there any drawback to using this? > -Greg >

Re: [PHP] Error Message

2002-11-12 Thread Adam Williams
are you using header() after you've already sent data to the browser (such as printing something to the user)? Adam On Tue, 12 Nov 2002, Ben C. wrote: > I am receiving the following error on my change password form: > > Warning: Cannot send session

Re: [PHP] passing multiple variables in a url

2002-11-14 Thread Adam Williams
Change the space in job enquiry to a + Adam On 14 Nov 2002, BigDog wrote: > Does this not work... > > > > > > On Thu, 2002-11-14 at 14:11, CJ wrote: > > I have a "contact us" php script on my site that allows users to email >

RE: [PHP] PHP Auth with Apache

2002-11-14 Thread Adam Voigt
. > > > > > > > > Can someone help out? > > > > > > > > Thanks > > > > > > > > --Alex > > > > > > > > > > > > > > > > -- > > > > PHP General Mailing List (http://www.php.net/) > > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > > > > > > > -- > > > PHP General Mailing List (http://www.php.net/) > > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > -- > .: B i g D o g :. > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP] Run webscript from command line

2002-11-14 Thread Adam Williams
0 0 * * * lynx http://whatever/blah.php &; sleep 5; killall -9 lynx Adam On Thu, 14 Nov 2002, Aate Drageset wrote: > Not specifically php-problem, but.. > How could i run a php-script from command line (cron.daily) using no GUI or X ?? > There should be some

[PHP] Problems with Caching

2002-11-18 Thread Adam Humphrey
='none'; //--> Does anyone know what setting has caused this code to no longer work like it did in 4.2.2? Any input would be helpful. Thanks, Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How to use string as variable name?

2002-11-18 Thread Adam Voigt
002-11-22" > into $d20021122, which is easy enough, as a string, but how can I make PHP > understand that I want to pull data from the array that is named that??? > Current experimental design gives nothing but errors ... so it's useless > ... > How do you c

Re: [PHP] Problems with Caching

2002-11-18 Thread Adam Humphrey
Thanks for your help both Maxim and Marek...everything's working now! -Adam "Maxim Maletsky" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > try calling implicitly flush() function: > > > Example

Re: [PHP] How I Got PHP4.2.2, Apache 2.0, mySQL and RedHat 8.0 towork

2002-11-19 Thread Adam Williams
nf for PHP. Adam On Mon, 18 Nov 2002, Daevid Vincent wrote: > Well, it seems there are some glitches with and snags and other fun > stuff to deal with when doing a straight RedHat 8.0 install. It turns > out you have to edit your /etc/php.ini and uncomment out the > &qu

Re: [PHP] Free MySQL Hosting :)

2002-11-19 Thread Adam Voigt
reate the databases. :) > > http://64.53.137.236:82/ > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_a

Re: [PHP] which PHP debugger?

2002-11-19 Thread Adam Voigt
ntrolováno antivirovým systémem AVG (http://www.grisoft.cz). > > Verze: 6.0.419 / Virová báze: 235 - datum vydání: 13.11.2002 > > > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php &g

Re: [PHP] Download File

2002-11-19 Thread Adam Voigt
the access rights to the folders or > something... > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc signature.asc Description: This is a digitally signed message part

Re: [PHP] Unlink

2002-11-20 Thread Adam Voigt
ork with wildcards e.g unlink("somefile*.*"); > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- Adam Voigt ([EMAIL PROTECTED]) The Cryptocomm Group My GPG Key: http://64.238.252.49:8080/adam_at_cryp

Re: [PHP] interpreting variables containing in another variable

2002-11-20 Thread Adam Voigt
ho "$email_body" would look like this: > > bob, 101 east main, 555-, foo > > > Any suggestions? > > Thanks in advance. > > -Bob > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/

Re: [PHP] how can php get the values of a group of checkbox

2002-11-21 Thread Adam Williams
user name=cb[] and PHP will automatically make the array. then call it with $_GET["cb"][#] Adam On Thu, 21 Nov 2002, Xin Qi wrote: > hi there, > > if i have a group of checkboxes, and they have the SAME name, when they are > submited into a php sc

Re: [PHP] phpUpLoad

2002-11-22 Thread Adam Williams
You either need to make the directory 777 or change the ownership of the dir to apache or nobody (depending on which user httpd runs as) Adam On Fri, 22 Nov 2002, Vicky wrote: > Yup, both directorys are chmoded to 755. Lots of users are going to use this > scr

Re: [PHP] Returnpath for mail

2002-06-06 Thread Adam Voigt
You mean like the "Reply-to:[EMAIL PROTECTED]" header? Adam Voigt [EMAIL PROTECTED] On Thu, 2002-06-06 at 13:08, andy wrote: > Hi there, > > I am wondering if it is possible to send email via the mail function with > lets say adress_1 and then if the recipient clicks on

Re: [PHP] Re: Anyone?

2002-06-06 Thread Adam Voigt
Yes, PHP is a secure programming language. On Thu, 2002-06-06 at 13:18, Jas wrote: > I cannot believe that no one with alot of PHP and MySQL experience has not > replied to this post yet. Is PHP not a secure scripting language? I would > really like a little insight into this question, anyone?

Re: [PHP] mysql problems, need quick help

2002-06-11 Thread Adam Voigt
in an order by, but I still like to specify. =) Let me know if you have any other questions. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-11 at 08:52, Hawk wrote: > I'm filling a database with info, and I'm using id as identifiers in the > list, the id is auto increment, and I deleted

Re: [PHP] download link

2002-06-11 Thread Adam Voigt
You mean like: Get This File"; ?> Which would make a download link for "downloads/whatever.exe" in HTML? Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-11 at 11:43, Kris Vose wrote: > are there any php functions that handle downloads? For Instance I want to create a >

[PHP] POST Arrays with register globals..

2002-06-12 Thread Adam Plocher
  blah1 &nbps; blah2   blah3 I can't seem to access that data correctly when that form gets submitted. I have tried: $groups[] = $_POST['groups[]']; and $groups[] = $_POST['groups']; no luck.. Can somebody please give me a hand, thanks a lot. -Adam

Re: [PHP] view source with opera

2002-06-13 Thread Adam Voigt
language. Adam [EMAIL PROTECTED] On Thu, 2002-06-13 at 09:12, Angelo Marcos Rigo wrote: > Hi list > I am using php on the company´s website that i work > and now someone told me that you can view the php source with > the opera browser > he says he done it by himse

Re: [PHP] view source with opera

2002-06-13 Thread Adam Voigt
ork anywhere if this is the case, which is usally caught pretty quick. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-06-13 at 09:12, Angelo Marcos Rigo wrote: > Hi list > I am using php on the company´s website that i work > and now someone told me that you can view the php

Re: [PHP] find replace quotes with single quotes

2002-06-18 Thread Adam Voigt
Hope this helps ya: str_replace("\"","'",$data); Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-18 at 09:54, Dan McCullough wrote: > I need to strip out the double quotes and replace it with single quotes

Re: [PHP] PHP to Excel?

2002-06-18 Thread Adam Voigt
I may be completely off-base here, but I think thats more of an Excel compatible XML document thing, then a CSV which (I believe) is just data. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-06-18 at 10:52, Chad Day wrote: > I'm trying to get data from my MySQL database into Excel using PHP.

Re: [PHP] Require()

2002-06-26 Thread Adam Voigt
No spaces. Instead of "every = 1" Use: "every=1" Adam Voigt [EMAIL PROTECTED] On Wed, 2002-06-26 at 08:37, Andy Whittlestone wrote: > I want to use require to send some post information to a page. > > > Code: > > if ($viewsystem = = 1) >

Re: [PHP] Help w/ Proximity Search

2002-07-09 Thread Adam Voigt
you a list of address's with increasing distance. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-04 at 15:21, Brandon Pearcy wrote: > Hello, >I have a couple of questions with respect to creating a postal / > zip code proximity search that is remotely accurate. The system I am &g

Re: [PHP] can I call a variable... using variables?

2002-07-09 Thread Adam Voigt
It's called Variable Variables. for($i = 1; $i < 100; $i++) { $varname = "var" . $i; if($$varname > 0) echo "Yup."; } Adam Voigt [EMAIL PROTECTED] On Tue, 2002-07-09 at 14:12, Joseph Szobody wrote: > So here's what I'm

Re: [PHP] T_string error

2002-07-09 Thread Adam Alkins
You may want to try posting it at http://www.phpbb.com/phpBB/viewforum.php?f=1 since it really is something phpBB specific. -- Cheers, Adam Alkins http://www.rasadam.com -- - Original Message - From: "Peter" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [PHP] How do I import tables into MySQL from web page ...

2002-07-09 Thread Adam Alkins
And also the "-p" -- Cheers, Adam Alkins http://www.rasadam.com -- - Original Message - From: "Analysis & Solutions" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 11:02 PM Subjec

Re: [PHP] MS SQL Server and ODBC

2002-07-11 Thread Adam Voigt
Check out the "mssql_select_db" function. Call it right after the connection open. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-11 at 12:31, Tim Nields wrote: > I am attempting to connect to a MSSQL 2000 database from a linux box. I > have installed freetds successfully and con

Re: [PHP] MS SQL Server and ODBC

2002-07-11 Thread Adam Voigt
I wouldn't have said it if it did. Notice that it's MSSQL_select_db not MYSQL_select_db. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-07-11 at 10:03, Michael Davey wrote: > Errr - doesn't that function apply to mySQL databases only? > > Mikey > > "Adam Voigt&qu

Re: [PHP] MS SQL Server and ODBC

2002-07-11 Thread Adam Voigt
Ofcourse not. I didn't say it would. ODBC and FreeTDS (which is what he said he was using) are two totally different drivers. Thats like saying mysql_select_db wouldn't work for Oracle databases, ofcourse they wouldn't, there different drivers. Adam Voigt [EMAIL PROTECTED] On Thu

Re: [PHP] PHPDiscuss.com

2002-07-14 Thread Adam Alkins
> Wow...a forum. Is that vBulletin your using? Shouldn't you be giving > them credit somewhere?? It looks like YaBB. You'd think when people are using a free BB, they'd atleast have the courtesy of dropping a small plug at the end of the page. I guess not --

Re: [PHP] php/mysql simple math

2002-07-16 Thread Adam Voigt
e you the total amount of this user's cost from there shopping cart (just an example). So, you would just print $array[total] and poof. No having to loop or anything. Adam Voigt [EMAIL PROTECTED] On Tue, 2002-07-16 at 12:07, Chris Hewitt wrote: > Jay wrote: > > >I have created a tabl

Re: [PHP] Exit script early

2002-07-16 Thread Adam Voigt
exit; =) Adam Voigt [EMAIL PROTECTED] On Tue, 2002-07-16 at 13:08, Michael Zornek wrote: > Ok, > > So I'm creating a details.php page where I'm expecting the url to be > something like: > > /details.php?id=12345 > > Thus in my php I have the following: >

Re: [PHP] Strong Web Hosts in Canada?

2002-07-17 Thread Adam Alkins
> Hi Folks: > > A client of mine has a large series of high traffic, PHP/MySQL intensive > websites. They're looking for dedicated hosting in Canada. Any > recommendations? You might have better luck getting recommendation on http://www.webhostingtalk.com ---

Re: [PHP] function for finding one character in a string?

2002-07-17 Thread Adam Voigt
Or, if you want a count of the number of times a character (or string if you want) ocurrs in a string, you could use: substr_count() http://www.php.net/manual/en/function.substr-count.php Adam Voigt [EMAIL PROTECTED] On Tue, 2002-07-16 at 17:36, Scott Fletcher wrote: > I have been look

RE: [PHP] Accessing Ports

2002-07-18 Thread Adam Voigt
If you mean the ports on the server, theoretically yes, if get the right permissions set and figure out all the device settings. Adam [EMAIL PROTECTED] On Thu, 2002-07-18 at 08:29, Cal Evans wrote: > No. > > No. PHP runs on the server. It knows nothing of the client. > > =C=

Re: [PHP] PHP Security Advisory: Vulnerability in PHP versions4.2.0 and 4.2.1

2002-07-22 Thread Adam Voigt
lt because several times it has been said that the 4.2 series wasn't considered safe for production use. And by the way, don't want to use PHP anymore because of this? Then don't. PHP doesn't need you, the rest of the people who can handle an update without whining will be fine. Ad

Re: [PHP] Re: PHP Security Advisory: Vulnerability in PHP versions 4.2.0

2002-07-22 Thread Adam Alkins
ities discovered in PHP so far. Some humans are just never ever satisfied... -- Adam Alkins http://www.rasadam.com -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Adam Bishop
ch me at any of the adresses at the end of the e mail, for any solutions, queries about my aims/ideals in this script, or anything else. P.s. The .inc files and .js files are totally unrelated to the newuser script. Thanks, Adam Bishop Sample 'A' $value2) { $$key2 = $value2; } f

[PHP] New User Script Failing Unexpectedly.

2003-09-01 Thread Adam Bishop
Thanks for all your help, but I ma still no closer to finding the problem. I'll try decomiling the whole application, and rewriting it, see it that works. If anyone has a brainwave in the meantime, any further help would be greatly appreciated. Thanks, Adam Bishop P.S. I have replace

[PHP] PHP 4.3.3 compile error

2003-09-05 Thread Adam Williams
*** [ext/informix/ifx.lo] Error 1 I'm not a programmer, so any advice on why its breaking on making the informix code and how to fix it would be appreciated. Thanks! Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
Hi. I'm trying to develop a web interface to the ghostscript (gs) application. I have the ghostscript syntax down perfectly in the console. Now when I go to try and do it in PHP I get nothing. No errors, nothing just a blank page with PHP logs turned on and errors turned on. I'm running Apache wit

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> 1) please try $szPipe and see if you get any output. > 2) if you are jailed in /var/htdocs/ your pathname /htdocs/qs > is incorrect. > 3) I guess you tried running gs from the jail either as > yourself or as > root. > please see if nobody or apache (the webserver's user) can run > gostscript.

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> > Hi. I'm trying to develop a web interface to the ghostscript (gs) > > application. I have the ghostscript syntax down perfectly > in the console. > > Now when I go to try and do it in PHP I get nothing. No > errors, nothing > just > > a blank page with PHP logs turned on and errors turned on.

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> >1) When I echo out $szPipe I get "Resource id #2". > > > Sorry i was thinking of backticks. btw have you tried it ? > (backticks) Backticks? Is this a PHP API function, I can't find it? That's the thing here I haven't been able to get things to work and I have no clue what I should use, exec(

[PHP] PHP-General List post bounces???

2003-09-10 Thread Adam Douglas
Why do I keep getting this? > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: Wednesday, September 10, 2003 10:12 AM > To: [EMAIL PROTECTED] > Subject: [ERR] RE: [PHP] How to access a program outside of PHP? > > > Transmit Report: > > To: [EMAIL PROTECTED

RE: [PHP] How to access a program outside of PHP?

2003-09-10 Thread Adam Douglas
> Backticks is simply the ` sign (usually the character above the tab). > Popularly know as `hair on the ear` in my country :-) > for example if you want to invoke ls from php you just type > > $result = `ls`; > > hey presto the output from ls is now in your $result variable. Ohhh okay. Well if

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
Mmm... okay. I tried that and nothing. Is there no way for me to determine what the problem is? Error message some place, log file, etc? I do not understand why this is not work. Even a simple example from the PHP manual on system() does not work. > I meant to do this: > > $szPipe = `/htdocs/gs -

RE: [PHP] How to access a program outside of PHP?

2003-09-11 Thread Adam Douglas
an be something done about this or at least get some error message to determine what is going on. > btw have you checked if you are in safe_mode? in php.ini > error level can also be set in php.ini > > my guess is that you have a problem in your chroot setup. > Adam Douglas wrote:

[PHP] PHP 4.3.3 Install, Errors??

2003-09-11 Thread Adam Douglas
Hi. I have a machine that's been freshly installed with PHP 4.1.1. I wanted to upgrade it to PHP 4.3.3. So I did the following below as SU and received the below errors. Is this something I should be worried about? How can I resolve the errors? Never have had this happen before in the past. I ran p

[PHP] Shared Objects

2003-09-19 Thread Adam Whitehead
contained within. However, PHP will not load the shared object, saying that it is not a PHP shared object. Is there a way to take Linux shared objects and access the functionality in them in PHP? Much like you would instantiate a COM object on Windows to call its methods? Thanks Adam -- PHP General

[PHP] Need help with a regex

2003-09-21 Thread Adam Zey
;\/td> tag. Can somebody help me out with this? I'm completely stumped about how to go about doing a "match until string" as opposed to a "match until character". Regards, Adam. --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.g

Re: [PHP] Need help with a regex

2003-09-21 Thread Adam Zey
Thanks, that did the trick :) Only thing was I had to modify it for newline support: ([^<]*)<\/td>]*)>([^<]*)<\/span>([^<]*)<\/td><\/tr> ((.|\n)*?)<\/td><\/tr> Regards, Adam. "Esctoday.Com | Wouter Van Vliet" <[EMAIL PROTECTED]>

RE: [PHP] PHP 4.3.3 Install, Errors??

2003-09-26 Thread Adam Douglas
ks for the help! > Unless you need PEAR, you're fine. Try configuring > --without-pear. You should > really be doing this anyways unless actually need PEAR. > > Evan Nemerson > > > On Thursday 11 September 2003 02:10 pm, Adam Douglas wrote: > > Hi. I have a machi

[PHP] mail() and Sender: field

2003-09-27 Thread Adam Whitehead
ld which is populated with the address of the apache user ([EMAIL PROTECTED]) -- so this appears to the e-mail recipient as From: [EMAIL PROTECTED] ON BEHALF OF [the name/address i specified in From] Any idea what is causing this, and how I might be able to disable it? Adam -- PHP General Mailing Lis

[PHP] allowing access to php page by IP

2003-10-07 Thread Adam Williams
"HTTP_X_FORWARDED_FOR")) { $ip = getenv("HTTP_X_FORWARDED_FOR"); } elseif (getenv("REMOTE_ADDR")) { $ip = getenv("REMOTE_ADDR"); } else $ip = "UNKNOWN"; Thanks, Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] displaying time on the server

2003-10-15 Thread Adam Williams
server's time. any suggestions on how to do this? Thanks! Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] $_POST in MySQL query issue...

2003-10-16 Thread Adam Reiswig
to $table set Name = '.$_POST["elementName"]; or $sql="insert into $table set Name = ".$_POST['elementName']; and several other variations. Can anyone give me some pointers to inserting $_POST[] statements inside of query statements? I am sure there must be a wa

[PHP] Re: [PHP-DB] $_POST in MySQL query issue...

2003-10-19 Thread Adam Reiswig
27;]}'"; worked perfectly. Thanks to everyone for your help. My question now is regarding the curly brackets in the 2nd example. Can anyone describe why using the curly brackets works and/or how php processes them. I have read quite a bit about php and never come accross thier use in

[PHP] [PHP-DB] $_POST in MySQL query issue...

2003-10-19 Thread Adam Reiswig
'"; worked perfectly. Thanks to everyone for your help. My question now is regarding the curly brackets in the 2nd example. Can anyone describe why using the curly brackets works and/or how php processes them. I have read quite a bit about php and never come accross thier use in thi

[PHP] sql query/displaying results question

2003-10-23 Thread Adam Williams
ame document $title from the 1st row returned if I am using a while loop, or because I already used $title at the top from the 1st row returned, will it want to start at the 2nd row returned when I start my while loop to return all of the data? Adam -- PHP G

[PHP] Re: uncompressing gz string

2003-10-24 Thread Adam Zey
t's been around a while, I'm surprised it hasn't been fixed. Regards, Adam. "Decapode Azur" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I don't understand why gzinflate and gzuncompress don't work? > > $gz_content =

Re: [PHP] Is it worth $49? - codeSECURE 1.0 released - - Protecting PHP code

2003-10-24 Thread Adam Zey
tion. It's the fastest PHP optimizer out there, it even beats out Zend Accelerator. And in addition to this, it also does a number of other things, including code encoding. Regards, Adam. "John Black" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi Andrei,

[PHP] How to run PHP4 and PHP5 side-by-side

2003-11-02 Thread Adam Plocher
mysql=/home/mysql' '--enable-track-vars' '--enable-versioning' Thanks in advance -Adam

[PHP] ignoring case

2003-11-12 Thread Adam Williams
Hi, does anyone happen to know off hand the function that will ignore case for data inputted via text from a ? I don't remember it off hand and can't find it in the function list on php.net. Basically it changes the text in the string from a character to [a-Z] for each character. I know it

Re: [PHP] ignoring case

2003-11-12 Thread Adam Williams
Hi, I finally found it in my notes, it was sql_regcase() Rolf Brusletto wrote: Adam Williams wrote: Hi, does anyone happen to know off hand the function that will ignore case for data inputted via text from a ? I don't remember it off hand and can't find it in the function list

[PHP] testing a variable

2003-11-12 Thread Adam Williams
Hello, I need to test a variable to see if it contains a value or not, and if not, do something. My php is a little rusty, so which would be better? if ( !$var ) { echo "do something";} or if ( !isset($var ) { echo "do something";} or are both of those wrong, and if so, how hsoudl I check if

[PHP] keyword searching

2003-11-12 Thread Adam Williams
Hello, I am selecting a field in a database called description for keyword searching. The field contains names of people, states, years, etc. When someone searches for say "holmes north carolina" the query searches for exactly that, fields which have "holmes north carolina", and not fields t

Re: [PHP] keyword searching

2003-11-12 Thread Adam Williams
I'm using Informix SQL. Do you know how to do full text searching on Informix? If so, please share the details :) Jay Blanchard wrote: [snip] I am selecting a field in a database called description for keyword searching. The field contains names of people, states, years, etc. When someone s

[PHP] explode()

2003-11-17 Thread Adam Williams
I am having a user enter a phrase into a textbox, and then I need to seperate the words he has typed into variables so I can use each one in an sql statement. I know I will use the explode() function to do this, but how will I know how many variables I've created. For instance, if a user type

[PHP] escaping ' when inside a " "

2003-11-17 Thread Adam Williams
If I have the SQL statement: $sql = "select subject from subwhile where subject = '*$var[0]*'"; do I need to put a \ before each '? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] escaping ' when inside a " "

2003-11-17 Thread Adam Williams
Yeah thats what I meant to do, my PHP is very rusty if you can't tell (and so is my SQL) :) Jay Blanchard wrote: [snip] If I have the SQL statement: $sql = "select subject from subwhile where subject = '*$var[0]*'"; Don't you want to do: $sql = "select subject from subwhile where subject LIK

Re: [PHP] Checking if a host is online

2003-11-29 Thread Adam Maas
rk? why not try: passthru("ping $host"); Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Checking if a host is online

2003-11-29 Thread Adam Maas
Adam Maas wrote: Jason Giangrande wrote: I'm creating an application for an Intranet that, among other things, is supposed to check to see if particular hosts are online, and if so, what their IP address is. Anyone know how I can accomplish this? I tried using exec("host $host"

[PHP] date convertion

2003-12-09 Thread Adam Williams
I have a script where a user inputs a date in MMDD format, and I need to convert it to month day, year. For example they will enter 20031209 and I need the script to return the date as December 09, 2003. They won't be entering today's date, so I can't use the timestamp with the date funct

[PHP] date conversion

2003-12-10 Thread Adam Williams
Hi, is there a PHP function that will convert MM/DD/ to MMDD? Also I will need to take into affect some people may put in M/D/ (some people may put in 1 instead of 01, 2 instead of 02, etc). Is there a way to do this? -- PHP General Mailing List (http://www.php.net/) To unsubscri

Re: [PHP] problem compiling with openssl support

2003-12-17 Thread Adam Maas
e not set CPPFLAGS properly or I need something else? hope someone can show me the way. Jon Your last flag is incorrect. --with-openssl needs to be /usr/local It's looking in /usr/include for evp.h Adam -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: htt

[PHP] eval() function

2001-01-14 Thread Adam Powell
should be aware of anything. Thanks, Adam -- 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]

Re: [PHP] include statement

2001-01-17 Thread Adam Wright
This is because the PHP include statement is ment to include other blocks of PHP code, rather than bits of HTML. Hence, it includes things from anywhere on the system. To include things from under your current htdocs directory, use... include($DOCUMENT_ROOT . "/includes/metatags.include"); thoug

Re: [PHP] include statement

2001-01-17 Thread Adam Wright
) doesnt. So, readfile uses less resources, and is much more like the SSI include statement than PHP's include :) adamw - Original Message - From: "Michael Zornek" <[EMAIL PROTECTED]> To: "Adam Wright" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent:

Re: [PHP] include statement

2001-01-17 Thread Adam Wright
, investigate "Safe mode" this instant :) adamw - Original Message - From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> To: "Adam Wright" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>; "Michael Zornek" <[EMAIL PROTECTED]> Sent: Wednesday, Januar

Re: [PHP] ASP Guy Looking for "Select Case" equivalent

2001-01-19 Thread Adam Wright
switch adamw - Original Message - From: "Karl J. Stubsjoen" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 3:51 PM Subject: [PHP] ASP Guy Looking for "Select Case" equivalent > Hello, > > What is the equivalent command to Select Case as

Re: [PHP] PATH_TRANSLATED doesn't work correctly !!!

2001-01-19 Thread Adam Wright
Its a PHP bug, I've attached a patch (that they persistantly ignore :). adamw - Original Message - From: "Heino H. Gehlsen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, January 19, 2001 10:42 AM Subject: [PHP] PATH_TRANSLATED doesn't work correctly !!! I'm trying to use th

Re: [PHP] Encoder price too high (was: Zend hit)

2001-01-25 Thread Adam Wright
We are working on extending the APC cache (http://apc.communityconnect.com) with an encoder, and already have a pretty much functioning version (though its a bit of hack job at the moment :). I think the patches we made were sent to the dev list, but I can send them around at request. adamw

Re: [PHP] Compiler? (Was Re: [PHP] PHP site on CD-ROM)

2001-01-25 Thread Adam Wright
The compiler has become the encoder, because it's rather hard to meet the expectations of a 'compiler' (many would expect it to produce binaries and heavily optimised code). Encoder makes more sense, based on what the product does. adamw - Original Message - From: "Angus Mann" <[EMAIL PR

<    1   2   3   4   5   6   7   8   9   10   >