RE: [PHP] includes

2001-03-12 Thread Chris Cocuzzo
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

RE: [PHP] includes

2001-03-12 Thread Chris Cocuzzo
ubject: 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?? Chris -Original Message-

RE: [PHP] MAIL And PHP Question

2001-03-12 Thread Chris Cocuzzo
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

[PHP] A few questions...

2001-03-25 Thread Chris Cocuzzo
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

RE: [PHP] A few questions...

2001-03-25 Thread Chris Cocuzzo
] A 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 that modifying with apache,

RE: [PHP] A few questions...

2001-03-25 Thread Chris Cocuzzo
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=af=g, to make it like /something/d/a/f/g ... do you know what I mean? Chris -Original

RE: [PHP] Serializing/unserializing objects

2001-03-26 Thread Chris Cocuzzo
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] PHP/MYSQL ..what the hell is wrong here...

2001-12-25 Thread Chris Cocuzzo
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: form action=/lib/submit.php method=POST target=_new Date:nbsp;input type=text name=date size=30br Location:nbsp;input type=text name=location

[PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Chris Cocuzzo
hey- ok. I have the following code. ?php if($submit) { $arradate = explode(/,$date); $uxdate = mktime(0,0,0,$arradate[0],$arradate[1],$arradate[2]); print $uxdate; } else { ? form action=strtotime.php method=POST //name of file is strtotime.php input type=text name=date

Re: [PHP] This makes NO SENSE!!!!!

2001-12-27 Thread Chris Cocuzzo
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] To: Chris Cocuzzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

RE: [PHP] Re: Sending an e-mail to 1,000 people

2002-02-02 Thread Chris Cocuzzo
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

RE: [PHP] Variables within a string

2002-03-10 Thread Chris Cocuzzo
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

[PHP]Packing file data into a variable???

2001-09-22 Thread Chris Cocuzzo
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

[PHP]I know I know, but quick Apache/PHP question

2001-12-05 Thread Chris Cocuzzo
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

Re: [PHP]I know I know, but quick Apache/PHP question

2001-12-06 Thread Chris Cocuzzo
] 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 PROTECTED] wrote in message 010e01c17e0d$d28e72b0$ae687780@webs224">news:010e

[PHP]DB Logic help...

2001-07-30 Thread Chris Cocuzzo
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

[PHP]REPOST: DB logic help...

2001-07-31 Thread Chris Cocuzzo
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

Re: [PHP]REPOST: DB logic help...

2001-07-31 Thread Chris Cocuzzo
you to see it all. that's how I need it to come out from the db. thanks a lot, and I'll be working on it myself. chris - Original Message - From: Jon Haworth [EMAIL PROTECTED] To: 'Chris Cocuzzo' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 11:57 AM Subject: RE

Re: [PHP]REPOST: DB logic help...

2001-08-01 Thread Chris Cocuzzo
. only problem is that it's not displaying 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

[PHP]Getting rows in a db...

2001-08-01 Thread Chris Cocuzzo
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 rows

Re: [PHP] if(!$submit)

2001-08-07 Thread Chris Cocuzzo
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

[PHP]Problem with Error/Mail/something...

2001-08-13 Thread Chris Cocuzzo
hey- I wrote this form checker/mailer for my website. I feel like I may have written it wrong, however there are a few things I wanted to ask about. I think I may be having a problem with how I'm checking if the mail was sent, or maybe something with the if statement to see if the submit button

[PHP]Urgent Question

2001-08-16 Thread Chris Cocuzzo
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

[PHP] [php]using sendmail with php

2001-06-19 Thread 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

RE: [PHP] [php]using sendmail with php

2001-06-19 Thread Chris Cocuzzo
: 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 [mailto:[EMAIL

[PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
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

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
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

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
mysql_query(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

RE: [PHP] Question about how to do this...

2001-07-08 Thread Chris Cocuzzo
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: [PHP] Question about how to do this... | | so the switch statement idea works I guess. sounds good

[PHP]somebody help me out here!

2001-07-09 Thread Chris Cocuzzo
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

[PHP]need an opinion on this idea of mine...!!

2001-07-09 Thread Chris Cocuzzo
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

RE: [PHP]need an opinion on this idea of mine...!!

2001-07-09 Thread Chris Cocuzzo
]] 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 switch statement to compensate for all

[PHP]I'm puzzled. TEXTAREA related.

2001-07-11 Thread Chris Cocuzzo
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: textarea rows=25 cols=80 name=news_info style=BACKGROUND-COLOR: rgb(31,31,31); BORDER-BOTTOM:

[PHP]OT I know, but WTF...

2001-07-15 Thread Chris Cocuzzo
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

RE: [PHP]OT I know, but WTF...

2001-07-15 Thread Chris Cocuzzo
? 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 secure(https...obviously). I

RE: [PHP]OT I know, but WTF...

2001-07-15 Thread Chris Cocuzzo
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's that tell you? | - Original Message - | From: Chris Cocuzzo [EMAIL PROTECTED] | To: PHP General List (E-mail) [EMAIL

[PHP]logic question

2001-07-22 Thread Chris Cocuzzo
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

[PHP]include question, WHY doesn't this work...

2001-07-23 Thread 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 =

Re: [PHP]include question, WHY doesn't this work...

2001-07-23 Thread Chris Cocuzzo
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 [EMAIL

[PHP]MySQL error, what's wrong here..

2001-07-23 Thread Chris Cocuzzo
?php $id = rand(1,2); $query = SELECT songname FROM mp3 WHERE sgid = .$id; $result = mysql_query($query,$connection); $mp3d = mysql_fetch_array($result); ? the server is telling me line 43(which starts with $mp3d) is not a valid mysql result resource. what am i doing wrong?? chris

Re: [PHP]MySQL error, what's wrong here..

2001-07-23 Thread Chris Cocuzzo
on with 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 songname FROM mp3 WHERE sgid = ' .$id.'; an SQL query

Re: [PHP]MySQL error, what's wrong here..

2001-07-23 Thread Chris Cocuzzo
the song pulled from the database..so the database uses that number in the part where it says...stream.php?songid=?php echo $id;? tell me if I need to clarify! chris - Original Message - From: Christopher Ostmo [EMAIL PROTECTED] To: Chris Cocuzzo [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent

[PHP] Need some help with this idea!

2001-07-24 Thread Chris Cocuzzo
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

Re: [PHP] Need some help with this idea!

2001-07-24 Thread Chris Cocuzzo
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]] Sent: Tuesday, July 24, 2001 8:28 AM To: [EMAIL PROTECTED] Subject: [PHP] Need

[PHP]Question about escaping a character

2001-07-24 Thread Chris Cocuzzo
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

Re: [PHP]Question about escaping a character

2001-07-24 Thread Chris Cocuzzo
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: [EMAIL PROTECTED] Sent

[PHP]Formatting problem...

2001-07-25 Thread Chris Cocuzzo
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

RE: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Chris Cocuzzo
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, ".

RE: [PHP] SQL Query syntax error... Help?

2001-04-15 Thread Chris Cocuzzo
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 !

[PHP] PHP/M3U Questions!!!

2001-04-17 Thread Chris Cocuzzo
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

RE: [PHP] PHP/M3U Questions!!!

2001-04-17 Thread Chris Cocuzzo
-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/17/2001, Chris

RE: [PHP] PHP/M3U Questions!!!

2001-04-17 Thread Chris Cocuzzo
:[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 making

RE: [PHP] Regular Expressions?

2001-04-20 Thread Chris Cocuzzo
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]

RE: [PHP] looking for a good shopping cart - catalog system

2001-04-23 Thread Chris Cocuzzo
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,

[PHP]OT, but dual-boot operating system question

2001-04-28 Thread Chris Cocuzzo
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