[PHP] Stuck!

2003-04-03 Thread Andrew
Having spent hours on my members registration and login pages I am getting so close to cracking it, but have now hit a brick wall. I am getting a warning message which I think could stem from somewhere else in my code but I have no idea where. There is a little too much code to put here so is the

[PHP] RE: Stuck

2003-04-04 Thread Andrew
from me :o) In fact I have another question but I will post it separate from this. Thank you guys! Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Individual member pages

2003-04-04 Thread Andrew
How could I have individual pages for each member who registers? (ie) Pages only that member can see. Would this be easy(ish) to do or should I study PHP a little more first? Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Individual member pages

2003-04-04 Thread Andrew
That should get me started thank you Miles Andrew "Miles Thompson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Relatively easy-ish. . But you'll have to study PHP a bit more. > > This is a situation where sessions work really well

Re: [PHP] Templates

2001-01-13 Thread andrew
ere a way to do this via built in functions without constructing the set of page object's first, or can you only do this in templates? regards, andrew On 1/13/01 7:06 PM, "Michael Kimsal" <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > >> I l

Re: [PHP] Templates

2001-01-13 Thread andrew
link, it returns a page_id value of contactus.html. So then: "select * from Pvalues where page_id = "contactus.html" Then call a templating parser and pass it the values of the select statement and which template to use. Can this be done, or I am way off base on this? regards, andrew

Re: [PHP] Templates

2001-01-13 Thread andrew
block templates on a page, that can essentially return html. Now, the article mostly covers how to cache this for peformance reasons, but integrating FastTemplates with it in the manner below makes sense. Are you doing something similar? regards, andrew On 1/13/01 8:37 PM, "Michael Kimsa

[PHP] identifying clicked link?

2001-01-17 Thread andrew
How can I pass an anchor tag attribute to a page? e.g. If I want to echo "1" on page_two: page_one.php contains: click page_two.php contains: but page_two is coming up blank after a delay... what I am doing wrong? thanks, andrew -- PHP General Mailing List (http://www.ph

Re: [PHP] identifying clicked link?

2001-01-17 Thread andrew
Phillip, Thanks! This is very helpful! I very much appreciate it. regards, andrew On 1/17/01 11:20 PM, "Philip Olson" <[EMAIL PROTECTED]> wrote: > Andrew, > > Close :-) > > click > > OR to complicate matters, add multiple names/values : > >

[PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread andrew
right now this is only printing ONE category, and numerical index values that contain $name and $url at the same level. thanks for ANY suggestions! cheers, andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [E

Re: [PHP] help gurus: multi-dimensional array problem.

2001-03-03 Thread andrew
Because I want to display it like this: category1 (href anchor to category1 below) category2 category3 category1 link1 link2 link3 category2 link1 etc... On 3/3/01 2:49 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Addressed to: andre

[PHP] anchor "#" not working?

2001-03-04 Thread andrew
about half-way down.. but the page doesn't align with the anchor tag. I assume PHP doesn't do anything funky? Can anyone see what I've overlooked? tia! andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional comm

Re: [PHP] anchor "#" not working?

2001-03-04 Thread andrew
he exact same content on both pages... quite odd that it's not working. TIA, andrew -- 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] Replace a string in array then re-write line.

2001-03-08 Thread andrew
You should look at strtr - http://www.php.net/manual/en/function.strtr.php either swap string into 'nother string according to target, or swap array into string, using array fields as target. Also, check preg_replace: http://www.php.net/manual/en/function.preg-replace.php regards, jaxon On 3/8

[PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-16 Thread andrew
On a related noted, does PHP have JDBC support? I'm unable to find anything about this - anyone know if it's possible? regards, andrew On 3/15/01 5:49 PM, "bard" <[EMAIL PROTECTED]> wrote: > If you want to e mail me privately I'll go into greater detail. &

Re: [PHP] JDBC? Was: [PHP] Hello! PHP

2001-03-17 Thread andrew
actually, just wondering if PHP can use JDBC drivers to connect to databases. what is the 'abstracted db layer' that you mention? regards, andrew On 3/17/01 2:52 PM, "Julian Wood" <[EMAIL PROTECTED]> wrote: > > I'm not quite sure what you mean. You u

Re: [PHP] parse error inside comment????

2001-03-20 Thread andrew
Thanks for the pointer! It was actually a missing quote " in the function declaration ABOVE the one that the error was being reported in. Quite strange. regards, jaxon On 3/20/01 4:09 PM, "Johnson, Kirk" <[EMAIL PROTECTED]> wrote: > Look for a missing terminator (semi-colon or curly brace) ju

[PHP] include whole directories?

2001-04-27 Thread andrew
ntent functions/modules and then include a directory at once - any ideas? cheers! andrew -- 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]

[PHP] tricky...seek in mysql result set based on text value?

2001-04-28 Thread andrew
? cheers! andrew -- 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]

[PHP] New to list

2002-01-10 Thread Andrew
igure out how to do this Any ideas would be great Thanks Andrew Web Harper Graphics www.webharpergraphics.com

RE: [PHP] RTFM

2002-01-18 Thread Andrew
Nick My personal feelings on this is that there is no such thing as a stupid question... sometimes what you might find the simplest if things becomes very difficult for another person to grasp! If you do not like the emails that people post... use the delete button! Andrew -Original

[PHP] check if image was clicked

2002-05-22 Thread andrew
n true. In URL submitted I saw ...&mode_skip.x=X&mode_skip.y=Y. How can I determin if skip image was clicked. Thank you in advance. Regards, Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] phpODBCadmin?

2001-10-23 Thread andrew
Hi, Does anyone know of any active projects to port phpMyadmin to odbc, or anything similar? cheers, andrew -- 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

[PHP] iODBC Mac OS X HOWTO

2001-04-03 Thread Andrew
m any relational database. I'll be uploading it to the www.iodbc.org site, but if anyone would like to comment on the initial draft, it's attached to the post. Any and all feedback is welcome - tell me anything is not clear! Best regards, Andrew -- Andrew

Re: [PHP] PHAkt for Macromedia Ultradev

2001-07-01 Thread andrew
Yes, but data access from Ultradev on Macintosh is a currently a dealbreaker. No adodb, so you cannot work with database enabled sites. regards, andrew On Sunday, July 1, 2001, at 09:50 PM, John Monfort wrote: > > >I used it. >It's a great tool. > >Di

[PHP] test for empty $result??

2001-09-10 Thread Andrew
uot;select row from table where field = \"1\""; $link_id = mysql_connect($hostname, $username, $password); mysql_select_db($database, $link_id); $result = mysql_query ($sql, $link_id) or die; //this doesn't work...right? if (empty($result)) break; best, andrew --

RE: [PHP] test for empty $result??

2001-09-10 Thread Andrew
D] > Subject: RE: [PHP] test for empty $result?? > > > Just use: > > if (!$result){ > code here > } > > Jeff > > > -Original Message- > > From: Andrew [mailto:[EMAIL PROTECTED]] > > Sent: Monday, September 10, 2001 1:34 PM > > To: [EMAIL

RE: [PHP] test for empty $result??

2001-09-10 Thread Andrew
ce Engineer > Synacor > (716) 853-1362 X289 > [EMAIL PROTECTED] > > > -Original Message- > From: Andrew [mailto:[EMAIL PROTECTED]] > Sent: Monday, September 10, 2001 1:45 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: RE: [PHP] test for empt

[PHP] Simultaneus execution

2004-08-28 Thread Andrew
Hello guys, Do anyone have an idea how to execute 2 different functions in the same moment, no matter if they're system or custom ones. For example, how can I execute 2 different loops simultaneously? -- Regards, Andrew [EMAIL PROTECTED] --

Re: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
An example would be the execution of a function. Let's say that I can't execute one same function twice, but how can I execute it again, before the first execution has completed? Regards, Andrew "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]

Re: Re[2]: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
would do is similar to opening, for example, 500 browser windows and load one same page. Any ideas are welcome. Regards, Andrew "Eugene" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Maybe you can use classes in this case? I'm using them when I need to &g

Re: [PHP] Simultaneus execution

2004-08-29 Thread Andrew
That was exactly what I thought, but I was thinking of some internal method, that would do the same thing as socket_set_noblock() for the process of execution. "Marek Kilimajer" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Andrew wrote: > > Now look - I

[PHP] Securing suexec PHP against local attacks by the webserver user

2009-02-09 Thread Andrew
astCGI and not a CGI setup. What can I do to prevent this sort of local attack against my suexec/PHP/FastCGI environment (short of getting a VPS or installing my own patched PHP at least)? Thanks and Best Wishes, Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Securing suexec PHP against local attacks by the webserver user

2009-02-09 Thread Andrew
Jochem Maas wrote: Andrew schreef: Hi, As an example of the attack... $ whoami www-data isn't the whole point of suexec/PHP/FastCGI that the local user has no access to the www-data account ... suexec switches to the users account from the webserver account no

[PHP] php - set interval

2005-04-03 Thread Andrew
well setup flash to call the interval instead of PHP many thanks andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Socket Tutorial

2004-07-05 Thread Andrew
Hi guys, Can somebody provide a good PHP Socket Programming tutorial. I'm working on a chat server application. The client is XMLsocket based Flash movie. Thanks, Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Servlet Crashes

2004-02-20 Thread Andrew
rvice(HttpServlet.java:856) - Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] mktime error

2004-04-05 Thread Andrew
ed, please answer me. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help: column into array?

2001-02-11 Thread andrew
nto an array, but in this case the row is only one item wide, so I essentially want column results in an indexed array. TIA! andrew -- 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] create filesystem folder?

2001-02-12 Thread andrew
subject says it all - any way to create a new folder in the filesystem? regards, andrew -- 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]

[PHP] Build HREF list from database???

2001-02-12 Thread andrew
abase field position matched index number print "$count"; // } ?> so I want this to print: 1 (linked to foo.jpg) 2 (linked to bar.jpg) The problem is I'm getting a parse error on the "for" line. Any ideas? TIA, andrew -- PHP General Mailing List (http://www

Re: [PHP] Build HREF list from database???

2001-02-12 Thread andrew
David, Theo, Got it working - much thanks for your help!! regards, andrew On 2/13/01 12:05 AM, "David Robley" <[EMAIL PROTECTED]> wrote: > On Tue, 13 Feb 2001 15:24, andrew wrote: >> Hi - I want to print a list of numbers linked to URLs I create on the >

RE: [PHP] Image in a Template

2001-02-13 Thread Andrew
Gary, Put the path to the pic in the database, and the pic in the filesystem. Ususally much faster, unless you have a very large number of pics in a folder. regards, andrew > -Original Message- > From: Gary [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, February 13, 2001 3:2

RE: [PHP] PHP Editors

2001-02-14 Thread Andrew
n, :w to apply, and then pull up a browser on the Mac to check... works great for me! regards, andrew > -Original Message- > From: Michael McGlothlin [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, February 14, 2001 12:53 PM > To: Matt DeLong > Cc: [EMAIL PROTECTED] >

[PHP] help make less ugly?

2001-02-14 Thread Andrew
lf to provide a running display of the current pic and the links to other pics. To preserve the passed href value, I've had to create the array TWICE as well as map the passed variable to another name to preserve it. tia, andrew $i  "; $i++; } echo ""; //use first r

[PHP] parse error driving me nuts ...

2001-02-15 Thread Andrew
hi, can anyone help me spot the parse error? It's throwing up on the first "if" line, and for the life of me I cannot find it! :) tia, andrew "; } else { if (!isset($ii)) $ii = 1; $i = 1; while($row=mysql_fetch_array($result)) {

RE: [PHP] parse error driving me nuts ...

2001-02-15 Thread Andrew
Jon, John, Ifrim, the == worked ... thank you!! gotta read up on it now :) Cameron, dropping the extra () did not work :( thanks for the suggestions folks! andrew > -Original Message- > From: Jon Haworth [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 15, 2001 10:3

Re: [PHP] PHP Editors

2001-02-17 Thread andrew
I spoke to the BBEdit folks at MacWorld. A MacOS X port is forthcoming. regards, andrew On 2/16/01 7:46 PM, "Alexander Wagner" <[EMAIL PROTECTED]> wrote: > Dave Goodrich wrote: >> The only reason I have a Mac on my desk is for Bbedit. Hoping they >> port to OSX

[PHP] create array of random unique integers?

2001-02-18 Thread andrew
Hi, is there a quick way to create an array of integers, randomized and without repeats? e.g. if my set is 1 - 10, create an array whoese key values are 1 through 10, with corresponding key values as a random set of the same 1 through 10?? thanks in advance for any suggestions :) andrew

Re: [PHP] login_script_help needed.

2002-12-01 Thread Andrew Brampton
ow btw (since you have shown everyone)) Hope that gets you started Andrew - Original Message - From: "Karl James" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, December 01, 2002 4:46 AM Subject: [PHP] login_script_help needed. > http://www.u

[PHP] PHP Work Needed in Australia

2002-12-01 Thread Andrew McPherson
hello, I am looking for a PHP developer in Australia. I get occational contracts to do general web developement and need someone that can handle the work. Last month I contracted out about 150 hours. If you are interested please send me an e-mail and I will supply further details. Thanks, An

Re: [PHP] passing argument between scripts

2002-12-07 Thread Andrew Brampton
try: require("test/inc/scriptB.php"); I beleive that you may be including scriptB after it has been displayed by apache (ie with all the PHP executed) Andrew - Original Message - From: "Geert Arts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sat

Re: [PHP] Find Next Integer

2002-12-09 Thread Andrew Brampton
Well that case then if ($sign = ">") ceil($number); else floor($number); Is that nearer to what you mean? Andrew - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "Andrew Brampton" <[EMAIL PROTECTED]> Cc: "PHP List&qu

Re: [PHP] Spaces

2002-12-09 Thread Andrew Brampton
replace more than 1 space in a row with a   OR, when outputing their text place a tag around it Andrew - Original Message - From: Stephen To: PHP List Sent: Monday, December 09, 2002 9:25 PM Subject: [PHP] Spaces I have a article submission thing where the user types in

Re: [PHP] Fractions

2002-12-09 Thread Andrew Brampton
t look like the above Andrew - Original Message - From: "Stephen" <[EMAIL PROTECTED]> To: "Ray Hunter" <[EMAIL PROTECTED]> Cc: "PHP List" <[EMAIL PROTECTED]> Sent: Monday, December 09, 2002 11:20 PM Subject: Re: [PHP] Fractions > But ho

Re: [PHP] Variables problem

2002-12-09 Thread Andrew Brampton
ty = $_POST["tireqty"] + $_POST["oilqty"] + $_POST["sparkqty"]; Can just be referenced with $totalqty (no need for the $_POST) I hope you understand the different, and that your error was just a typing mistake.. Happy Coding Andrew - Original Message - From:

[PHP] Beginner question : Removing spaces in forms

2002-12-12 Thread Andrew Wilson
Hay guys i was wondering if there was a form parameter of something equivalent for input text boxes that when a user enters a number or series of numbers that it removes the spaces. If there is no alternative how would you go about solving this issue. Your help is appreciated. Thanks. Netway N

Re: [PHP] FTP UPLOAD

2002-12-16 Thread Andrew Brampton
ile']['tmp_name']; (if you are using the more lastest PHP version) Hope this helps Andrew - Original Message - From: "Marios Adamantopoulos" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 12:11 PM Subject: [PHP] FTP UPLOAD

Re: [PHP] Sound with PHP

2002-12-19 Thread Andrew Brampton
, or Flash, or many other methods of playing music. (which are all client side "languages") Andrew - Original Message - From: "Alfonso Ballesteros" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, December 19, 2002 8:02 PM Subject: [PHP] Sound with P

RE: [PHP] Training Courses in PHP & MySQL

2002-12-19 Thread Andrew Wilson
TTT for the same info for sydney. Thanks -Original Message- From: Ben C. [mailto:[EMAIL PROTECTED]] Sent: Friday, December 20, 2002 12:31 PM To: [EMAIL PROTECTED] Subject: [PHP] Training Courses in PHP & MySQL Does anyone know where I can get a good training course in both PHP and MySQL

[PHP] Error loading PHP module in Apache 2

2002-12-23 Thread Andrew Schaefer
/libphp4.so into server: /usr/local/apache2/modules/libphp4.so: undefined symbol: __dn_expand I have no idea why it is doing this. Please, any help would be much appreciated. Thank you. Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] forum?

2002-12-24 Thread Andrew Brampton
phpBB2 www.phpbb.com Or do what another poster suggested and google for it Andrew - Original Message - From: "Fatih Üstündað" <[EMAIL PROTECTED]> To: "Php-General" <[EMAIL PROTECTED]> Sent: Tuesday, December 24, 2002 2:51 PM Subject: [PHP] forum? >

Re: [PHP] objects within arrays

2002-12-24 Thread Andrew Brampton
Big guess but I think maybe: $header[0]->from['mailbox']; Also I suggest you turn your PHP Error Level up to E_ALL in your php.ini file (or temporarly at the top of your scripts with error_reporting (E_ALL);, this will help debug programs like this :)) Andrew - Original Messa

Re: [PHP] uploading + downloading Large files ...

2002-12-27 Thread Andrew Brampton
, but uploading I would advise you to use FTP or SCP. If you have problems with them uploading in the wrong place, well how about you have PHP Script that tells them how to upload, and exactly where to place it, something as simple as saying upload to ftp://blah.com/yourName/ Hope this helps A

Re: [PHP] Repeats of values

2002-12-31 Thread Andrew Brampton
Hi, I think changing while(list (,$value) = each ($line)) { to foreach ($line as $value) { might help but I'm unsure, either way foreach is easier to read :) Andrew - Original Message - From: "Anthony Ritter" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: T

Re: [PHP] Function misfunction - 2

2002-12-31 Thread Andrew Wallace
Um where is $lookuptable set? Seems like you should have: $lookuptable = setCurrentDevGroup($this->ComputerID); $query = "SELECT name FROM $lookuptable WHERE (ID=$this->ComputerID)"; echo $lookuptable; // gives an empty string. andy Martin S wrote: NOW what am I doing wrong?? function

[PHP] Session problem

2003-01-01 Thread Andrew Williams
ory or bookmarks. session.use_trans_sid = 0 url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry" Andrew Williams Sales Engineer people telecom Contacts: mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> Direct Tel: (02) 9458 5861 Mobile: 0403 479 990

[PHP] Session Problem

2003-01-01 Thread Andrew Williams
lorer 6.0.2800.1106 Andrew >Try this code: >test.php >--- >session_start(); >if (!isset($_SESSION['count'])) { >$_SESSION['count'] = 0; >} else { >$_SESSION['count']++; >} >?> >Hello visitor, you have seen this page times. >To conti

Re: [PHP] Session Problem

2003-01-01 Thread Andrew Williams
the outcome. By the way its the 2nd of January here! Andrew Just so I know who started this thread, is he even still in this thread, or is this just amongst ourselves now. :-) Hey sorry, what do you expect on the 1st of January. Cheers, Mike -- PHP General Mailing List (http

RE: [PHP] Session Problem

2003-01-01 Thread Andrew Williams
Mike, This the result Array ( [theSess] => This is my session ) Andrew -Original Message- From: Michael J. Pawlowsky [mailto:[EMAIL PROTECTED]] Sent: Thursday, 2 January 2003 12:07 To: [EMAIL PROTECTED] Subject: Re: [PHP] Session Problem OK let me give him something simpler

RE: [PHP] Session Problem

2003-01-01 Thread Andrew Williams
Mike, results are Array ( ) Andrew *** REPLY SEPARATOR *** OK so sessions are working... cool... So now you need to track down a your cookie problem. Start of by setting your browser to ask you to accept all cookies. EVEN session cookies. In IE it would be Internet

RE: [PHP] Session Problem

2003-01-01 Thread Andrew Williams
6.0.2800.1106, Cipher strength 128bit. I get no prompt to se the cookie. Session files are still being created in the temp directory. Andrew *** REPLY SEPARATOR *** OK But did your browser ask you if it was ok to set a cookie? (You did do the changes in privacy) IE or Netsape

Re: [PHP] Problem in $_SERVER["PHP_SELF"]

2003-01-02 Thread Andrew Brampton
As far as I'm aware you should be using $_SERVER["PHP_SELF"] instead of $PHP_SELF its been like this for a while now. Andrew - Original Message - From: "ªüYam" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 02, 2003 6:30

Re: [PHP] PHP complied code

2003-01-02 Thread Andrew Brampton
If maybe you googled, or even read a message posted 4 minutes earier, you would see there are such programs as: ionCube PHP Accelerator: www.php-accelerator.co.uk Zend optimizer/encoder www.zend.com Andrew - Original Message - From: "Manuel Ochoa" <[EMAIL PROTECTED]

Re: [PHP] way to insert timer / pause?

2003-01-02 Thread Andrew Brampton
could make a intermediate page that displays this will take minute. This page would have a meta refresh that keeps refreshing itself checking the status of your job. Once the job is complete on the next refresh it will notice the job is done and voila display the results. Andrew - Original Me

Re: [PHP] PHP running perl running java OR PHP running java?

2003-01-03 Thread Andrew Brampton
Try backticks $yo = `java PFProJava test-payflow.verisign.com 443 ... 30`; echo $yo; Andrew - Original Message - From: "Sam" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 1:37 AM Subject: [PHP] PHP running perl

Re: [PHP] Second (Bizarre) Question regarding PHP and ASP

2003-01-04 Thread Andrew Brampton
hp is making the request. Andrew - Original Message - From: "Phil Powell" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, January 04, 2003 11:43 PM Subject: [PHP] Second (Bizarre) Question regarding PHP and ASP I don't know how

Re: [PHP] How to get the mail sending stuff to work on Win2k?

2003-01-05 Thread Andrew Brampton
change that line to your ISPs email server. OR install a email server locally Andrew - Original Message - From: "Rad Craig" <[EMAIL PROTECTED]> To: "PHP Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, January 05, 2003 11:20 PM Subject: [PHP] How to get t

Re: [PHP] Advanced Search

2003-01-14 Thread Andrew Brampton
$sql = 'SELECT p.* FROM properties p WHERE '; if(isSet($city)) $sql .= 'city = "' . $city . '" AND '; if(isSet($sub_name )) $sql .= 'sub_name = "' . $sub_name . '" AND '; //Remove last AND and append 'ORDER

Re: [PHP] Redirecting

2003-01-16 Thread Andrew Brampton
php.net/header check out the examples Andrew - Original Message - From: "Denis L. Menezes" <[EMAIL PROTECTED]> To: "PHP general list" <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 4:21 PM Subject: [PHP] Redirecting Hello friends. I want ot redi

Re: [PHP] Does remote file(image) exist ?

2003-01-18 Thread Andrew Brampton
If you looked at the usercomments for file_exists you would see it saying to look at the fopen page for a example In the usercomments for fopen there is a post saying this: jamie.watt at murchison.com.au 03-Feb-2000 01:39 To check if a file exists using http or ftp use the following: $fp = @

[PHP] file upload question

2003-01-24 Thread Andrew Rench
the following code: Send this file: produces the following after upload: /var/tmp/phplSTEVp (or php[something-or-other]) When I view that directory, it is empty. I put togther this simple test script because I was having problems with similar script that uses the move_uploaded_file()

RE: [PHP] file upload question

2003-01-24 Thread Andrew Rench
s' in /usr/local/etc/httpd/htdocs/blast/upload_test2.php on line 10 Am I setting the path wrong? Should it be relative to the 'upload_test2.php' file? thanks --- "Ford, Mike [LSS]" <[EMAIL PROTECTED]> wrote: > > -Original Message- >

RE: [PHP] file upload question

2003-01-24 Thread Andrew Rench
#x27;. If there's still a problem, > the user that your webserver (and therefore php, in most cases) runs as > may not have write permission to the directory you're trying to move to. > Make sure the webserver can write to the destination directory. > > mh. > > &

Re: [PHP] HTML embedding

2003-01-30 Thread Andrew Brampton
Try urlencode your data before outputing it. php.net/urlencode Andrew - Original Message - From: "Todd Barr" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 30, 2003 10:11 PM Subject: [PHP] HTML embedding > Hello, > > I am having

Re: [PHP] Graphic Pie Charts

2003-02-02 Thread Andrew Brampton
You will have to look up how to use the GD libraries Look up Image Functions in the manual... Or you could also google for online tutorials/classes Andrew - Original Message - From: "Vernon" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, February 03

[PHP] Making /something/blah work instead of /something.php/blah

2003-02-04 Thread Andrew Brampton
ult apache+php install. Here are my versions: WinXP + Apache 1.3.27 + PHP 4.3.0 (Works Here) FreeBSD 4.7 + Apache 1.3.27 + PHP 4.2.3 (Fails Here) WebHost some BSD + Apache 1.3.22 + PHP 4.1.0 (Works Here) Thanks for any help or links to useful pages. Andrew -- PHP General Mailing List (http://w

Re: [PHP] Execute at a defined time

2003-02-05 Thread Andrew Brampton
in your shell Hope this helps Andrew - Original Message - From: "Miguel Brás" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 05, 2003 1:49 PM Subject: [PHP] Execute at a defined time > Hi, > > I was looking on PHP manual but didn'

Re: [PHP] Files upload

2003-02-09 Thread Andrew Brampton
I beleive move_uploaded_file is prefered since copy won't work in Safe Mode. Andrew - Original Message - From: "Max 'AMiGo' Gashkov" <[EMAIL PROTECTED]> To: "PHP General list" <[EMAIL PROTECTED]> Sent: Sunday, February 09, 2003 6:09

Re: [PHP] Counter has gremlins

2003-02-17 Thread Andrew Brampton
uggest the first. Andrew - Original Message - From: "Brian V Bonini" <[EMAIL PROTECTED]> To: "PHP Lists" <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 12:45 AM Subject: [PHP] Counter has gremlins > I have this basic counter: > >

Re: [PHP] test for rtf

2003-03-07 Thread Andrew Brampton
Not to sure on the RTF file format, but checking the first few letters might help Quickly opening a RTF file I see that they start with {\rtf Maybe look for that. Andrew - Original Message - From: "bill" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday,

[PHP] Strange cookie issue

2003-03-13 Thread Andrew Wallace
Hi all - I am having a problem with cookies. It seems that if I set the domain field in setcookie, nothing happens. I also tried creating the cookie header manually, with the same results. This is what I have: $expireTime = time(); $expireTime += ($daysToExpire * 86400); setcookie("Test

[PHP] CORRECTION: Problem with cookies

2003-03-13 Thread Andrew Wallace
ech.com) (209.61.182.14) by pb1.pair.com with SMTP; 14 Mar 2003 02:14:21 - Received: from globilltech.com (astound-64-85-231-125.ca.astound.net [64.85.231.125]) by globilltech.com (8.9.3/8.9.3) with ESMTP id SAA07152 for <[EMAIL PROTECTED]>; Thu, 13 Mar 2003 18:17:55 -08

Re: [PHP] Minimizing Database Hits

2003-07-01 Thread Andrew McCombe
sion data and using a class to read the session rather than the DB. Doing it this way means that the DB is only accessed before the shopper puts the item in their cart. Once it's there, the sesion holds the data and the DB load is reduced. We use this system in many of our sites. Rega

Re: [PHP] states

2003-07-01 Thread Andrew McCombe
gt; > Matt Hi Matt, Short answer - No. PHP Doesn't have ant short function to generate drop down lists or menus. Your best bet is to look at http://www.webreference.com/dhtml/hiermenus/ and build your HM_Arrays.js from scratch (or 'borrow' the select box from other sites.) Reg

Re: [PHP] PHP 4.3.0/4.3.2 - Strange problem with exec / move_uploaded_file

2003-07-04 Thread Andrew McCombe
OK. What I've started doing is use PHP's ftp functions to login and PUT the file in the right place. This allows me to move files and put em where I want, with teh right permissions. Check the manual for more info. Andrew > Hi, > > But it's already there. > > A

Re: [PHP] More on file upload

2003-07-04 Thread Andrew McCombe
Try copy() instead of move_uploaded_file and see what you get. Andrew - Original Message - From: "Webmaster" <[EMAIL PROTECTED]> To: "Marek Kilimajer" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, July 04, 2003 5:12 PM Subject: RE: [

Re: [PHP] How to insert a variable into a PHP template.

2003-07-07 Thread Andrew McCombe
tID"]}"; > } > // then write the function to call the page here > // > > Any ideas thoughts or help much appreciated. > Can't help with this bit. Apart from putting it into a string and then writing it to a file. Regards Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Please Help !

2003-07-08 Thread Andrew McCombe
ndar thingy available from http://students.infoiasi.ro/~mishoo/site/calendar.epl It really is very good. Regards Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Protecting files with PHP

2003-07-17 Thread Andrew Brampton
were outside of the public_html. Since your PHP script will be reading the files from the file system they will have no problem accessing the files and serving them out. Hope that helps. Andrew - Original Message - From: "Maria Garcia Suarez" <[EMAIL PROTECTED]> To: <[EMA

  1   2   3   4   5   6   7   8   9   10   >