On Wednesday 27 March 2002 15:33, David McInnis wrote:
> OK. But I am not changing the permissions. How am I setting the x bit?
> I am not doing anything in my code except executing a copy() or
> move_uploaded_file(). Is my server not configured correctly? If so, how
> do I change the default p
At 26.03.2002 14:44, you wrote:
>I wasn't so much concearned about security of users grabbin pics. I am
>more trying to learn how these people load there menus dynamically and
>pics dynamically. Do you have any links to pages or code that describe how
>to make a link in the db to pics on my files
I can't imagine you'll ever get results that are to anyone's satisfaction
using JPEGs unless they aren't wearing their glasses. How about PDF?
miguel
On Tue, 26 Mar 2002, Michael A. Peters wrote:
> Here's the situation.
>
> I run the website for a macintosh user folding@home team.
>
> We are
Is there any other way of enabling trans_sid besides when compiling php?
Can I enable it in the php.ini file or .htaccess? And if so what would the
syntax be? I've tried multiple things, but nothing seems to work..
If that's not possible is there a way of getting rid of the '?' in the url
when p
Here's the situation.
I run the website for a macintosh user folding@home team.
We are providing certificates for users who have done a signifigant amount
of work for the team.
I have jpeg templates and I'm using ImageTTFBBox and ImageTTFText to write
the username of the user on the certificate
OK. But I am not changing the permissions. How am I setting the x bit?
I am not doing anything in my code except executing a copy() or
move_uploaded_file(). Is my server not configured correctly? If so, how
do I change the default permissions?
By the way, move_uploaded_file() sets completely
On Wed, 27 Mar 2002, gaukia 345 wrote:
> I'm writing a web mail. Having problem grabbing user full name to be
> included in the email. So I hv a few questions:
>
> 1) How do I fetch the user's full name using a PHP function WITHOUT
> calling system program finger? I already have the Linux user I
Either severely mis-configure, or make a mistake (damn us humans and our
mistakes :)
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 11:15 PM
To: Demitrious S. Kelly
Cc: 'David McInnis'; [EMAIL PROTECTED]
Subject: RE: [PHP] Does this seem
But it would mean that you would have to severly misconfigure your server
and write severely braindead code. Simply putting a file in your
document_root that has the x bit set will under normal circumstances not
do anything.
On Tue, 26 Mar 2002, Demitrious S. Kelly wrote:
> That's not entirely
That's not entirely true... if php is running as cgi it would need the
execution bit set. Or if someone wanted to write a shell script in php
to be used to help compromise a server it would need to be executable as
well...
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
First, the execute bit means nothing over HTTP. So they couldn't just
execute it remotely. They would need an account on the box.
And second, PHP does not set the x bit, you are doing that. Check your
default umask or set it explicitly with a call to umask() before copying
the file into place.
The default file permission for new files on the *nix system may be set
to something like 755... that could be the problem...
-Original Message-
From: David McInnis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 11:03 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Does this seem odd?
Why does PHP set the execute bit on an uploaded file? This means a user
could upload a script and it would be executable. Ouch! Especially if
the file is available via httpd after upload. . . HELP.
I am saving to a directory with permissions of 766
And when php copies the file it assigns the
On Wednesday 27 March 2002 14:44, gaukia 345 wrote:
> Hi all,
>
> I'm writing a web mail. Having problem grabbing user full name to be
> included in the email. So I hv a few questions:
>
> 1) How do I fetch the user's full name using a PHP function WITHOUT calling
> system program finger? I alread
Hi all,
I'm writing a web mail. Having problem grabbing user full name to be
included in the email. So I hv a few questions:
1) How do I fetch the user's full name using a PHP function WITHOUT calling
system program finger? I already have the Linux user ID and password since I
am using HTTP a
Seems like you're getting confused about output verses php code. Let's say
you have a file called "form.php"...
it submits to itself, checking the submitted data. if the form input is
good, you want to do "stuff", then redirect them to a thanks page. if it
isn't, you want to send them back to
> Hi Mr. Lerdorf,
> I look forward to you upcoming O'Reilly PHP book. =)
>
> Yes, a META tag refresh or Javascript control seems to be the only way left.
> Strange that URL redirection is so unusual to implement in PHP compared to
> ASP or Coldfusion (unless they do something klunky under the hood
Or, alter your page's structure so that it writes its output into a
buffer, and echo/print it at the end of the page. That way you can
do the redirect at any point it's needed within the page logic.
Jason
--
Jason Murray
[EMAIL PROTECTED]
Web Developer, Melbourne IT
"Work now, freak later!"
>
Hi Mr. Lerdorf,
I look forward to you upcoming O'Reilly PHP book. =)
Yes, a META tag refresh or Javascript control seems to be the only way left.
Strange that URL redirection is so unusual to implement in PHP compared to
ASP or Coldfusion (unless they do something klunky under the hood).
Anyway,
GS> echo 'Finished';
?>>
I can do one better:
... ?>Finishedhttp://mrclay.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
I'm trying to fill a rectangle with color in a php generated PDF
document. I get the following error:
*Fatal error*: PDFlib error: illegal state 0x in
*/usr/local/apache/htdocs/EDR/generate_edr.php* on line *144*
I have tried both of the following on line 144:
pdf_setcolor($pdf,
So use a Javascript meta-refresh
On Wed, 27 Mar 2002, webapprentice wrote:
> Hi,
> Thanks for the reply. I saw this as well in the mailing list archives, but
> everyone is saying you cannot output ANYTHING before calling header.
>
> Unfortunately, I'm calling this at the end of a process, so it
Hi,
Thanks for the reply. I saw this as well in the mailing list archives, but
everyone is saying you cannot output ANYTHING before calling header.
Unfortunately, I'm calling this at the end of a process, so it won't work.
It tells me I've already sent out header information.
I've basically cre
Try echo ''.row["name"].'';
if $row["id"] still isn't shown, then you most likely aren't getting the
right data from the database to the correct variable...
-Original Message-
From: Omland Christopher m [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 7:53 PM
To: [EMAIL PROTECTE
Can someone help me with this. I'm trying to get ?id= set to the id number
of the name in the database. I can get ?id="THE NAME" but I can't get it
to pick up the id number. here is the code i"m trying:
while($row = mysql_fetch_array($result))
{
printf("%s\n", $PHP_SELF,
> Is there any PHP function that works like ColdFusion's location tag?
> After a certain execution, I wish to leave the current PHP
> page entirely and go to another page. Is this possible?
That's a HTTP Header, so you want to use the ... Header() command.
A Location header is what does the re
Is there any PHP function that works like ColdFusion's location tag?
After a certain execution, I wish to leave the current PHP page entirely and go to
another page. Is this possible?
I'm scouring the help stuff and am still digging for answers.
Thanks.
I don't know if this helps, but you may find life becomes simpler if you
keep all your session variables in one array. Then you can
session_register that at the very top of your code and cover all bases at
once.
miguel
On Tue, 26 Mar 2002, Vlad Kulchitski wrote:
> OK, hope you don't mind I f
can anybody point me to tutorial, articles on
implementing design patterns using PHP ??
__
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscrib
OK, hope you don't mind I follow up a question, and it will be up to you to answer or
not, this is very general and important to me.
My whole project main template is FILE.PHP, the content is changed based on the values
sent via QUERY_STRING. SO:
Below is the approximate outline: (basically th
Hi All,
This is my first participation in this group, so my question is I
write a function in c, but I need use this function and more joined in a
library make using the command ar rc alexlib.a x.o, but this procedure show
a error when I use this in my browser, please anyone can help me.
On Tue, 26 Mar 2002, Vlad Kulchitski wrote:
> Hi can anyone help me, I am getting this error when I try
> to start session:
>
> Warning: Cannot send session cookie - headers already sent by (output
> started at /var/www/kulchitski/btl/btl.php:2) in
> /var/www/kulchitski/btl/_talkroom_edit.php on
That is an excellent example.
And just for the hell of it, Ill leave the lines that aren't in the
function as is, just for the hell of it.
Thanks.
Philip Hallstrom wrote:
> Why not just take that file and remove anything that isn't a function (so
> nothing actually executes) and then do somethin
That would mean that you have some type of output to the browser, i.e. blank
line, or some text, before you are calling your session/cookie
- Original Message -
From: "Vlad Kulchitski" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, March 26, 2002 8:17 PM
Subject: [PHP]
Hi can
Just to clarify, that is a Windows-specific bug. Non-Windows works just
fine.
On Tue, 26 Mar 2002, Chris wrote:
> On 26 Mar 2002 at 20:42, Evan wrote:
> > I have PHP 4.1.2 (the latest, I downloaded it a week ago).
>
> PHP 4.1.2 has several bugs.
> One of them is that Apache and sessions variabl
Hi all,
My purpose is to transform an rdf utf-8 file into sql for mysql.
Data are both in french/english, in french there are stange caractere that
doesnt render well (çèé...)
What the output had to be ?
Mysql only support latin1 ?
I m lost in all that encodage !
Help me
I dont know how to pa
Hi can anyone help me, I am getting this error when I try
to start session:
Warning: Cannot send session cookie - headers already sent by (output
started at /var/www/kulchitski/btl/btl.php:2) in
/var/www/kulchitski/btl/_talkroom_edit.php on line 39
I didn't start session before, in fact I never
Great photo :-}
Any reviews on the book yet?
Warren Vail
Tools, Metrics & Quality Processes
(415) 667-7814
Pager (877) 774-9891
215 Fremont 02-658
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 3:29 PM
To: Scott St. John
Cc: Ralph
Why not just take that file and remove anything that isn't a function (so
nothing actually executes) and then do something like:
print microtime();
include "thatfile.php";
print microtime();
and see how long it took to parse 3000 lines... one more line isn't going
to make that much difference.
Actually, the file in question is 3000 lines long, 99% in functions.
Im trying to tell him that he may not see any speed ups in code execution.
As long as I know Im right, its just the peace of mind when I go to bed
tonight :)
Martin Towell wrote:
> any speed difference will be miniscule/neglig
any speed difference will be miniscule/negligible - is speed, to the
microsecond, important in this situation?
-Original Message-
From: Gerard Samuel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, March 27, 2002 11:23 AM
To: PHP
Subject: [PHP] Code Bulk
Im in a debate with someone else.
Ba
Im in a debate with someone else.
Basically were debating code bulk.
This is just an example ->
run_this_code;
}
echo 'Finished';
?>
Now, if I understand php correctly, the whole script gets parsed, but
since $run_this code isn't set, $this->run_this_code doesn't get
echoed/executed. What th
U, is that correct?
I thought (although never tried) that you could reference an image as
or simular, in which case the headers and
everything else CAN be sent in the image tag, which is embeded in a HTML
page -- isn't that how they do counters etc etc??
At the moment, I'm just storing my
No idea, I don't follow O'Reilly covers all that closely. This one
arrived on my doorstep a couple of days ago. According to Barnes & Noble
it starts shipping today. Not sure why Amazon says it isn't published
yet. The fact that I have a copy would seem to disprove that.
-Rasmus
On Tue, 26 M
It is, the picture should prove that.
On Tue, 26 Mar 2002, Scott St. John wrote:
> I didn't think Programming PHP was out yet?
>
>
> On Tue, 26 Mar 2002, Rasmus Lerdorf wrote:
>
> > Or, of course, if you want to be cool like Carl:
> >
> > http://lerdorf.com/buy/
> >
> > ;)
> >
> > -Rasmus
>
Ah, never mind, the problem is that your From: header is invalid.
You have:
From: Philip J. Newman
which is not a valid address format. Try something like this:
From: "Philip J. Newman" <[EMAIL PROTECTED]>
miguel
On Wed, 27 Mar 2002, Philip J. Newman wrote:
> $email = [EMAIL PROTECTED
$email = [EMAIL PROTECTED] example
- Original Message -
From: "Miguel Cruz" <[EMAIL PROTECTED]>
To: "Philip J. Newman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 11:14 AM
Subject: Re: [PHP] Problem sending email message, from Newman.
It is quite easy to store images in a database and display them on the
screen. You can find tutorials about this online (sorry I don't have
any direct links). There are also numerous FREE scripts pre-written
that you can integrate into your site, or use to learn how to do this
yourself.
There i
Can you show the contents of the variable $email ?
miguel
On Wed, 27 Mar 2002, Philip J. Newman wrote:
> Below is some code that I have used to send an email Via mail. The message
> sends with the correct data, HOWEVER my mail server don't like the header
> and sends the email back to admin.
>
Try looking in your /usr/local/bin directory.. It should be there.
Cheers!
Rick
"And God shall wipe away all tears from their eyes; and there shall be no
more death, neither sorrow, nor crying, neither shall there be any more
pain: for the former things are passed away." - Revelation 21:4
> F
Below is some code that I have used to send an email Via mail. The message
sends with the correct data, HOWEVER my mail server don't like the header
and sends the email back to admin.
ROUTER: Failure delivering mail message to recipient: [EMAIL PROTECTED]
[ROUTER: Unexpected SMTP Server 'ihug.co.
> I am probably wrong about this, but I thought that you could register
> session variables using this technique only if you are using
> PHP 4.1.x
> and you use the format:
>
> $_SESSION['v_s'] = 500;
The key point is the register_globals setting in php.ini. If it is set to
on, then register
Not sure on the 404 part, you might look at CURL.
For the DNS part you could do
if (!gethostbyname(server1.dydns.org)) {
header ("Location server2.dycns.org");
}
This function is in the PHP manual.
Jason
-Original Message-
From: Philip J. Newman [mailto:[EMAIL PROTECTED]]
Sent
We have PHP and APACHE (1.3.19) installed and an instance of apache is
running with php support enabled.
I need to set up another instance of httpd using a seperate config file.
However I cannot get PHP support enabled.
I cannot find where the PHP modules are. I called a phpinfo() on the
instan
Can some one please tell me where php.ini is located on Mac OS X?
Thanks,
Chuck Payne
Magi Design and Support
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Can some one please tell me where php.ini is located on Mac OS X?
Thanks,
Chuck Payne
Magi Design and Support
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 26 Mar 2002 at 20:42, Evan wrote:
> I have PHP 4.1.2 (the latest, I downloaded it a week ago).
PHP 4.1.2 has several bugs.
One of them is that Apache and sessions variables do not work.
It is best not to upgrade to 4.1.2!
see the bug report on session variables & following discussion and
su
Greetings:
I am having problems getting file uploads to completely function. I have
a test script that acknowledges the file was successfully uploaded, and
I can use the move_uploaded_file function without error, however,
NOTHING shows up in any of the directories Im dealing with.
I know my
I wasn't so much concearned about security of users grabbin pics. I am
more trying to learn how these people load there menus dynamically and
pics dynamically. Do you have any links to pages or code that describe how
to make a link in the db to pics on my filesystem?
Thanks.
-Chris
On Tue, 26 Mar
I have a list of links!
$linkone="http://server1.dyndns.org/";;
$linktwo="http://server2.dyndns.org/";;
I would like to make a script that looks for http://server1.dyndns.org/, if
it returns a 404, or DNS error then it redirects to
http://server2.dyndns.org/ this server.
Any suggestions.
Phil
At 26.03.2002 12:47, you wrote:
>
>I don't have any code for this, but I'm hoping someone can point me in the
>right direction. I want to load images or navigation menus dynamically. Is
>it possible to build a database of images and then use php to display
>them? Or something along these lines. I
you can extract and sort on the last name:
mysql> select substring(myname,locate(" ",myname)+1) as lname from mytable
order by lname;
this assumes names are stored as "john doe", that is with a space separator
-Original Message-
From: Chuck Barnett [mailto:[EMAIL PROTECTED]]
Sent: Sunday
To do that is it necesary to loop the $result variable and assign each
array($name => $value) ?
> Alternately, you can load all of the unsorted results into an associative
> array, and use PHP's native sorting functions (such as ksort() ) to sort the
> results.
>
>
Has anybody uses other engine besides Smart or php-templates (@freebsd
ports)
I trying to get into the subject but I don't know which to start with.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Good day,
Sorry, I didn't read your request as clearly as I should have. =)
If you have a single field, the best way would be to load all of the
results, and then have PHP split() the results by whitespace. Then store
the results by associative array and use ksort() to sort them.
The best way
Good day.
You can do this using the "ORDER" clause in SQL. Please consult your
particular database's documentation for more information.
Alternately, you can load all of the unsorted results into an associative
array, and use PHP's native sorting functions (such as ksort() ) to sort the
results
On Sun, 3 Feb 2002, Chuck Barnett wrote:
> I have a db field that holds the first and last name of a person. Is
> there a way to sort by the last name in that field?
>
> The whole reason for this is to populate a select box sorted by last name.
>
> I don't want to go back and create a separate
Hello again :)
I have a db field that holds the first and last name of a person. Is
there a way to sort by the last name in that field?
The whole reason for this is to populate a select box sorted by last name.
I don't want to go back and create a separate field if I don't have to.
Any help
On Tuesday, March 26, 2002, at 02:42 PM, Evan wrote:
> I have PHP 4.1.2 (the latest, I downloaded it a week ago).
> The manual says that:
> *
> If track_vars is enabled and register_globals is disabled, only members
> of
> the global associative array $HTTP_SESSION_VARS can
Hey Chris:
On Tue, Mar 26, 2002 at 12:44:21PM -0700, Chris wrote:
> OK. I don't know how I can be more specific, but I will try.
Dude, let's look at your initial question to the list:
>> Can anyone help me with the command I need for a RAW FTP file
>> upload? I can create connections and they
You can select from multiple databases and tables, ie:
SELECT database.table.field, otherdb.othertable.other FROM database.table,
otherdb.othertable;
Even from two, three, four databases. But your queries might either get
too complicated or slow.
So, store the results from simpler selects
-Original Message-
From: Chuck Barnett [mailto:[EMAIL PROTECTED]]
Sent: Sunday, February 03, 2002 2:01 PM
To: PHP General List
Subject: [PHP] strip spaces from inside string
Say I have a string "xyz abc def" and I want to remove all of the spaces
withing the string to create a new one
> Say I have a string "xyz abc def" and I want to remove all of the spaces
> withing the string to create a new one. What's the best way?
Or you can use eregi_replace(), but I don't know what the regex would be.
I *think* you can do:
Chris
--
PHP General Mailing List (http://www.php.ne
Say I have a string "xyz abc def" and I want to remove all of the spaces
withing the string to create a new one. What's the best way?
Thanks,
ChuckB
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello guys
I have a database system that has many databases and many tables on each
database. I am trying to create a kind of search engine to seek data all
over my database.
I need to know if is possible to merge the results of my queries to later
show them on a table or it is easier to perfor
I don't have any code for this, but I'm hoping someone can point me in the
right direction. I want to load images or navigation menus dynamically. Is
it possible to build a database of images and then use php to display
them? Or something along these lines. I know this must be possible,
becuase I
OK. I don't know how I can be more specific, but I will try. I have used
fopen(ftp://url) to upload files to the FTP server from a web form, however
this fails on files over 5k in size.
I do not have the FTP functions installed on the server I will be using.
I simply want to know how I would use
I know that this is 4 php questions but I bet most of you came across
something similar.
well I am running an apache server both in a linux and a win2k . .to support
my php code..
does the .htaccess & .htpasswd work in both OSs?
In linux works just fine, while in windows it prompts for the user
I have PHP 4.1.2 (the latest, I downloaded it a week ago).
The manual says that:
*
If track_vars is enabled and register_globals is disabled, only members of
the global associative array $HTTP_SESSION_VARS can be registered as session
variables. The restored session variables w
> Try using the same session variable. Right now it looks like the first
one
> is "v_s" and the second is "s_v". HTH.
Ops
I changed it butit doesn't work! :-((
:_(
Evan
"Brian Drexler" <[EMAIL PROTECTED]> ha scritto nel messaggio
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Try
On Tuesday, March 26, 2002, at 02:14 PM, Evan wrote:
> Hi !!
> I can't make this work:
> PAGE 1:
> $HTTP_SESSION_VARS["v_s"]=500;
> ?>
>
I am probably wrong about this, but I thought that you could register
session variables using this technique only if you are using PHP 4.1.x
and you use t
On Tuesday, March 26, 2002, at 02:12 PM, Jeff Hatcher wrote:
> So my question is how can I put this in the database without having to
> reassign my variable name?
You have to "jump out" of the quoted string that represents your SQL
query when you echo the value of the $_POST variable. Like t
Totally off topic --
I thought that O'Reilly had switched to using a white binding with black
text on all of their newly-[re]printed books. The picture of the
sleeping babe with the book shows an older style, with a colored field
(green) and white text. Maybe this is a localization thing.
Try using the same session variable. Right now it looks like the first one
is "v_s" and the second is "s_v". HTH.
Brian
-Original Message-
From: Evan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 2:15 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [Session]
Hi !!
I can't make thi
Hi !!
I can't make this work:
PAGE 1:
SESSION 1
Variabile settata? --
link to next
In page 1 I create the session var and I check if it exists. The if stat
returns YES so it seems everything's ok.
PAGE 2:
SESSION 2
In page 2 I simply read the session var but it doesn't retur
for ($i=0;$i<$_POST[count];$i++)
{
echo $_POST['address' . $i] . '';
}
Concanate array key 'address' with $i
This works fine and I also can do the address[] but my ultimate result
is to put this in the database.
So address='$_POST['address' . $i]' fails and
address='$_POST[address][$i]' f
Brilliant thanks !
I've got three of these in my form ! lol
> I think to get the results you are wanting, you might try this.
>
>
> the address[] tells the form that this element is an array and when
> submitted, will be converted into an indexed array on the process page.
>
> so you take this
Amazon says it's not published yet.
So when
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 26, 2002 12:52 PM
To: Ralph Friedman
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: which php book 2 buy ?
Or, of course, if you want to be cool like Ca
BTW for all who are following this, Patrick has cleverly illustrated
that most of the northern hemisphere locations where summer time is
observed will 'spring forward' this weekend. Most of the southern
hemisphere locations that were in summer time did their 'fall back' last
weekend!
NB the two us
I didn't think Programming PHP was out yet?
On Tue, 26 Mar 2002, Rasmus Lerdorf wrote:
> Or, of course, if you want to be cool like Carl:
>
> http://lerdorf.com/buy/
>
> ;)
>
> -Rasmus
>
> On Tue, 26 Mar 2002, Ralph Friedman wrote:
>
> > In article <[EMAIL PROTECTED]>, Septic Flesh wro
I think to get the results you are wanting, you might try this.
the address[] tells the form that this element is an array and when
submitted, will be converted into an indexed array on the process page.
so you take this new array on the process page and do something like this.
foreach($addr
Or, of course, if you want to be cool like Carl:
http://lerdorf.com/buy/
;)
-Rasmus
On Tue, 26 Mar 2002, Ralph Friedman wrote:
> In article <[EMAIL PROTECTED]>, Septic Flesh wrote:
> > I wanna buy a book from amazon . . .but don't know which one..
> > Do you know where I will find example
In article <[EMAIL PROTECTED]>, Septic Flesh wrote:
> I wanna buy a book from amazon . . .but don't know which one..
> Do you know where I will find examples of shopping carts ? (which book ?)
>
"Creating Dynamic Web Pages Using PHP and MySQL" by David Tansley.
--
Rgds
Ralph
--
PHP General
I can make this just a little easier.. try this
$query = "SELECT * FROM mytable WHERE t_state_id_state in ('" .join("', '",
$state). "')";
if $state happens to be the name of the array that is passed from the
multi-select
Jim Lucas
www.bend.com
- Original Message -
From: "Rick Emery" <
On Tuesday, March 26, 2002, at 01:18 PM, Jeff Hatcher wrote:
> I have a form that gets repeated depending on number of members in a
> group(1 form surrounds all members). I separate the entries by assigning
> a count value to the names of the inputs (Ex. name=address$count value=>). Does anyon
for ($i=0;$i<$_POST[count];$i++)
{
echo $_POST['address' . $i] . '';
}
Concanate array key 'address' with $i
--
Julio Nobrega.
Um dia eu chego lá:
http://sourceforge.net/projects/toca
Ajudei? Salvei? Que tal um presentinho?
http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884
Also good http://www.omnicron.ca but not free !
> In fact, using Apache Win32 Module on a Windows 98 PC
> is a much better choice & option rather then PWS.
> Apache server gives greater flexibility & support.
>
> I don't see any reason why you should choose PWS over
> Apache Win32 for your Win 9
In fact, using Apache Win32 Module on a Windows 98 PC
is a much better choice & option rather then PWS.
Apache server gives greater flexibility & support.
I don't see any reason why you should choose PWS over
Apache Win32 for your Win 98 PC?
T. Edison Jr.
--- R'twick Niceorgaw <[EMAIL PROTECT
I have a form that gets repeated depending on number of members in a
group(1 form surrounds all members). I separate the entries by assigning
a count value to the names of the inputs (Ex. ). Does anyone know how I can pull the values
back out of the $_POST[]?
Example of ideal scenario that does n
COSF will be a CGI foundry that produces scripts from:
- The existing projects of its members (which means if you have a project
in the works which was supposed to be finished a year ago right before you
started on the new one)
- The Scripts which have been abandoned because the scripter lost h
1 - 100 of 177 matches
Mail list logo