Actually, when I want to submit a form programmatically i do myform.submit()
but what if i got like 3 submit buttons and each one with a name?
ie: submit1 button, submit2 button, and submit3 button.
if the users clicks on of them, i can check in the action file like:
if (isset($submit1)) { ... }
e
Very stupid question, but I have one variable, say $name = "foo"; and I want that to
assign on to session, reditect that to one cgi page and then go to one html page, and
I want to have that session value here at this html page, see what I mean? I am using
php3. How do I set session up at the f
Will this be able to protect the images in the directory? For example, if
someone tries to access an image in the directory, will the "auth.php" be
executed?
Thanks for everything.
- Kyutums
"PHPBeginner.com" wrote:
> All you need is to add this into .htaccess
>
> php_value auto_prepend auth.p
Hello.
we all know that we can send variables to another PHP file via tag
and with post method.
now i wonder if i can send variables from a script to another like POST
method but not using form tags.
like my question is how can i transfer data from form to form like the POST
of the tag, but w/o
What is PHP-GTK?
Can you just write me a short list of what it can do?
"Joe Stump" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I've noticed there isn't really a jumping off point for the PHP-GTK
beginners
> and users. I spent the last few hours throwing a s
> Is there a way to get spacing between
> $row["City"],$row["State"] in the html output?
> I've tried echo "$row["City"], nbsp; $row["State"]";
> and a bunch of other things and get Parse error: parse
> error, expecting `STRING' or `NUM_STRING' or `'$'' .
Try
echo $row["City"]." ".$row["State"
if (isset($url) && isset($text))
{ $fp = fopen("file.txt", "w");
$anothervar = fputs($fp, "$text", "r+");
$anothervar = fclose($fp);
}
echo "";
echo "";
echo "";
echo "";
echo "";
Tim Ward
Senior Systems Engineer
Please refer to the following disclaimer i
Hello,
I have a php page that accepsts posted data. I'd like to benchmark it
using ab (apache benchmark). In the ab man page, it has a -p POSTFILE option.
Does anyone here know what format should this post file contain?
Thanks.
__
www.edsamail.com
--
PHP Gene
--
HOWTO : Information on using arrays with forms (part 1 of n):
--
A few array/form questions have popped up recently so here begins a HOWT
this has been on the list many many times...check the e-mail functions at
php.net and check the archives at http://marc.theaimsgroup.com
-jack
-Original Message-
From: Carfield Yim [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 27, 2001 11:54 PM
To: [EMAIL PROTECTED]
Subject: [PHP] How
Nothing special. You can compose and send with mail().
Read related RFC or grab code does that from elsewhere on net.
--
Yasuo Ohgaki
"Carfield Yim" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How to send attachment with email with php?
>
> --
> PHP Gener
Use a mime_mail class. Have a look at the mail() function in the annotated
PHP manual. There are a few mime_mail classes mentioned there with links.
Mick
On Wed, 28 Mar 2001, Carfield Yim wrote:
> How to send attachment with email with php?
>
> --
> PHP General Mailing List (http://www.php.
php-general Digest 28 Mar 2001 07:16:28 - Issue 593
Topics (messages 45762 through 45842):
Re: Question on manually instantiating a file download
45762 by: Nuno Silva
Re: Environment extract
45763 by: Mark Maggelet
45764 by: Philip Olson
Re: Simple If-else statemen
Hey all,
I know you do not want to hear this question but after reading the list
archives and doing extensive searches with google I have a really large
internet headache, so here we go:
Where do I get a browscap.ini file that is current and will work in Linux?
The one suggested in the manual
On Wednesday 28 March 2001 04:32, Joe Stump wrote:
> I've noticed there isn't really a jumping off point for the PHP-GTK
> beginners and users.
Thanks for doing that.
I'm PHP developer and I've been following this list for a while and I've been
looking around for a good place to start on PHP-
""Matt Stone"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi,Hi,
> I have this code below which is supposed to be generating a password like
> QCCQCN2-IUZ with 10 characters - All but three in the first section (7) and
> three in the last part - but does no
"Christian Dechery" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> How do I store (and update) an array within a session...
>
> Like I'd have
>
> session_start();
> $time["page1"]="20";
>
> //here, should I do this?
> session_register("time["page1"]");
>
> //o
> >I am curious to know why you need to use the /n, and what it actually
does,
> >because I had a page that used them, and i removed them all and it still
> >works fine.
>
> As far as the HTML output, it wont affect how it shows up on the screen,
> but if you look at the HTML code, you will notice
Hello,
can i make a function that displays the __LINE__ of it's caller?
ie:
function show_caller_s_line()
{
echo "my caller's line is:" . __LINE__;
}
1: blahblahblah
2: show_caller_s_line()
3: blahblah
output should be:
my caller's line is: 3
is that possible?
thanks.
-elias
--
PH
Dear Khai,
If you're planning to your webmailapplication in PHP visit www.phpposta.com.
Right now it's in a developing stage but you can download the code and have a look
at it. Ofcourse it's GPL, if you make some additions, changes in the code please let
me know!
Best regards,
Maarten Verheij
I'm facing a problem with Special Characters ($, %, &,
\, /, ;, :, ", ') etc..
We are sending a varibale in a query string like this
:
with $title containing multiple words & these special
characters, it is not passed. I get an error.
Without urlencode, multiple words are not passed with
> I am curious to know why you need to use the /n, and what it actually does,
> because I had a page that used them, and i removed them all and it still
> works fine.
Have a look here (the main manual is down this second) :
http://uk.php.net/manual/en/language.types.string.php
An example use
php-i18n Digest 28 Mar 2001 06:20:46 - Issue 60
Topics (messages 146 through 146):
Jstring does'nt seemed to be working,,,
146 by: Tatsuro Nakagawa
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL
Hi.
I've installed a module named...
php-4.0RC2_jstring-1.0.tar.gz
and an instalation seemed prety good, with no errros.
BUT, it doesn't work!
An error like this shows on my browser:
-- ERROR MES --
Warning: Unable to load dynamic library './jstring.so' - ./jstring.so: cannot open
shared ob
Hello,
* i wondering where to get ifo on developing web e-mail
* what standard should i use to deveping to software
--
--
Any suggestions would be appreciated.
Thank You
Khai Mun, Ng
--
PHP General Mailing List (http://www.php.net/
Hello,
* i am new to linux environment, where can i get IMAP installation guide
* where to get a proper IMAP software
--
--
Any suggestions would be appreciated.
Thank You
Khai Mun, Ng
--
PHP General Mailing List (http://www.php.ne
At 06:04 PM 28/03/2001, you wrote:
>Hi,
>
>I am curious to know why you need to use the /n, and what it actually does,
>because I had a page that used them, and i removed them all and it still
>works fine.
As far as the HTML output, it wont affect how it shows up on the screen,
but if you look a
Hi,
I am curious to know why you need to use the /n, and what it actually does,
because I had a page that used them, and i removed them all and it still
works fine.
Also, is it seen as good or bad practive to use \" only when required or all
the time.
i.e
echo ""; //Doesn't need to use \"
echo "
""Nick Norton"" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Does anyone know of a method to read a remote password protected file
> without actually downloading it locally and then reading?
I suppose you must download file before reading.
There are so many
You can use URL mode for PHP4 session if you want session w/o cookie.
How about read this link?
http://www.zend.com/zend/tut/session.php
--
Yasuo Ohgaki
"duirfire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi, can someone point me toward a tutorial tha
heh,
dunno, maybe the $PATH environment var doesn't include /sbin or /usr/sbin.
Test w 'ls' see if you can get a directory listing, at least?
"Steven Shepherd" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Brad,
>
> Thanks for the response. Either method t
On Wed, 28 Mar 2001 14:47, chris herring wrote:
> ok here's the script i have, and i keep getting errors
>
> $fp = fopen("file.txt", "w");
> $fp = fputs("file.txt", "$text", "r+");
> $fp = fclose("file.txt");
>
> echo "";
> echo " value=\"http://\">"; echo " size=\"20\">";
> echo " Link\">";
>
>
ok here's the script i have, and i keep getting errors
$text", "r+");
$fp = fclose("file.txt");
echo "";
echo "";
echo "";
echo "";
echo "";
?>
what's wrong with it. it says it's with the fputs and fclose things.
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "chris
On Wed, 28 Mar 2001 14:31, chris herring wrote:
> - Original Message -
> From: "David Robley" <[EMAIL PROTECTED]>
> To: "chris herring" <[EMAIL PROTECTED]>;
> <[EMAIL PROTECTED]>
> Sent: Tuesday, March 27, 2001 10:19 PM
> Subject: Re: [PHP] Blah I'm Stupid
>
> > On Wed, 28 Mar 2001 13:44,
how would you go about writing that data do a text file then?
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: "chris herring" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 10:19 PM
Subject: Re: [PHP] Blah I'm Stupid
> On Wed, 28 Mar 2001 13:44,
How to send attachment with email with php?
--
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]
On Wed, 28 Mar 2001 13:44, chris herring wrote:
> > I got a question here. How would you go about calling variables from a
> form. I'm sure this is super-easy, but I'm a newbie. Any help would be
> greatly appreciated.
Just prefix the form object names with $
Say you have a text box set up like
The input type name is the variable so say you have
your variable = $foo
Peter
-Original Message-
From: chris herring [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Blah I'm Stupid
I got a question here. How wou
I got a question here. How would you go about calling variables from a form. I'm sure
this is super-easy, but I'm a newbie. Any help would be greatly appreciated.
So tired I forgot to put in the URL:
http://gtk.php-coder.net
--Joe
On Tue, Mar 27, 2001 at 10:32:26PM -0500, Joe Stump wrote:
> I've noticed there isn't really a jumping off point for the PHP-GTK beginners
> and users. I spent the last few hours throwing a site together that has the
> basics t
I've noticed there isn't really a jumping off point for the PHP-GTK beginners
and users. I spent the last few hours throwing a site together that has the
basics to fill this void.
It has:
1.) An application archive
2.) News
3.) Discussion
4.) Helpful Links
I've put up one of my initial apps an
> you can't stream output like that...netscape will wait until your
> HTML output is done, but if you're infinitely looping, it won't be, and
> you'll never get your tags.i've seen a number of
> posts trying to do chats and flush() the output, but bottom line, if you
> don't send it a com
you can't stream output like that...netscape will wait until your
HTML output is done, but if you're infinitely looping, it won't be, and
you'll never get your tags.i've seen a number of
posts trying to do chats and flush() the output, but bottom line, if you
don't send it a complete html
I've an interesting problem that after using php to restart SAMBA the server
no longer parses php to that particular browser.
This is really really weird!!
The situation is that I've built a php tool to restart server services such
as atalk and samba. Starting/Restarting/Stopping atalk works bea
Thanks, that did it.
Steve
- Original Message -
From: "David Robley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 27, 2001 7:58 PM
Subject: Re: [PHP] setting Check box
> On Wed, 28 Mar 2001 10:18, S. Efurd wrote:
> > This worked for me as well, and helped me with a
adaniel Tue Mar 27 19:17:00 2001 EDT
Modified files:
/php4/pear/HTML Page.php
Log:
bug fix in toHtml
Index: php4/pear/HTML/Page.php
diff -u php4/pear/HTML/Page.php:1.1 php4/pear/HTML/Page.php:1.2
--- php4/pear/HTML/Page.php:1.1 Fri Mar 23 20:36:38 2001
+++
I'm attempting to write a chat which streams HTML. There's a problem with the
main function that's responsible for 'streaming'. It loops endlessly and if
anytihng new appears in the database, it parses it into HTML and outputs it
via the echo command. The chatboxDisplay method is what is respon
I'm still confused. I'm looking to sort the list[$r] part of the array based
on what value $list[$r]["priority"] is. What would the function's arguments
be?
""Stuart J. Browne"" <[EMAIL PROTECTED]> wrote in message
99rajk$i0v$[EMAIL PROTECTED]">news:99rajk$i0v$[EMAIL PROTECTED]...
> > while ($row
On Tue, 27 Mar 2001 18:48, Jochen Kaechelin wrote:
> how can I connect to a remote-database from
> my local dos-window?
>
> I use the following without success:
>
> mysql -u XXX -h mysql-XXX -p -D
>
>
> Jochen Kaechelin
Should you not have a full hostname as the argument for -h ?
--
On Wed, 28 Mar 2001 10:18, S. Efurd wrote:
> This worked for me as well, and helped me with a problem I was having!
>
> How would you show what option was selected in a drop down box. I have
> a form the user fills out, this goes to a confirmation page to ensure
> the data enetered is correct. I h
am not sure if it would work or not but maybe if you tried
$foo= if ($areacode == '$bar') { echo
'SELECTED '; }
>foo bar
-Original Message-
From: S. Efurd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 11:20 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setting Chec
On Tue, 27 Mar 2001 18:48, Daniel B I wrote:
> It.s me, again :)
> There is trick to find out if php will be compiled well
> (I mean with jpeg support):
>
> when issuing the ./configure command in php,
> after putting all the options, put something like this:
> ./configure ... > cf.log
>
> (this i
How do I store (and update) an array within a session...
Like I'd have
cuz I'll have more pages...
$time["page20"]="300";
is this going to automatically load into the session vars or I have to do
something first?
. Christian Dechery (lemming)
. http://www
I thought about doing it this way, but repeating this 50 times seems a bit
ineffecient, perhaps i am looking for a shortcut that does not exist? I had
hoped I was missing something obivious.
Thanks
Steve
- Original Message -
From: "Peter Houchin" <[EMAIL PROTECTED]>
To: "S. Efurd" <[EMAI
use
>foo bar
Peter
Ps thanks again David & Jason M & Phillip for your help :>
-Original Message-
From: S. Efurd [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 28, 2001 10:48 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] setting Check box
This worked for me as well, and he
i used something like this in a series of checkbox's to grab all the
values in an arrayi'm not sure if it can be used in this way though,
but give it a go...
-jack
Jason Lotito wrote:
>
> Okay, here is the question, I have a form that will continue to grow in the
> number of elements that
cox Tue Mar 27 16:54:05 2001 EDT
Modified files:
/php4/pear/DB ibase.php oci8.php
Log:
oci8.php
* added not capable for fetchInto when $rownum !== null (feature not
supported yet)
* fix fetchInto to return null on no more data
* Removed extra che
This worked for me as well, and helped me with a problem I was having!
How would you show what option was selected in a drop down box. I have a
form the user fills out, this goes to a confirmation page to ensure the data
enetered is correct. I have a drop down box for states, and I cant seem to
m
My apologies for assuming too much of the variable names. Thank you for
correcting me.
Your response has caused me good confusion though. If I remove the ${...}
notation I get quite a different output (specifically, there's no output).
Are you sure the parser ignores it?
This is the code I sug
Hi,Hi,
I have this code below which is supposed to be generating a password like
QCCQCN2-IUZ with 10 characters - All but three in the first section (7) and
three in the last part - but does not work in all cases. Sometimes it prints
LPSA3WD-IM or G22G2G9-FC.
Is there a catch in the code that will
> while ($row = mysql_fetch_array($results)) {
> $tmp = get_item_reorder_priority($row["item_sku"]);
> $list[$r]["priority"] = $tmp[0];
> $list[$r]["sku"] = $row["item_sku"];
> $r++;
>}
>
>$list = array_multisort($list["priority"], SORT_NUMERIC, SORT_DESC);
>
> and it retur
Art,
Thanks for the suggestion, but I think there is a flaw in your
solution.
The original issue was how to get at the value of a constant where the
$constant_name is dynamically created as a variable.
In your solution you have defined constant_name as a constant!
So when you assign it, it does
Hi!
Is there any possibility to import an existing pdf file in PHP 4.0.4pl1
(pdflib 3.0.3) to modify it?
Thanks in advance!
Ciao
Steffen
---
+---+
| Steffen Wieschalla|
|
Okay, here is the question, I have a form that will continue to grow in the
number of elements that it contains. The values are passed into a function,
and then written out to a file.
Currently, I have 38 seperate values that are being passed into this
function, making the arguments for the func
Chris,
Go to www.thickbook.com. Julie Meloni has a tutorial there which gives you
exactly what you want. It's the one which has to do with custom error
messages, which , believe or not, are on the subject of data validation.
Miles
At 06:31 PM 3/27/01 -0500, Chris Worth wrote:
>I'm working wi
I'm working with some forms that need the data validated. Dates, times etc.
my question is, how do I "reset" the form back to the original screen with variables
intact so they can make the changes?
is there a code snippet some place i can work with?
thanks,
chris
--
PHP General Mailing
Try this example :
Regards,
Philip
On Wed, 28 Mar 2001, FredrikAT wrote:
> Hi, again!
>
> Didn't work...
>
> This is the scene: (file.php?a=input)
>
>
> (file.php?a=reg)
> Trying to echo type...
> ${$myfile[$count] . '_type'} // NOT WORKIN'
> ${$myfile$count}_type // NOT WORKIN'
>
> A
Hi, again!
Didn't work...
This is the scene: (file.php?a=input)
(file.php?a=reg)
Trying to echo type...
${$myfile[$count] . '_type'} // NOT WORKIN'
${$myfile$count}_type // NOT WORKIN'
Any suggestions?
Fredrik A. Takle
Bergen, Norway
""FredrikAT"" <[EMAIL PROTECTED]> skrev i melding
99qqq
Hi, can someone point me toward a tutorial that shows how to register info
(e.g. username, login status, and user preferences) and do this in a session
without using cookies... is this even possible?
thanks!
duirfire
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EM
"Marisol Díaz E." <[EMAIL PROTECTED]> wrote:
> 1. (*) text/plain
>
> Hi
>
> I need the code, for protecting the dir by password.
take a look at htaccess files
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For ad
Just check the value of the submit variable.
If it's populated, then the form has been clicked.
Best regards,
Andrew
---
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com
On 3/27/01 4:
On Tue, 27 Mar 2001 15:50:44 -0600 (Central Standard Time), Michael
Champagne ([EMAIL PROTECTED]) wrote:
>But then how would you process it in the same file? If I'm calling
>it from
>myfile and my link is to myfile then how does it know that it's
>already been
>clicked?
well you can make the url
But then how would you process it in the same file? If I'm calling it from
myfile and my link is to myfile then how does it know that it's already been
clicked?
Thanks,
Mike
> On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael
> Champagne ([EMAIL PROTECTED]) wrote:
> >Is there
Hi,
for the haeder just make sure that there is NO output
whatsoever before the header-call. even if line 1 of your
script is empty before the schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for all the help. I finally got it to work. I ended up using a
bunch
> of if
Thanks for all the help. I finally got it to work. I ended up using a bunch
of if ($lname=="") { statements instead of if (($lname=="") ||
($fname=="")) { and that seems to be working. I still can't get the
header() statement to work. So I just cheated and put in some text telling
the user to
Hi,
i'm not that much into mail functions but my manual tells
me that impa_delete selects a message to be deleted.
imp_expunge delets all selected messages.
look into the correct syntax
Johannes
"Miguel Carvalho" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECT
Hello,
i have this code:
while ($row = mysql_fetch_array($results)) {
$tmp = get_item_reorder_priority($row["item_sku"]);
$list[$r]["priority"] = $tmp[0];
$list[$r]["sku"] = $row["item_sku"];
$r++;
}
$list = array_multisort($list["priority"], SORT_NUMERIC, SORT_DESC);
a
Does anyone know of a method to read a remote password protected file
without actually downloading it locally and then reading?
- Nick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the l
On Tue, 27 Mar 2001 14:04:58 -0600 (Central Standard Time), Michael
Champagne ([EMAIL PROTECTED]) wrote:
>Is there a way to have an ordinary href link call some javascript
>and say "are
>you sure blah blah blah?" and then once you hit Ok it calls the same
>php file
>which then does all the databas
Hi Louis,
you cuold try it with if (empty($fname)) { redirect...
just check again that your form is ok.
Johannes
"Louis Brooks" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Thanks for everyone's response. I am still not able to get the
>
> if(($fname
H-
Really, that's strange.
Try printing out your variables and seeing what is actually being
passed.
print "FNAME:$fname:\n";
With the : : colons surrounding your variable you can see what if
anything is actually in $fname.
Also it might have been a typo on your part but be sure to check f
sniper Tue Mar 27 12:34:51 2001 EDT
Modified files:
/php4 acinclude.m4 configure.in
/php4/ext/aspellconfig.m4
/php4/ext/bz2 config.m4
/php4/ext/ccvs config.m4
/php4/ext/cpdf config.m4
/php4/ext/crack config.m4
Hi folks
I mailed this to the list some time ago, but it seems to have got
"lost" so here is is again...
I had 2 suggestions from the list:
1) indirection - $constant_value = $$constant_name ;
I had already tried this, but couldn't get it to work. Unless I am
missing something it just gives an
Hi Mike,
Try this little test :
'Seattle', 'state' => 'Washington');
// Can do in PHP4 :
print "{$row['city']} {$row['state']}";
// Can do anytime :
print $row['city'] . ' ' . $row['state'];
?>
Not sure when "{$array['index']}" came about exactly but iirc it's not
Brad,
Thanks for the response. Either method they both work via command
line. Neither of them work in the browser.
On Tue, 27 Mar 2001, Brad S. Jackson wrote:
>
> Try $top = `top n 1 b | head -8 | sed 's/[\$|^M]//g'`;
>
> In my experience, you can't use | in exec calls, you have to use the
On Tue, Mar 27, 2001 at 09:56:01PM +0200, FredrikAT wrote:
> Why can't I do $myfile[$count]_type?!
> What schould I do instead?
${$myfile[$count] . '_type'}
There are some examples in the user comments in this manual page:
http://www.php.net/manual/en/language.variables.variable.php
Matt
--
Is there a way to have an ordinary href link call some javascript and say "are
you sure blah blah blah?" and then once you hit Ok it calls the same php file
which then does all the database stuff?
I know I can do this just by creating another PHP file and having the link
call that, but it seems l
Thanks for everyone's response. I am still not able to get the
if(($fname="")) {
statement to work even with the suggestions everyone made so I am beginning
to wonder if it is a problem with the server. (It is php3 on an Apache
server. ) Any other suggestions would be greatly appreciated.
Tha
Hello,
Is there a way to get spacing between
$row["City"],$row["State"] in the html output?
I've tried echo "$row["City"], nbsp; $row["State"]";
and a bunch of other things and get Parse error: parse
error, expecting `STRING' or `NUM_STRING' or `'$'' .
The way I want the output is as follows:
Du
I think you mean distict, as in
$query = "SELECT DISTINCT band_name FROM table WHERE ...";
Data Driven Design
P.O. Box 1084
Holly Hill, FL 32125-1084
http://www.datadrivendesign.com
http://www.rossidesigns.net
- Original Message -
From: Rami Krayem <[EMAIL PROTECTED]>
To: <[EMAIL PROTEC
Why can't I do $myfile[$count]_type?!
What schould I do instead?
-
Fredrik A. Takle
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the
> -Original Message-
> From: Rami Krayem [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, March 27, 2001 11:49 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] Newbie - MySQL Question - Finding Unique Names in Column
>
>
> I have a listing of photos in a table as follows (not actual
> column names
I'm sorry to jump in mid-stream here (I've been offline for a while), but
was
$constant_value=${constant_name};
suggested?
eval's spook me, so I would prefer this solution over the working
suggestion you received.
This works for me on 4.0.4:
$test_name="ta_dah";
define("constant_name","test_nam
I have a listing of photos in a table as follows (not actual column names):
Image Name, Image Width, Image Height, Band Name, Venue, City, State, Date
I would like to have a list of the different bands with photos in the
archive. There may be 120 photos of any one band, but I would like to
sel
Thanks everyone for all the responses.
I think I'll look into sessions in the future. Meanwhile I'll have to see
what others come up with.
Thanks,
Martin S.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROT
H-
Another solution might be to use javascript to check the fields before
the page is even submitted to make sure they put "something" in the
first and last name fields.
Unfortunately I'm not a javascript person but I've seen it done so much
I'm sure you could find examples on the web or via a
Ahh, that's the cause. Here's how to duplicate the error :-)
error_reporting(E_NOTICE);
foo();
function foo()
{
echo $HTTP_USER_AGENT;
}
As Mark mentioned, mind your scope. Regarding the error, I just posted
some information on this perhaps it'll be of some use :
http://mar
On Tue, 27 Mar 2001 17:31:25 +0100, Costas ([EMAIL PROTECTED])
wrote:
>when i try printing
>
>print $HTTP_USER_AGENT;
>
>I get the error message Undefined variable: HTTP_USER_AGENT
>
>have i missed a declaration of some sort or something else?
>
>thanks
Are you doing this from inside a function
hello,
you could "start from the end" :)
show the nice page saying "THANKS!!" or something and this page will
call the download script itself with "meta refresh=..." in the
...can't remember the meta refresh syntax right now :)
hope it works,
Nuno
Vikram Vaswani wrote:
> Hello all,
>
> I
php-general Digest 27 Mar 2001 19:05:15 - Issue 592
Topics (messages 45701 through 45761):
File upload and database optimization questions
45701 by: Vikram Vaswani
45702 by: Jason Murray
45708 by: Jason Lotito
submit form witout clilck submit button
45703 by
1 - 100 of 169 matches
Mail list logo