Morning all.
this is such a basic question I'm embarrassed to ask but the query worked
fine a few minutes ago and now returns an error:
I get an error:
Parse error: parse error, unexpected '=' in sample.php on line 2
[CODE]
// Authenticate User:
Query01 = SELECT * FROM Users
WHERE
On Wednesday 13 October 2004 15:32, Harlequin wrote:
this is such a basic question I'm embarrassed to ask but the query worked
fine a few minutes ago and now returns an error:
Change everything back to what it was a few minutes ago?
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open
Doh...!
thanks mate.
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
-
Jason Wong [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
On Wednesday 13 October 2004 15:32, Harlequin wrote:
this is such a basic question I'm
should Query01 have a $ in front of it, i assume its a var
Jason
Harlequin [EMAIL PROTECTED] wrote:
Morning all.
this is such a basic question I'm embarrassed to ask but the query worked
fine a few minutes ago and now returns an error:
I get an error:
Parse error: parse error,
On Wed, 13 Oct 2004 08:32:17 +0100, Harlequin
[EMAIL PROTECTED] wrote:
Morning all.
this is such a basic question I'm embarrassed to ask but the query worked
fine a few minutes ago and now returns an error:
I get an error:
Parse error: parse error, unexpected '=' in sample.php on line 2
On Wednesday 13 October 2004 15:08, Francis Chang wrote:
[snip]
access the post variables. My question is, is the $HTTP_POST_VARS global
still populated for backwards compatibility? In other words, if I have an
old script that has the following piece of code running on a PHP5.0
environment
Concerning PEAR::Auth
I can't tune interaction between PEAR::Auth and MySQL auth table .
Typical code from manual
?php
$dbtype = 'mysql';
$dbhost = 'localhost';
$dbuser = '';
$dbpass = '';
$dbname = cosmos;
$dsn = $dbtype://$dbuser:[EMAIL PROTECTED]/$dbname;
$conn = mysql_connect($dbhost,
hello all.
I've a question that i might think is not much related with PHP, even
the pages are PHP and everything is working with PHP.
I've a FORM in my site to be written by the user, but, i need to know
before the value of a field to fill another field in the form depending
with the
value of
I think you'll find that this is more of a Javascript problem than a
PHP one.
On 13 Oct 2004, at 12:11, Bruno Santos wrote:
hello all.
I've a question that i might think is not much related with PHP, even
the pages are PHP and everything is working with PHP.
I've a FORM in my site to be
Besides adding $ to Query01, I have had little luck in the past when using
$_POST or $_GET directly in an evaluated string. If you are still having
problems, try something like:
?php
$user = $_POST['TXT_UserID'];
$pwd = $_POST['TXT_UserPassword'];
// Authenticate User:
$Query01 = SELECT *
You can get around this problem more easily by putting your variables
inside curly brackets when they appear inside strings.
See here:
http://uk.php.net/manual/en/language.types.string.php#language.types.string.parsing.complex
Or as an example:
?php
$Query01 = SELECT * FROM Users
WHERE UserID
Thanks Chris, that'll help keep my code a bit more 'compact'.
(Sorry Harlequin, kinda hijacked your post here)
Graham
-Original Message-
From: Chris Dowell [mailto:[EMAIL PROTECTED]
Sent: 13 October 2004 11:57
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Query Returning Error
You can
hi,
I am wondering how do we pass a GET value that has '' sign..
let's say I have this:
process.php?mode=testurl=http://someurl.com/index.php?a=10b=200
that way, process.php will have three variables:
$_GET['mode'] ( = 'test' )
$_GET['url'] ( = 'http://someurl.com/index.php?a=10' )
$_GET['b']
[snip]
Been trying to unsubscribe this email account for days now
and now go. Anyone on this list have access to remove me?
[/snip]
And you have clicked on the unsub link in the e-mail?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
that solved it! thanks alot Stefan.
-Guido
Stefan Dengscherz wrote:
Hello,
you might try using the urlencoded version of the '' sign which is '%26'.
Works perfectly for me ;)
Best regards,
-sd
On Wed, Oct 13, 2004 at 06:23:25PM +0800, Suka Ada, I Nyoman wrote:
hi,
I am wondering how do we pass a
To view the terms under which this email is distributed, please go to
http://disclaimer.leedsmet.ac.uk/email.htm
-Original Message-
From: Chris Dowell [mailto:[EMAIL PROTECTED]
Sent: 13 October 2004 11:57
Note also that you didn't quote the index you were using inside the
input must be urlencoded - see http://www.php.net/urlencode for details.
Regards,
Sune Rievers
On Wed, 13 Oct 2004 18:23:25 +0800, Suka Ada, I Nyoman
[EMAIL PROTECTED] wrote:
hi,
I am wondering how do we pass a GET value that has '' sign..
let's say I have this:
Hi all,
Im sure this has been asked before. Im about to start development of an
export section of an intranet where the invoices generated are exported
to a PDF.
I have looked at PDFlib, however I do not wish to pay for the licence
cost, so Im looking for a free alternative, I've found FPDF
[snip]
Is FPDF a suitable replacement to PDFlib or should I be looking to use
another library? Any other comments are welcome about FPDF.
[/snip]
Love it, use it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Guys
According to the docs, you need to use either php://stdin or php://input
to read from files uploaded via PUT, however I'm unable to get even
that far.
My HTML form is as shown:
form action=index.php method=put enctype=multipart/form-data
input type=file name=putfile /input type=submit /
Chris Dowell wrote:
Guys
According to the docs, you need to use either php://stdin or php://input
to read from files uploaded via PUT, however I'm unable to get even
that far.
My HTML form is as shown:
form action=index.php method=put enctype=multipart/form-data
input type=file name=putfile
How exactly would I change the mime headers?
~Philip
On Oct 12, 2004, at 5:07 PM, Vail, Warren wrote:
Have you tried changing your file name to project.htm but continue
issuing
the mime headers for excel?
Warren Vail
-Original Message-
From: Philip Thompson [mailto:[EMAIL PROTECTED]
Header(Content-type: application/ms-excel);
or whatever the content type should be (on IE you can probably get away
with application/octet-stream as it bases its decisions of file
extensions for a lot of things).
HTH
Chris
Philip Thompson wrote:
How exactly would I change the mime headers?
I could
But on massive file uploads the various gateways between clients and
server are timing out.
I've no evidence that PUT would help me solve this problem, but it's an
avenue I thought worth pursuing, as the whole point of the PUT method is
to send large quantities of data to a server. I am
It worked for me, for thousands of others, but not for everybody. Some people
just could not use the site anymore. So I guess the SERVER_PORT var can not
necessarily be count on.
Has anybody an idea how to overcome this?
try
if ( !isset($_SERVER['HTTPS']) || strtolower($_SERVER['HTTPS'])
Paulo JF Silva wrote:
Hi,
I have PHP 4.3.5 and safe mode on. When I create a new image with
imagecreatefromjpeg(), the image owner is 'httpd' and not my ftp user.
[this is in a shared host].
I would like to know if there is any way to create the image with my
user... I can workaround mkdir
Hi,
on one place I have string something (something_2)
I have to take out of the string everything in brackets and brackets as
well.
probably I will need to use Regular Expression Functions but I'm really
bad with them :)
Please, any help!
-afan
--
PHP General Mailing List (http://www.php.net/)
Chris, as you may have (or may have not) noticed, I did that. Look at
my original email. I wasn't sure if there was more to it than that.
~Philip
On Oct 13, 2004, at 8:34 AM, Chris Dowell wrote:
Header(Content-type: application/ms-excel);
or whatever the content type should be (on IE you can
meek /
sorry
[skulks off into dark corner to cry]
Philip Thompson wrote:
Chris, as you may have (or may have not) noticed, I did that. Look at my
original email. I wasn't sure if there was more to it than that.
~Philip
On Oct 13, 2004, at 8:34 AM, Chris Dowell wrote:
Header(Content-type:
on one place I have string something (something_2)
I have to take out of the string everything in brackets and brackets as
well.
probably I will need to use Regular Expression Functions but I'm really
bad with them :)
$string = something (something_2);
$pattern = /\(.*\)/;
$replacement = ;
That was fast! :)
Thanks Matt
-afan
Matt M. wrote:
on one place I have string something (something_2)
I have to take out of the string everything in brackets and brackets as
well.
probably I will need to use Regular Expression Functions but I'm really
bad with them :)
$string = something
I want to send email every 24. What time format you recomend to use?
In what format the data should be store in mysql?
TH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Philip Thompson wrote:
-
?php
header('Content-Type: application/ms-excel');
header('Content-Disposition: attachment; filename=project.xls');
?
table
tr
tdSomething/td
/tdSomething else/td
/tr
/table
-
I just want it
Hello,
that's usually not possible because your webserver can't access the image
on your computer; a possible solution might be to determine the image size
via javascript and submit it with the form, so you can accept or deny the
image upload in your php script - problem: with javascript running
Hey,
Dont worry about talking crap, I took that risk when I
started this thread :-) I was hopeing that maybe the
image would have the info incoded in it which php
could read before going through the uploador
something like that.
I too am not really sure if its possible, but am
hopeing the
On Wed, 2004-10-13 at 10:31 -0400, Jerry Swanson wrote:
I want to send email every 24. What time format you recomend to use?
In what format the data should be store in mysql?
TH
every 24? hours? minutes?
Are you going to be running a script all the time to do this?
You might want to
On Wed, 13 Oct 2004 10:31:54 -0400, Jerry Swanson [EMAIL PROTECTED] wrote:
I want to send email every 24. What time format you recomend to use?
In what format the data should be store in mysql?
Your question is more appropriate for php-db or a MySQL list serv.
I'm not sure why you need to
In an attempt to make amends, have you tried PEAR's
Spreadsheet_Excel_Writer?
http://pear.php.net/package/Spreadsheet_Excel_Writer
It certainly works, we used it last week (although I have no *personal*
experience of it)
Cheers
Chris
Chris Dowell wrote:
meek /
sorry
[skulks off into dark
On Oct 13, 2004, at 10:40 AM, Gryffyn, Trevor wrote:
To all who've helped.
Thanks for your input. [embarrassment] Truthfully, when I gave that
example in my original email, I didn't try that specific one. But it
did work for me also when I attempted that one. [/embarrassment]
The reason I was
Philip Thompson wrote:
Well, whenever I click on the link to export to excel (in IE), a File
Download box pops up. It says the 'File name: toexcel.php' and the
'File type: ' (blank). It asks if I want to open or save. However, the
File name should not be toexcel.php (that's the page), it should
Hello, I would like to know if there is a patch just for the security
fix from PHP-4.3.8 to PHP-4.3.9 and where can I found it.
Thank you...
Federico Petronio
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I have been having all kinds of problems with the mail() function in PHP. I
realize that there are problems inheritly, but I think I am still trying to
track down the problem.
My latest theory is that PHP isn't set up to work with the right mailing
program. I know that our system is supposed
hi...
i'm dealing with an app that's throwing an err/warning msg.. i'm using php5,
on a linux rh8.0 system.
i believe the code was written for php4.
the code is:
if($rec)
{
$rs-append($setDefaults);
$rs-rows[$rs-pos]-fields=$rec; generates err msg...
$rs-rows[$rs-pos]-id=-1;
}
$rec = Array
Matt M. wrote:
on one place I have string something (something_2)
I have to take out of the string everything in brackets and brackets as
well.
probably I will need to use Regular Expression Functions but I'm really
bad with them :)
$string = something (something_2);
$pattern = /\(.*\)/;
I gather $rec is empty.. :) make sure there is something in it before
you assign it to that object member.
Jason
[EMAIL PROTECTED] wrote:
hi...
i'm dealing with an app that's throwing an err/warning msg.. i'm using php5,
on a linux rh8.0 system.
i believe the code was written for
In my case it will be actually product name (product number) and
always the same. That means Matt's code will do exactly what I need.
But, thanks for your post - could happen to use that on other place
:)
Thanks John
-afan
John Holmes wrote:
Matt M. wrote:
on one place I have string something
[snip]
Hello, I would like to know if there is a patch just for the security
fix from PHP-4.3.8 to PHP-4.3.9 and where can I found it.
[/snip]
Looking at http://www.php/net/downloads I do not see one.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
$rec is not empty
jason...
1st, if $rec was empty.. the 'if' section would not be called, and the err
would not be thrown
2nd.. i printed the value of '$rec' below the 'if' block of code...
but.. umm thanks...
-Original Message-
From: Jason Davidson [mailto:[EMAIL PROTECTED]
[snip]
... making me wonder if a local sendmail is handling the requests
instead.
With all of the above refering to sendmail, is there anyway that my
mail()
can actually be using qmail?
[/snip]
From http://www.php.net/mail, something you have not read apparently
For the Mail functions to
On Oct 13, 2004, at 11:30 AM, John Holmes wrote:
Philip Thompson wrote:
Well, whenever I click on the link to export to excel (in IE), a
File Download box pops up. It says the 'File name: toexcel.php' and
the 'File type: ' (blank). It asks if I want to open or save.
However, the File name
I have been having all kinds of problems with the mail() function in PHP.
I
realize that there are problems inheritly, but I think I am still trying
to
track down the problem.
My latest theory is that PHP isn't set up to work with the right mailing
program. I know that our system is
* Thus wrote bruce:
hi...
i'm dealing with an app that's throwing an err/warning msg.. i'm using php5,
on a linux rh8.0 system.
i believe the code was written for php4.
the code is:
if($rec)
{
$rs-append($setDefaults);
$rs-rows[$rs-pos]-fields=$rec; generates err msg...
...
hi...
i'm dealing with an app that's throwing an err/warning msg.. i'm using
php5,
on a linux rh8.0 system.
i believe the code was written for php4.
the code is:
if($rec)
{
$rs-append($setDefaults);
$rs-rows[$rs-pos]-fields=$rec; generates err msg...
$rs-rows[$rs-pos]-id=-1;
}
header('Content-Type: application/ms-excel');
header('Content-Disposition: attachment; filename=project.htm'); ?
AAA used by
excel to determine translation, I believe
I believe the Content-Type is referred to as a mime header (8-}), I
Jed R. Brubaker wrote:
I have been having all kinds of problems with the mail() function in PHP. I
realize that there are problems inheritly, but I think I am still trying to
track down the problem.
My latest theory is that PHP isn't set up to work with the right mailing
program. I know that
So as I am not an administrator, and all I have to go on is phpinfo (unless
anyone has some suggestions), should I be seeing some trace of qmail in the
phpinfo?
That is why I posted. I apologize if I didn't make it clear. I have read all
about mail, and even used the fantastic Lemos MIME
Jay Blanchard wrote:
From http://www.php.net/mail, something you have not read apparently
Pt. Read? Why would I do that? ;)
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
curt...
when i print $rs, i get the following:
displaying $rs shows that $rs is:
ResultSet Object (
[colNames] =
Array ( [0] = id [1] = username [2] = password [3] = email [4] =
is_super )
[colAliases] =
Array ( )
[colTables] =
Array ( )
[colTableAliases] =
Array ( )
[colTypes] =
Array ( [0] =
Jed R. Brubaker wrote:
So as I am not an administrator, and all I have to go on is phpinfo (unless
anyone has some suggestions), should I be seeing some trace of qmail in the
phpinfo?
No.
snip
Given the paths phpinfo is reporting, is there anyway that the system could
somehow still be using
- Original Message -
From: Jed R. Brubaker [EMAIL PROTECTED]
Date: Wednesday, October 13, 2004 1:21 pm
Subject: Re: [PHP] mail problems - phpinfo information
So as I am not an administrator, and all I have to go on is
phpinfo (unless
anyone has some suggestions), should I be seeing
So as I am not an administrator, and all I have to go on is phpinfo
(unless
anyone has some suggestions), should I be seeing some trace of qmail in
the
phpinfo?
That is why I posted. I apologize if I didn't make it clear. I have read
all
about mail, and even used the fantastic Lemos MIME
I am currently working on a newsletter mailing list project and
developed a form in php. I would like to validate before it is
submitted. What would be the best way to validate a form? Write your own
routines or using a form validator. I just started learning PHP, so
don't have much experience on
I've got to use some server side includes (and some SETs).
And PHP is set up as a CGI program.
If I include the php page from the .shtml page, the php page cannot
receive queries.
.php files are not set up to process these includes.
And of course virtual(), etc. do not work because PHP is set
Huang, Ou wrote:
I am currently working on a newsletter mailing list project and
developed a form in php. I would like to validate before it is
submitted. What would be the best way to validate a form? Write your
own routines or using a form validator. I just started learning PHP,
so don't
Hello,
On 10/13/2004 03:03 PM, Ou Huang wrote:
I am currently working on a newsletter mailing list project and
developed a form in php. I would like to validate before it is
submitted. What would be the best way to validate a form? Write your own
routines or using a form validator. I just started
Yes. Try yourself. All 3 ways provided to unsubscribe do no
work.
Brad
[snip]Been trying to unsubscribe this email account for
days nowand now go. Anyone on this list have access to
remove me?
[/snip]
And you have clicked on the unsub link in the e-mail?
-- PHP General Mailing List
I've got to use some server side includes (and some SETs).
And PHP is set up as a CGI program.
If I include the php page from the .shtml page, the php page cannot
receive queries.
.php files are not set up to process these includes.
And of course virtual(), etc. do not work because PHP
Hello,
On 10/13/2004 01:41 PM, Jed R. Brubaker wrote:
I have been having all kinds of problems with the mail() function in PHP. I
realize that there are problems inheritly, but I think I am still trying to
track down the problem.
My latest theory is that PHP isn't set up to work with the right
Huang, Ou wrote:
I am currently working on a newsletter mailing list project and
developed a form in php. I would like to validate before it is
submitted. What would be the best way to validate a form? Write your own
routines or using a form validator. I just started learning PHP, so
don't have
The Snake from Hell! wrote:
Yes. Try yourself. All 3 ways provided to unsubscribe do no
work.
Just worked for me. I'm subscribed with two email address...one for
home, and one for work...and unsubscribed the home one. Emails kept
coming thru to the work address, but no more to the home
Hello. I am working on a rather large form for my work that accepts, among
other things, 2 images, one smaller one 65 x 93 pixels, and a larger one 105
x 150 pixels, both in JPG format. Let me run through the whole process,
showing my code.
I use simple, standard HTML for the form:
input
Hi,
I'm getting an error trying to install PHP 5.0.2 on a fresh Fedora Core 2
installation:
Sorry, I cannot run apxs
apxs was not found
I verified this by searching the drive, it is not there. Is Apache
installed by default without using --enable-so ?
If so, what can I do?
Thanks,
Thanks so much for the insight which is a much simpler way.
I successfully set up a test page (a form) that takes email to, from,
subject and body and sends it.
?php
$emailto=$_GET['emailto'];
$emailfrom=$_GET['emailfrom'];
$emailsub=$_GET['emailsub'];
$emailbody=$_GET['emailbody'];
$headers =
I try to install php 5.01 on Windows 2003 Server with Apache 2.052 !
I try to install as Module and as Cgi !! ( i restart the server if you
asking of that :-) )
When i try an test.php ( just phpinfo(); ) in the web page apears
just the code of the test.php !!!
When i try to install as module i
Hey everyone, I'm trying to delete multiple records from a database using
PHP. I have a file list page which shows each entry in the database with a
checkbox next to it. At the bottom of the page is a Delete button. A
user should be able to check as many items on the file list and hit delete
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same directory?
I know its not
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same
directory?
try an apache mailing list.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Oops!
Sorry guy, sent to wrong place!
I apology.
:)
-afan
Matt M. wrote:
try an apache mailing list.
.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Afan Pasalic wrote:
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as AuthUserFile .htpasswd since they are in the same
Yes, I sent it on wrong place.
:)
Sorry.
-afan
Matthew Sims wrote:
# .htaccess
AuthType Basic
AuthName Restricted Area
AuthUserFile /www/html/path/to/file/admin/.htpasswd
require valid-user
# .htpasswd
Admin:ChqaxtiTH1e0E
Both files are in same directory.
Why it doesn't work?
Can I use as
[snip]
function deleteFiles() {
foreach($_POST['stack'] as $i) {//This should work but I
can't
tell if it is or isn't
mysql_query(DELETE FROM uploads WHERE upload_id = . $i);
}
[/snip]
Try print_r $_POST['stack'] and see what you get.
--
PHP General Mailing List
* Thus wrote bruce:
curt...
when i print $rs, i get the following:
displaying $rs shows that $rs is:
ResultSet Object (
[rows] = Array ( )
[pos] = 0
...
when i print $rs-pos, i get '0'
so are you saying that the code can't handle
On Wed, 13 Oct 2004 15:55:46 -0400, Don [EMAIL PROTECTED] wrote:
I'm getting an error trying to install PHP 5.0.2 on a fresh Fedora Core 2
installation:
Sorry, I cannot run apxs
apxs was not found
I verified this by searching the drive, it is not there. Is Apache
installed by default
On Wed, 13 Oct 2004 23:06:29 +0300, Nicolae Serban
[EMAIL PROTECTED] wrote:
I try to install php 5.01 on Windows 2003 Server with Apache 2.052 !
I try to install as Module and as Cgi !! ( i restart the server if you
asking of that :-) )
When i try an test.php ( just phpinfo(); ) in the web
On Wed, 2004-10-13 at 16:11 -0400, Adil wrote:
function deleteFiles() {
foreach($_POST['stack'] as $i) {//This should work but I
can't
tell if it is or isn't
mysql_query(DELETE FROM uploads WHERE upload_id = . $i);
}
header(Location: http://; .
Can this be done when the file already exists?
cleong at organic dot com says
29-Mar-2000 04:36
rename() doesn't seem to overwrite files on NT. The behavior is an
OS-dependent side-effect I guess.
on the PHP site @ http://us2.php.net/manual/en/function.rename.php
So this this true, or is
* Thus wrote Adil:
As far as the code goes what I'm doing is retrieving each record from the
database and assigning the value attribute of each checkbox the unique id
from the database. From that point on, when a checkbox is checked and the
delete button is pressed, I push each checked
PHP General List,
I am trying to use mkdir() on a shared unix server to create a
directory within my home space. I have to have the ability for my
user on this server to upload to this folder, however I think that
mkdir() creates the directory and makes it owned by the process
running Apache
On Thursday 14 October 2004 01:10, Matthew Sims wrote:
The mail settings in php.ini is for Windows only. When using PHP on
Unix/Linux, mail() always defaults to the sendmail binary on localhost. So
you can ignore what it says in phpinfo.
That's incorrect. The
sendmail_path =
setting is
On Thursday 14 October 2004 00:55, Jay Blanchard wrote:
[snip]
Hello, I would like to know if there is a patch just for the security
fix from PHP-4.3.8 to PHP-4.3.9 and where can I found it.
[/snip]
Looking at http://www.php/net/downloads I do not see one.
Maybe that's why the OP asked?
Any help with this would be appreciated.
I am trying to come up with something that will find which variable(s) have
the lowest value and inidicate which variable this is. In the event that
variables have an equally low value then it is to randomly pick one of the
variables and idicate which this
On Wed, 13 Oct 2004 17:19:28 -0500, BOOT [EMAIL PROTECTED] wrote:
the code should determine that $a and $b have the lowest value, and randomly
pick one of them. if $a was = 1 instead then it would just pick $a
Thanks for any suggestions!
Use an array.
--
Greg Donald
Zend Certified
On Thursday 14 October 2004 06:19, BOOT wrote:
[snip]
I have been able to do this by means of if comparisons but the more I
variables I add then the more complicated and messy it becomes. There has
to be a simpler way. If it makes any difference, the variables could just
as easily be array
On Thursday 14 October 2004 04:01, Mark Hubert wrote:
However, when I send a message to subscribe to the EZMLM list, it sends
ok, but doesn't get added to the list. When I send a test message to
myself I noticed that the Return-path in the email sent is not what I
set in my script, but that
On Thursday 14 October 2004 06:02, Jason FB wrote:
Does anyone know how I can create a directory which is owned by my
user account on this server-- or have any other creative suggetions?
If you have it, use FTP.
--
Jason Wong - Gremlins Associates - www.gremlins.biz
Open Source Software
On Thursday 14 October 2004 02:40, Dave Grant wrote:
echo Thumb image uploaded to .$thumbPath.br /\n;
echo Full image uploaded to .$fullPath.br /\n;
Do these look OK?
Everything works fine, except that the images are simply not there when we
go look for them. The best explanation I can
There are several JavaScript solutions for validating forms on the
client side. Search on hotscripts.com and google.com.
Client-side validation (in the browser) is useful, but you shouldn't
depend on it to guarantee that the data that your users submit is
valid. You should also validate the
Hey Matt,
/../imgs/blah.jpg should return
http://www.textx.com/t1/t2/imgs/blah.jpg
but its returning:
http://www.textx.com/t1/t2/t3/imgs/blah.jpg
and this: /../../imgs/blah.jpg
should return:
http://www.textx.com/t1/imgs/blah.jpg
but its returning:
99 matches
Mail list logo