BOOT mailto:[EMAIL PROTECTED]
on Wednesday, April 14, 2004 9:40 AM said:
What I can't understand is why Test1 shows as nothing, while
Test2 shows the value I wanted. Thanks a lot!
[snip]
$_SESSION['element_countp'] = count($p_lnames);
echo TEST 1.$element_countp;
$element_countp =
BOOT mailto:[EMAIL PROTECTED]
on Wednesday, April 14, 2004 12:17 PM said:
So I went and turned them off. Now of course my pages don't work
properly. I guess I have to go through all my code and address the
variables properly ie. $_POST and $_SESSION?
no.
just assign them at the beginning
BOOT mailto:[EMAIL PROTECTED]
on Wednesday, April 14, 2004 12:37 PM said:
But if I want to use $username accross many pages then I will have to
make it a session variable and call it as such on each page like
$_SESSION['username']
correct.
c.
--
PHP General Mailing List
Dennis Gearon mailto:[EMAIL PROTECTED]
on Wednesday, April 14, 2004 12:08 PM said:
When I make a posting to this list, I get an email like below:
just ignore it.
this list seems to be plagued with illegitimate auto-replys. but i guess
that's sort of an oxymoron isn't it?
chris.
--
PHP
Ligaya Turmelle mailto:[EMAIL PROTECTED]
on Wednesday, April 14, 2004 8:25 PM said:
Can you explode something while you are working on it?? Won't it
overwrite itself?
no that will work fine. all operations right of the = happen first.
hth,
chris.
--
PHP General Mailing List
Arthur Radulescu mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 4:48 AM said:
Not exactly... I was not reffering to PHP files... The white spaces
from a template file will make double the size of certain files when
they are sent to the browser... So a page of 50 k might have 100 K
electroteque mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 5:03 AM said:
the htmlkit looks hot, although its licenced, work has a shitty copy
of homesite 4 licences, i doubt i can convince them, i am using
phpedit, although does it turn tabs into spaces ??
html-kit is great.
and
Chris Boget mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 9:59 AM said:
Not exactly... I was not reffering to PHP files... The white spaces
from a template file will make double the size of certain files when
they are sent to the browser... So a page of 50 k might have 100 K
Arthur Radulescu mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 10:02 AM said:
Remove all whitespace from the final HTML, then all this doesn't
matter.
[snip function]
Have already thought about this but would this not be too time
consuming to process this replacement on evey
Jorge Oliveira mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 10:32 AM said:
- for html is better using tabs because by using spaces, it will
increase output to the browser;
only if you use more than one space per indent.
chris.
--
PHP General Mailing List (http://www.php.net/)
Scott Fletcher mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 11:37 AM said:
Yea, we have Googled. We found no result to a few problems and we
found some different answers to one problem but they don't fixed the
problem. This showed that we need to get a better understanding of
how
Scott Fletcher mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 12:12 PM said:
Well, this one say the website could not be found... :-)
ack!
|
|
|
|
\_/
https://mailing.lists.org/subscriptions.to/mailing.lists.php
j/k ;)
/`\
|
|
|
he was just kidding.
Montagna, Dan mailto:[EMAIL PROTECTED]
on Thursday, April 15, 2004 1:02 PM said:
Hi everyone,
hi.
for($i = 0; $i $numofrows; $i++) {
$row = mysql_fetch_array($result); //get a row from our result set
if($i % 2) { //this means if there is a remainder
echo TR
Enrico Weigelt mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 10:13 AM said:
keep in mind it's friday!!
Either we'd talk about the (dis)advantages of TE's in general
or compare different TE's, i.e. smarty vs. pattemplate vs. xslt.
don't forget interjinn.
So lets split the thread
David A. Stevens mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 10:31 AM said:
I have somehow, for reasons unknown to me, gotten onto some e-mail
list that I don't want to or need to be on. Somebody please, at all
the above addresses, do everything possible to get me off that
list(s).
John Nichel mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 11:24 AM said:
serious
You do realize that with 2.5 hours left in the work day today, we're
likely to get even sillier? ;)
/serious
I still have 6 hours to go. :(
c.
p.s. anyone play ffxi?
--
PHP General Mailing List
Lester Caine mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 12:20 PM said:
Does not Fing work!!
The unsubscribe process requires you to reply to the eMail that is
sent. THAT email is bounced for many people who are trying to
unsubscribe. SOMEBODY NEEDS TO GET THEIR ACT
Lester Caine mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 12:36 PM said:
EVERY message posted to lists.php.net simply gets bounced, and every
attempt to get a response on these lists has been ignored.
i don't see how if every message you send gets bounced it's still coming
through to
Lopez, Kaleb (GEAE, Foreign National, CIAT)
mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 1:07 PM said:
Is anyone else getting the mails twice?
not me. are you getting *your* mails twice or *every* mail twice?
chris.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Lopez, Kaleb (GEAE, Foreign National, CIAT)
mailto:[EMAIL PROTECTED]
on Friday, April 16, 2004 1:24 PM said:
Every mail comes twice... Well, every mail from the list.
in that case i don't know. i've never heard of such behavior.
c
--
PHP General Mailing List (http://www.php.net/)
To
Hawkes, Richard mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 8:31 AM said:
Yes, I think unconstructive e-mails are a little rude aren't they?
i agree... but i didn't see any unconstructive emails. did you?
So here's a bit of JavaScript that removes everything! I'll let you
fiddle
hi.
i've recently realized that the little oo code i've written is
actually not very oo at all. it's more like procedural code wrapped in a
class.
armed with my new knowledge i'm in the process of modifying my current
classes to be more oo (or what i like to this is more oo). so i'm going
to ask
Edward Peloke mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 10:49 AM said:
this: function Customer($customer_id = 0)
doesn't always set the customer_id to 0 even when you pass one in?
no. that is the default value for a function if *no* value is passed in.
chris.
--
PHP General
Chris W. Parker
on Monday, April 19, 2004 11:03 AM said:
Edward Peloke mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 10:49 AM said:
this: function Customer($customer_id = 0)
doesn't always set the customer_id to 0 even when you pass one in?
no. that is the default value
Torsten Roehr mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 10:46 AM said:
the second approach is definitely much, much better and the right way
to go. But what exactly is your QUESTION?
oh yeah.. umm... i guess at this point it would be which is better?...
as i was writing the email
Fidencio Monroy mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 2:35 PM said:
Hi all, is there a way to check is a browser is accepting my cookies?
yes that's easy. set the cookie and then test for it. if you can read
the cookie back you're all set! if not, the person is not accepting
Kelly Hallman mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 12:34 PM said:
I think what you're talking about here is encapsulation.
in that case what is abstraction?
PROPOSED CHANGE:
class Customer {
...
function initialize_customer($customer_id) {
// grab data from
Lester Caine mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 3:37 PM said:
Andy B wrote:
i know i got tons of those before... all i did was block the
btconnect address and be done with it just ignore them at least
thats all i did
yeah me too. these come in all the time.
BUT
OrangeHairedBoy mailto:[EMAIL PROTECTED]
on Monday, April 19, 2004 4:23 PM said:
In Perl there is a way to flatten an array into a string, and a
matching function to unflatten the array.
i think you're looking for serialize() and unserialize().
http://php.net/serialize
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Tuesday, April 20, 2004 3:41 PM said:
Hi there I was wondering how people usually turn the app off during
system maintainance. During the hours of 6-7 the database goes down
for backing up, the users therefore keeping trying to get into the
Travis Low mailto:[EMAIL PROTECTED]
on Tuesday, April 20, 2004 10:02 PM said:
Michal Migurski wrote:
[snip]
Good point, though if this is a concern, the OP will probably use the
built-in enforcement of referential integrity and transaction
support of whatever database they are running.
Robert Sossomon mailto:[EMAIL PROTECTED]
on Thursday, April 22, 2004 7:51 AM said:
I am pulling data from a MySQL DB and I need to remove the whitespace
on the variable and turn it to lowercase.
remove whitespace *on* the variable??
i don't get it.
chris.
--
PHP General Mailing List
Gabino Travassos mailto:[EMAIL PROTECTED]
on Thursday, April 22, 2004 12:24 PM said:
I'm wondering if Regular Expressions are the same in Perl and PHP (and
possibly Actionscript)? They look the same and smell the same, but if
I see a book in a store for Perl Regular Expressions that's $10
Anguz mailto:[EMAIL PROTECTED]
on Thursday, April 22, 2004 12:21 PM said:
I was wondering if using conditional functions would save resources.
The thing is that there's many functions in the code I'm using, but
most aren't used in each case. I was thinking that maybe, even if the
Anguz mailto:[EMAIL PROTECTED]
on Thursday, April 22, 2004 3:17 PM said:
[snip]
how do you not define a function but put it in an include file at the
same time and still have it be useable?
[/snip]
[snip /]
If I don't define them, I don't expect them to be usable, that's the
point. I
Brian Dunning mailto:[EMAIL PROTECTED]
on Friday, April 23, 2004 8:19 AM said:
SELECT * FROM 'my_table' WHERE ('field_1' LIKE '%$keyword%' OR
'field_2' LIKE '%$keyword%' OR 'field_3' LIKE '%$keyword%') AND
'status' = 'active';
have you tried simply:
SELECT * FROM my_table WHERE status =
Gabe mailto:[EMAIL PROTECTED]
on Friday, April 23, 2004 1:55 PM said:
When scripting in a language (such as PHP) that doesn't require you to
determine the variable type before you use it, is it still considered
good technique to initialize it to the type you're going to use it as?
Or is
Sam mailto:[EMAIL PROTECTED]
on Wednesday, May 12, 2004 10:10 AM said:
What do you do with this?
nothing. i usually don't give my image buttons a name value so that
never shows up. what it's meant for is server side image maps. the
browser is telling the server where on the image the user
Todd Cary mailto:[EMAIL PROTECTED]
on Thursday, May 13, 2004 3:15 PM said:
I have a news letter produced by PageMaker that is normally put into
PDF format so the user can download it. However, I would like to
have a Printer Friendly version (no graphics). Is there a PHP
program that can
Chuck Barnett mailto:[EMAIL PROTECTED]
on Friday, May 14, 2004 10:42 AM said:
Anyone have any code snippits that would allow me to do a Last 3
Items Viewed like on ebay?
no but i can give you a suggestion as to a method...
each time someone views an item do a first-in-last-out rotation of
chris o'shea mailto:[EMAIL PROTECTED]
on Thursday, April 29, 2004 2:44 AM said:
Does anybody know the best way of doing a mass mail through php?
i recall a solution being to write a properly formatted email and dump
it into server's outgoing queue allowing the MTA (sendmail, exim,
postfix*)
John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, May 04, 2004 1:30 PM said:
I don't follow what $_GET record count from initial query performed
above; is for, but that's the basic methodology.
well that just meant that after the initial count of records is found it
will be retrieved
John W. Holmes mailto:[EMAIL PROTECTED]
on Wednesday, May 05, 2004 7:32 AM said:
Personal preference here, I guess, but I don't care for searches that
don't tell you how many records were matched (or how many pages
you'll have). I think the additional query is well worth it. The
number of
Chris mailto:[EMAIL PROTECTED]
on Wednesday, May 05, 2004 10:56 AM said:
If you're using MySQL 4+ you could use the SQL_CALC_FOUND_ROWS flag
in the select statement.
It causes the query to count the number of rows it *would have*
returned if there had been no limit clause.
do you know
Chris mailto:[EMAIL PROTECTED]
on Wednesday, May 05, 2004 11:24 AM said:
The documentation for the FOUND_ROWS() function is here:
http://dev.mysql.com/doc/mysql/en/Information_functions.html
ahh... i see. so it essentially allows you to execute one query while
achieving the same two query
Radek Zajkowski mailto:[EMAIL PROTECTED]
on Monday, May 17, 2004 12:38 PM said:
$module_dir = ($module == )
?
: $module./;
what does the semicolon and the question mark do?
?php
if ($module == )
{
$module_dir = ;
}
else
{
$module_dir = $module./;
}
?
Chris Boget mailto:[EMAIL PROTECTED]
on Tuesday, May 18, 2004 9:55 AM said:
Why isn't my regex working? From everything that I've
read, it should be...
$string = [joebob];
if( preg_match( '/\[(\s+)\]/i', $string, $aMatches )) {
\s Matches any whitespace character; this is equivalent
Al mailto:[EMAIL PROTECTED]
on Thursday, May 20, 2004 12:51 PM said:
If I have multiple instances that match the pattern, but only want the
first one, which is the best way to handle it?
reread the last sentence in John's post.
John W. Holmes wrote:
From: Al [EMAIL PROTECTED]
[snip]
René Fournier mailto:[EMAIL PROTECTED]
on Thursday, May 20, 2004 2:58 PM said:
Please ignore my previous
I-AM-SO-FRUSTRATED-I-AM-READY-FOR-A-JACKET-WITH-REALLY-LONG-SLEEVES
posts. I have managed to solve my socket woes. My simple client works
loops, timesout, loops again... elegantly.
GodFoca mailto:[EMAIL PROTECTED]
on Friday, May 21, 2004 1:29 PM said:
Warning: Cannot add header information - headers already sent by
(output started at /home/tiempodemaria/main.php:3) in
/home/tiempodemaria/main.php on line 11
[snip]
Does anybody knows what's going on? I don't
Tobes mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:09 PM said:
hi, i need some code to find out the ip address of a server. just a
simple dns query.
how do i do that? i'm a beginner, please help.
are you saying you already have the FQDN (Fully Qualified Domain Name)?
or are you
Jonesy mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 2:21 PM said:
WFM:
|$ ping ibm.com
|PING ibm.com (129.42.18.99) 56(84) bytes of data.
:
wow. that's the weirdest looking php i've ever seen. is that a beta or
something?
chris.
--
PHP General Mailing List
Curt Zirzow mailto:[EMAIL PROTECTED]
on Monday, May 24, 2004 3:55 PM said:
wow. that's the weirdest looking php i've ever seen. is that a beta
or something?
what ya talking about?
i was pointing out that the user explained he was a beginner and that he
was looking for code. so for the
Lieve Vissenaeken mailto:[EMAIL PROTECTED]
on Thursday, May 27, 2004 11:05 AM said:
Can anyone help me with this one:
Is there a difference between include() and require() ?
yes i can help you with it. go to www.php.net and search for include.
you will then find the answer you are
peter a mailto:[EMAIL PROTECTED]
on Friday, May 28, 2004 8:29 AM said:
I have stumbled on something that is new for me. Usually when I get a
PHP error I print them on the page, but suddenly pages with errors
don't load at all, in IE I get the usual The page cannot be
displayed and in Lynx
peter a mailto:[EMAIL PROTECTED]
on Friday, May 28, 2004 9:06 AM said:
Thanks, but that didn't take me anywhere. My browser still seems to
hang itself or load a part of the page. I suppose it could be any of
my http-processes that freezes up.. but I don't seems like it and I
don't know
peter a mailto:[EMAIL PROTECTED]
on Friday, May 28, 2004 9:12 AM said:
Nothing complicated at all. It loops out some values from a MySQL
database with not more than 20 entries. It's not that..
well unless it's a server thing (in which case i'd have no ideas towards
a solution) your next
peter a mailto:[EMAIL PROTECTED]
on Friday, May 28, 2004 9:17 AM said:
It not just that page.. it is all pages the will generate some sort of
PHP error. Instead of the usual error output I get nothing.
hmm... sounds like a php configuration thing. i.e. a server thing. in
which case i'm all
John W. Holmes mailto:[EMAIL PROTECTED]
on Friday, May 28, 2004 11:25 PM said:
You're right. Option 2 offers more security in that no one will ever
be able to reach the file directly with a web browser. You don't need
to use file() or file_get_contents(), though... A simple
Chris W. Parker
on Tuesday, June 01, 2004 8:12 AM said:
how about just calling 'db.php' so that when someone does request it
via a web browser it will be parsed and end up not sending any data
to the client?
that should read, just calling *it* 'db.php', regarding the name of
the file
John W. Holmes mailto:[EMAIL PROTECTED]
on Tuesday, June 01, 2004 8:29 AM said:
We'll call that Option 3, which is a viable option if you cannot do
Option 2 (store outside of webroot). The problems with this method is
that if PHP ever fails for any reason, the file may be delivered as
Robert Winter mailto:[EMAIL PROTECTED]
on Thursday, June 03, 2004 4:31 PM said:
Where and how do I set this? I'm to Unix and PHP.
just look up mod_rewrite and you'll get some answers.
http://www.engelschall.com/pw/apache/rewriteguide/
chris.
p.s. please don't respond to two different
Aidan Lister mailto:[EMAIL PROTECTED]
on Saturday, June 05, 2004 6:19 AM said:
You'll note I did not criticise the poster, merely his seemingly
stupid question.
oh right and that makes everything better. you're a fantastic person!
I suggest you practice what you preach. If you have a
Tim Traver mailto:[EMAIL PROTECTED]
on Monday, June 07, 2004 11:52 AM said:
Is it possible to get the line number of the parent script of a
subroutine ???
no, not like you want (afaik). i wanted this same thing too but ended up
just doing a workaround. it's a little kludgy but it's not
Adam Bregenzer mailto:[EMAIL PROTECTED]
on Monday, June 07, 2004 12:04 PM said:
debug_backtrace[1] should get you everything you want and then some.
[1] http://www.php.net/debug_backtrace
that's what i get for using an older version. trombonemwa mwa
mwa/trombone
chris.
--
PHP
Cere Davis mailto:[EMAIL PROTECTED]
on Monday, June 07, 2004 3:28 PM said:
[snip]
...have a web
library that writes basic html form input html types for like
radio_button(name,val) and checkbox(name,val) type functions. I can't
see that php has this type of feature.
i'm pretty sure that
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
on Tuesday, June 08, 2004 3:37 PM said:
Looking forward for a response :P
pass: 74434
i are also looking forward for the response! please send immediately!
regards's,
julio.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
John Nichel mailto:[EMAIL PROTECTED]
on Wednesday, June 09, 2004 6:06 AM said:
Pardon my ignorance, but what in the world is this about?
i think it's spam. and the response that was supposedly sent by me was
actually sent by my long lost evil twin brother Julio.
chris.
--
PHP General
James Harrell mailto:[EMAIL PROTECTED]
on Wednesday, June 09, 2004 12:04 PM said:
Hi Ryan,
Ours isn't open source, but does come with source available
for the display modules: http://celestia.cbstech.com
You can strip down what features are available by removing
modules from the core
hello.
i'm currently working on a mailing list app for my company to have one
central place to manage our mailing list(s). at first it was going to
purely be a place for our staff to manage our list. but then i got to
thinking that it would be very convenient to take a lot of the
management
I.A. Gray mailto:[EMAIL PROTECTED]
on Thursday, June 10, 2004 3:03 AM said:
I am wanting to use a PHP script to check on an hourly/daily basis on
a few things- ie links on my sites, whether the sites are up and
running and also to send an e-mail to me.
can you create a crontab for your
When I'm using the time() function am I getting the time on the
server? If not how can I get the time from the server regardless of
whether or not its in the same time zone as the client.
read the *first* comment. http://us2.php.net/time
chris.
--
PHP General Mailing List
Gerben mailto:[EMAIL PROTECTED]
on Wednesday, June 16, 2004 10:38 AM said:
I wondering how browsers handle the following html-codes:
link rel=stylesheet src=style.php /
and
script type=text/javascript src=code.php/script
are there any browser that will choke in it because the files
Ryan Schefke mailto:[EMAIL PROTECTED]
on Thursday, June 17, 2004 4:28 PM said:
[snip]
[snip]
[snip]
What am I doing wrong?
you're pressing the return key too much.
0_0
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Robert Sossomon mailto:[EMAIL PROTECTED]
on Friday, June 18, 2004 10:27 AM said:
I have data with something in it and when I pull that data and dump
it into an HTML form I am losing everything that is after the first
. Has anyone encountered this before, and have a way to patch it?
can
Robert Sossomon mailto:[EMAIL PROTECTED]
on Friday, June 18, 2004 12:30 PM said:
My code for extraction:
$item_desc = addslashes($Quote['sel_item_desc']);
you don't need to addslahes() when retrieving. just htmlentities() the
data before you display it.
do a simple test:
?php
Curt Zirzow mailto:[EMAIL PROTECTED]
on Friday, June 18, 2004 10:38 PM said:
s/should/will
s/s\/should\/will/s\/should\/will\//
:P
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi.
call me stupid but i can't decide which option is better (actually don't
call me stupid because it will hurt my feelings and i might cry). and
having said that, maybe neither option is better than the other?
whatever the answer, i just want some outside input on this because for
some reason
Robert Sossomon mailto:[EMAIL PROTECTED]
on Friday, November 12, 2004 12:09 PM said:
I have a form that sends 20 rows of data into a script, instead of
having to write 20 separate add functions, I wrote this piece of
code...
you've actually got quite a few mistakes.
if
Stuart Felenstein mailto:[EMAIL PROTECTED]
on Friday, November 12, 2004 12:54 PM said:
//This is my call to the table staindtypes
?php
mysql_select_db($database_lokale, $lokale);
$indque1 = SELECT * FROM staindtypes;
$inds = mysql_query($indque1, $lokale) or
die(mysql_error());
Hello,
Ok so I'm trying to write an error reporting class and I'm just sort of
experimenting at this point (comments outside the scope of this email
are welcome btw) with how to best implement it. One idea I had (which
isn't working out as well as I'd hoped thus far) is to create an
instance of
-{ Rene Brehmer }- mailto:[EMAIL PROTECTED]
on Friday, November 12, 2004 3:53 PM said:
At 21:32 12-11-2004, Chris W. Parker wrote:
also you need to wrap your array values in { } when an array is
referenced within a string. i.e.
// normal
$value = $_GET['something
Stuart Felenstein mailto:[EMAIL PROTECTED]
on Monday, November 15, 2004 1:10 AM said:
The way I was approaching this was to grab the url,
the part after the ? , so not the referer.
This sounds like you're not familiar with the $_GET array. $_GET is
everything after the ? in the url but as
Greg Donald mailto:[EMAIL PROTECTED]
on Monday, November 15, 2004 11:08 AM said:
?php
if ($_POST[FirstName] == ) {
$display_block = h1Add an Entry/h1
form method=\post\ action=\$_SERVER[PHP_SELF]\
PstrongFirst/Last Names:/strongbr
input type=\text\
Stuart Felenstein mailto:[EMAIL PROTECTED]
on Tuesday, November 16, 2004 8:28 AM said:
--- Richard Davey [EMAIL PROTECTED] wrote:
Use urldecode() to get them back to normal again.
[snip]
Or should I do a $_GET['Ind'] = urlencode('Ind') on
searchresults.php ?
?php
// this is what
Afan Pasalic mailto:[EMAIL PROTECTED]
on Tuesday, November 16, 2004 10:01 AM said:
I create a string from other strings:
$string =
$string1.\n.$string2.\n.$string3.\n.$string4.\n.$string5; and
then store it in DB.
[snip]
Also, is there actially better way to do this then adding \n
M. Sokolewicz mailto:[EMAIL PROTECTED]
on Tuesday, November 16, 2004 12:47 PM said:
Chris W. Parker wrote:
Yes.
$string = $string1|$string2|$string3|$string4|$string5;
$string_back = explode(|, $string);
please explain... WHY is that better?
Well it's better because it's
Stuart Felenstein mailto:[EMAIL PROTECTED]
on Tuesday, November 16, 2004 1:35 PM said:
I'm not seeing what is incorrect. I did try
$HTTP_GET_VARS['Ind'] = urldecode('Ind'); (in
searchresults.php) but of course it wasn't imploded
yet. I don't want to confuse this question or myself
(or
Brent Clements mailto:[EMAIL PROTECTED]
on Wednesday, November 17, 2004 11:55 AM said:
Let's say I have a page at another site that links to a php script on
my server. Is there anyway to get the referrer to the php script
using php?
Yes, and more.
?php
echo
John Nichel mailto:[EMAIL PROTECTED]
on Wednesday, November 17, 2004 2:01 PM said:
M. Sokolewicz wrote:
I'm sure he meant
echo 'pre',print_r($_SERVER,1),'/pre';
---^---^
then... ;)
hadn't noticed that param... I feel ashamed... :$
Didn't notice
Peter Lauri mailto:[EMAIL PROTECTED]
on Thursday, November 18, 2004 12:42 AM said:
What editor do you use when working with websites (php) connected
directly to the FTP?
I like Eclipse 3.0 with the PHP plugin, but it do not have the future
to connect to the FTP.
HTML-Kit
Chris mailto:[EMAIL PROTECTED]
on Thursday, November 18, 2004 8:56 PM said:
HTML-Kit (www.chami.com) will do this. I've been using HTML-Kit for
almost 2 years and I've never had a problem with a bad save.
I use HTML-Kit as well and feel it is a bloated pile of crap.
i'm sorry you've had
Jake McHenry mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 2:41 PM said:
Was just wondering if it is possible to create dynamic frames within
a page. Like have 3 output sequences, one for frame source, then 2
for actual pages?
Frames and PHP are not interdependent on eachother.
Christopher Weaver mailto:[EMAIL PROTECTED]
on Monday, November 29, 2004 6:20 PM said:
I can't get this code, pasted from the documentation, to work
properly. The new lines don't occur where they should.
You are probably expecting the wrong thing. The newlines only appear
in the source of
Brent Clements mailto:[EMAIL PROTECTED]
on Tuesday, November 30, 2004 3:55 PM said:
I have the following string variable
$string = 'test.php?id=' . $id;
but when I echo out the string it looks like this
test.php?
id=#
How do I make the ? part of the string instead of php
Christopher Weaver mailto:[EMAIL PROTECTED]
on Tuesday, November 30, 2004 4:55 PM said:
I want one of my functions to create and open a new page. I know how
to call an existing page from PHP ala form action, but in this case I
want to dynamically create and then display several pages.
Greg Donald mailto:[EMAIL PROTECTED]
on Tuesday, November 30, 2004 5:28 PM said:
On Tue, 30 Nov 2004 17:20:48 -0800, Chris W. Parker
[EMAIL PROTECTED] wrote:
PHP does not actually do anything on the client side *EXCEPT* to
create all the HTML that gets sent to the client.
From
Christopher Weaver mailto:[EMAIL PROTECTED]
on Wednesday, December 01, 2004 3:58 PM said:
Of all the correct answers that you received you had to pick and use
the wrong answer!
What?! I only see one answer, Brent Clements. How is it that I
could miss some of the messages? I'm reading
R. Van Tassel mailto:[EMAIL PROTECTED]
on Wednesday, December 01, 2004 10:54 PM said:
I am programming a site using sessions and a shopping cart and was
wondering if someone could point me to some good tutorials online
about using sessions and a shopping cart. I have books and can read
Mike mailto:[EMAIL PROTECTED]
on Tuesday, December 07, 2004 12:11 PM said:
I use the strstr() function to check against the $default so I can
check it if so.
Well it works great..BUT, lets say the product has a category of
Coffee Pots, but the one of the values available is Coffee.
801 - 900 of 945 matches
Mail list logo