I would imagine the problem has something to do with those escaped quote
marks, but in any case, you could probably get around it by doing this:
$foo = "Entry for " . $HTTP_POST_VARS["name"];
some correct me if I'm wrong
-chris
> -Original Message-
> From: webapprentice [mailto:[EMAIL
Godamnit. Shut-up about this already for godsakes and answer the
original question!!
-Original Message-
From: Sterling Hughes [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 02, 2002 6:05 PM
To: Manuel Lemos
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: Sending an e-mail to 1,000 pe
>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 27, 2001 7:29 AM
Subject: Re: [PHP] This makes NO SENSE!
> What PHP version do you use(4.1.0?)
>
> Regards,
> Andrey Hristov
> - Original Message -
> From: "Bogdan Stancescu" <[EMAIL PROTECTED]>
hey-
ok. I have the following code.
//name of file is
strtotime.php
the problem: it's printing out -1 when i submit. I know it means something
is wrong, however I can't find an error with this when i have the following
code below working perfectly: [sidenote]: i enter the
hey-
Ok so my plan with this stuff is to enter in a few fields for a gig into the database.
Here's the code for the page where i enter the info in:
Date:
Location:
Venue:
Info:
here's the submit.php page ..which is the one that I suspect is giving me problems:
case 'gig
Roach" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 06, 2001 8:42 AM
Subject: Re: [PHP]I know I know, but quick Apache/PHP question
> Chris,
>
> I'm a bit lost... what exactly is your question?
>
> "Chris Cocuzzo" <[EMAIL PROT
hey-
I have php 4.0.6 on Win 2k with Apache 1.3.20 ... I figure I'm close to getting this
installed correctly. I've edited my httpd.conf file to the point where if I call the
php file I want, I get the source in the browser
here's what my .conf file says?
ScriptAlias /php/ "c:/php/"
and then
hey-
my main goal here is to be able to stream an mp3 through any player that can accept
m3u files. My idea was to use the format of an m3u file, which looks like this:
#EXTM3U
#EXTINF:324,cs-1.mp3
http://www.fplg.net/audio/cs-1.mp3
and pack it into a variable to be sent out using a header com
hey-
this has ABSOLUTELY no relation to php in any way, however I wanted to ask.
I'm about to order a computer for school. I need opinions on Gateway vs.
Dell and vice versa. So far, I'm leaning towards gateway(more bang for the
buck)
thanks
chris
--
PHP General Mailing List (http://www.php.n
ak;
case 3:
echo "in case 3";
header_start("FPLG: Form error.");
display_error($error_fields);
display_form();
break;
case 4:
echo "in case 4";
header_start("FPLG: Sending Error.");
display_m_err();
try.
if(isset($submit))
{
}
chris
- Original Message -
From: Tarrant Costelloe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, August 07, 2001 10:47 AM
Subject: [PHP] if(!$submit)
> When using if (!$submit) I get an error saying:
> Warning: Undefined variable: submit in C
hey-
if I do this:
$query = "SELECT user FROM table WHERE cat='band'";
$result = mysql_query($query,$conn);
$rows = mysql_num_rows($result);
will I get something back from the $rows variable, or am I using the
mysql_num_rows() function incorrectly. What I'm trying to do is get the
number of row
playing correctly, as you can see: www.fplg.net/links.php
any ideas on what the problem is?
chris
- Original Message -
From: Jon Haworth <[EMAIL PROTECTED]>
To: 'Chris Cocuzzo' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, July 31, 2001 11:57 AM
Subje
" target="_blank">Velour
Music
http://www.gamelan.tv"; class="hov1" target="_blank">Gamelan
Productions
http://www.supersonicrecording.com"; class="hov1"
target="_blank">Supersonic Studios
http:/
hey-
I have a few pages on my website which need to be divided up into different
columns and rows based on a category in a table. for example, on a links
page, I have three different columns, one for bands, one for sites, and one
for other things. I'm storing those things in the table with a cate
hey-
I have a few pages on my website which need to be divided up into different
columns and rows based on a category in a table. for example, on a links
page, I have three different columns, one for bands, one for sites, and one
for other things. I'm storing those things in the table with a cate
hey-
this is a little bit off topic, but it relates. I'm pulling a field called
info from my db. When I entered the info into the db in the first place, I
added the '\n' character so that the HTML result wouldn't be all on one
line. The problem is that when the page displays...the text in that
pa
a ha!
I'll actually correct you by saying that I need to run stripslashes() when
I'm reading the file, not writing it, as I just did, and now it works. :)
chris
- Original Message -
From: Bob Scott <[EMAIL PROTECTED]>
To: Chris Cocuzzo <[EMAIL PROTECTED]>
Cc: &l
hey-
I have a textarea field for an admin page which does allow me to enter in
basically anything, including HTML. The information is written to a
text-file, from which info is pulled on a different page. When the info is
read on that page(this is not the admin page right here)...all the single
q
> select * from whatnot order by timestampcolumn desc limit 1
>
> if the "limit 1" doesn't work with your db, just fetch the first result
> only...
>
> greets,
> remo
>
> > -Original Message-
> > From: Chris Cocuzzo [mailto:[EMAIL PROTECTED
hey-
I want to select the oldest show from a database to display on my main page,
since the oldest show is also the show happening closest to any current
time(if that makes sense...). I included a timestamp field in my table of
shows in anticipation of checking that to find out what was the oldes
er to indentify the song pulled from the database..so the
database uses that number in the part where it
says..."stream.php?songid=
tell me if I need to clarify!
chris
- Original Message -
From: Christopher Ostmo <[EMAIL PROTECTED]>
To: Chris Cocuzzo <[EMAIL PROTECTED]>
Cc:
that...
chris
- Original Message -
From: James Bogosian <[EMAIL PROTECTED]>
To: Chris Cocuzzo <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, July 23, 2001 7:25 PM
Subject: RE: [PHP]MySQL error, what's wrong here..
> Try:
>
> $query = "SELECT songnam
the server is telling me line 43(which starts with $mp3d) is not a valid
mysql result resource. what am i doing wrong??
chris
--
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 adm
the lib directory is under the root directory, or the www directory, where
all the normal files have been put. i figured out that the include worked
better when I specified the entire system path.
chris
- Original Message -
From: Unni <[EMAIL PROTECTED]>
To: Chris Cocuzzo &
hey-
I have a piece of code which does a simply INSERT query into an mp3 table.
I've tested it out, and it completes the query, however there is one bug
that I just have no clue about.
this code does not work when i try to connect to the db:
include("lib/db_config.php");
$connection = db_connec
hey-
I'm in the process of writing a links page for a website. I want to have all
the links seperated by category, and those categories would be placed in
different columns. This means also that different categories of links could
be on the same row in the table used to lay it all out. i'm pullin
ROTECTED]>
> To: <[EMAIL PROTECTED]>; PHP General List (E-mail)
> <[EMAIL PROTECTED]>
> Sent: Sunday, July 15, 2001 5:35 PM
> Subject: Re: [PHP]OT I know, but WTF...
>
>
> | I've actually had an MS representative tell me not to use the IE6 beta.
> | What
?
Platform?
Proxie?
Connection type?
DAve
on 7/15/01 9:08 AM, Chris Cocuzzo at [EMAIL PROTECTED] wrote:
> hey-
>
> I know this is off topic, but I figured i'd ask to see if other people
were
> experiencing similar problems. I'm having trouble accessing web
sites/pages
> that are
hey-
I know this is off topic, but I figured i'd ask to see if other people were
experiencing similar problems. I'm having trouble accessing web sites/pages
that are secure(https...obviously). I tried changing everything around in IE
6, but so far nothing is working...any ideas?
the error is the
hey-
i have a page containing a form with a textarea field. The first part of the
page is a quick IP check to make sure the request is coming from my
computer. Here's the code I'm confused about:
-this part above reads in data from the news file and it's put in between
the textarea ta
lto:[EMAIL PROTECTED]]
Sent: Monday, July 09, 2001 5:54 PM
To: [EMAIL PROTECTED]
Cc: PHP General List (E-mail)
Subject: Re: [PHP]need an opinion on this idea of mine...!!
Chris Cocuzzo wrote:
>hey-
>
>I'm writing my band's website mostly in PHP. My original idea was to use a
>
hey-
I'm writing my band's website mostly in PHP. My original idea was to use a
switch statement to compensate for all the different functions i would need
to use, for example a function to stream songs, download songs, display
links, display shows, etc...
I wanted to have all these functions on
hey-
I know I've seen an article/tutorial on the zend website very recently about
parsing urls. It was about being able to use urls which are search engine
friendly and only use the forward slashes, and it also included the code to
interpret all of that. Does anyone know of this article who can d
| Yup => Try splitting the pages out into separate files. I'm betting
| you'll find it easier to work with.
|
| Ben
|
|
| -----Original Message-
| From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
| Sent: Sunday, July 08, 2001 2:02 PM
| To: PHP General List (E-mail)
| Subject: RE: [PH
imary key called 'page' or something like that, and a text field of
> some sort.
>
> Then, do mysql_query("SELECT pagetext FROM website WHERE page=$page;");
>
> =>
>
> Dive into it. It's easier than it looks.
>
> Ben
>
> -Original Message
t;SELECT pagetext FROM website WHERE page=$page;");
=>
Dive into it. It's easier than it looks.
Ben
-----Original Message-
From: Chris Cocuzzo [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 08, 2001 1:44 PM
To: PHP General List (E-mail)
Subject: [PHP] Question about how to do this.
hey-
so I want to have my site so that the urls are like /index.php?page=bio
the way I made the index.php so far is just one gigantic switch
statement...is there a better way to do it?
chris
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For
TED]]
Sent: Tuesday, June 19, 2001 7:31 AM
To: PHP General List (E-mail)
Subject: RE: [PHP] [php]using sendmail with php
What is this problem you speak of? I have never come across any problems
with mail().maybe i'm not trying hard enough ;)
-Original Message-----
From: Chris Cocuzzo
hey-
i noticed a recent post about the weird email that someone was getting from
a script that emails form data. I was curious on whether or not I could use
sendmail with php, to possibly get around this problem(I've run into it
myself). How might i do this?...
chris
Hey,
completely OT i know...
In a few months when I put together for college, I'm considering doing a
dual-boot type system, with some windows OS, and also a unix OS. However, I
don't know that much about any free unix OS' that are out there. The two I
can think of to use would be Solaris and Li
check out:
www.fishcart.org
I would also suggest searching sourceforge for shopping cart apps.
-Original Message-
From: Roee Rubin [mailto:[EMAIL PROTECTED]]
Sent: Monday, April 23, 2001 3:26 PM
To: Php-General
Subject: [PHP] looking for a good shopping cart - catalog system
Hello,
Maybe I'm wrong on this, but could this regex also be used like this?
if(eregi("^[a-zA-Z0-9]+\.[a-zA-Z0-9]+$", $myArray[x]))
--Chris
-Original Message-
From: Jason Caldwell [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 20, 2001 1:43 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Regu
ailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 5:21 PM
To: [EMAIL PROTECTED]; PHP General List (E-mail)
Subject: RE: [PHP] PHP/M3U Questions!!!
At 05:12 PM 4/17/2001, Chris Cocuzzo wrote:
theres a formula for figuring out how many frames based on file size and
timehowever if your mak
7;t matter.
PHP-wise, any ideas on how to find that number of frames?
--chris
-Original Message-
From: Kurth Bemis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 17, 2001 4:54 PM
To: [EMAIL PROTECTED]; PHP General List (E-mail)
Subject: Re: [PHP] PHP/M3U Questions!!!
At 04:43 PM 4
Hey,
First I'll ask my OT question. I've been thinking lately of implementing a
system on my band's website where people can log in, and maintain a playlist
of all the mp3's I have on the site. Obviously when they want to play it, or
a single file, they can hit play and the m3u file will automati
NEVERMIND! :)
-Original Message-
From: Scott VanCaster [mailto:[EMAIL PROTECTED]]
Sent: Sunday, April 15, 2001 6:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] SQL Query syntax error... Help?
Nevermind everyone, I'm an idiot :)
I had the case wrong. I needed $ID, not $id !
Tha
scott,
try the entire SQL statement without single quotes around those variables.
except for when your setting the WHERE part. Try:
$sql ="UPDATE members SET ".
"name=$name, ".
"email=$email, ".
"icq=$icq, ".
"password=$password, ".
"loginid=$loginid, ".
"countryid=$countryid, ".
"
wow. I really don't think you can pull this off in a day. In any case, I'd
recommend checking out www.phpbuilder.com and looking through the articles
-Original Message-
From: Kevin Beckford [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 26, 2001 3:18 PM
To: [EMAIL PROTECTED]
Subject: [PHP
right. ok I understand that explode function. But what I'm asking is not so
much once I have a URL in the form of /something/something/something
...etc.., but more if I have a URL like /something?d=a&f=g, to make it like
/something/d/a/f/g ... do you know what I mean?
Chris
-Original Messa
few questions...
Chris,
a few answers :)
On 3/25/01 5:43 PM, "Chris Cocuzzo" <[EMAIL PROTECTED]> wrote:
> hey-
>
> Alright I noticed that question about URL parsing. I could've sworn I saw
> some article on PHPBuilder.com that said that instead of doing all
hey-
Alright I noticed that question about URL parsing. I could've sworn I saw
some article on PHPBuilder.com that said that instead of doing all that
modifying with apache, you could simply write something to change the URL
with '?' and '&' and '=' so that they symbols could be represent
I can't give you an exact answer, such as an implementation...but I would
think it would have to do with opening a POP/SMTP socket connection. I know
there is a class that can connect directly to SMTP on this website:
http://phpclasses.upperdesign.com/
hope that helps,
Chris
-Original Messag
il)
Subject: Re: [PHP] includes
On Tue, 13 Mar 2001 13:54, Chris Cocuzzo wrote:
> I'm slightly confused as to why you would not want it parsed and
> executed...or I should say...what would be the differences in using the
> include function vs. reading it in like a file??
>
&
I'm slightly confused as to why you would not want it parsed and
executed...or I should say...what would be the differences in using the
include function vs. reading it in like a file??
Chris
-Original Message-
From: Rick St Jean [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 10
55 matches
Mail list logo