Re: [PHP-WIN] GIF handling problem...

2003-03-17 Thread Thomas Smart
I totally agree with you, bannermakers should burn in silicon hell >:-D "Jill Ramonsky" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > I confess I have an idiological difficulty with the idea of helping out > someone who openly admits that they're going to use the information to

[PHP-WIN] htaccess ignored

2003-03-15 Thread Thomas Smart
apache is totally ignoring the htacces file iv got in this folder: http://films.k9logic.nl/123 im running the latest apache 1.3 build on windows xp httpd.conf: AllowOverride All AccessFileName .htaccess Order allow,deny Deny from all Satisfy All .htaccess: AuthType Basic AuthName

[PHP-WIN] Re: ODBC Query max()

2003-03-15 Thread Thomas Smart
this is a mysql query for heighest id, maybe it helps // get highest ID from database include 'includes/connect.php'; $query1=MYSQL_QUERY("SELECT max(id) as max_id FROM $ctableuk"); $getvar=MYSQL_FETCH_ARRAY($query1); $id=$getvar["max_id"]; mysql_close(); if (!isset($id)){$id="1";} "Gen

[PHP-WIN] Re: Global Variable Issues

2003-03-15 Thread Thomas Smart
you could use a database or you could write the information to a textfile on the server, i have used that sometimes to transfer large lumps of info from 1 page to another if i didnt want to use a database. "Cam" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Through past releas

[PHP-WIN] Re: Installing PHP with Apache on Win ME

2003-03-12 Thread Thomas Smart
er... not use winME :-) "Nick Scott" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I have gone through the steps and when I open a php page it wants to > download the page. > > What do I need to do? > > -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP-WIN] Re: CGI or ISAPI

2003-03-10 Thread Thomas Smart
how do u make it read a specific php.ini in the cgi version? "Afonso Marques Dos Santos" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] Hi, I would like to know whats best on a Windows2000/IIS system. I've changed to ISAPI, buit now i can't make it ro read a specific php.ini, loca

[PHP-WIN] Re: Newbie attempting file open...

2003-03-10 Thread Thomas Smart
try r+ instead of r and if your working with a windows server add b after the r+ "William Fisher" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > The Question: It is my understanding that fopen() using the "r" option will either open the indicated file for read only OR create o

[PHP-WIN] Re: image question

2003-03-10 Thread Thomas Smart
look for GDlib tutorials "Anthony Ritter" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I'm looking for a php tutorial or script which can open and read an existing > .jpg or .png from another URL. > > Next, the script then modifies that image by - say - cropping off the bottom >

[PHP-WIN] Re: e-shop problem

2003-03-10 Thread Thomas Smart
www.hotscripts.com has some good cart scripts, the best way to learn these is to download and read the script thru :) "Andrzej Wroblewski" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > > > > > > Hi > > I'm designing internet shop based on PHP and MySQL, but I don't know > ho

Re: [PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
as of php 5 the register globals is not even going to be an option so get used to using $_POST and $_GET !! "Rich Gray" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Thanks, but I found out something really interesting! I was using > > php-win32 > > version 4.3.0 and it would no

Re: [PHP-WIN] Passing value in URL to form

2003-03-10 Thread Thomas Smart
or you could set your php to parse .html files, then you can do it with php $_GET['varname'] "Bobo Wieland" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > You can do it with javascript... > > > > but t

[PHP-WIN] Re: Variable problems

2003-03-10 Thread Thomas Smart
bin\insert2.php on > line 7 > Could I have installed something wrong? It is running on win2000 server and > IIS 5 > > "Thomas Smart" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > > > > in the page that recieves the variable add this: >

[PHP-WIN] Re: Variable problems

2003-03-09 Thread Thomas Smart
in the page that recieves the variable add this: $test = $_POST['test']; "Reggie P" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > I am new to php and I am having problems passing variables from one page to > another. I wrote a simple script as such: > > > > > > name > >

[PHP-WIN] Re: Recursive function within a class

2003-03-07 Thread Thomas Smart
im not sure if i understand your question completely but u can call a function in a class like so classname::functionname($vars); "Olafsson" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hello > > I´ve a small problem. I´ve created a class with serveal functions but when > I try t

[PHP-WIN] Re: Im almost there just a little more help

2003-03-07 Thread Thomas Smart
remove all the //'s to start with \n"; echo "newname = '" . $newname . "';\n"; echo "\n"; } ?> "Stephen K Knight" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Below is all of my code. The first is my html page that calls my php page. > I do not know php well enough to edit t