[PHP] md5 question

2002-12-05 Thread conbud
Hey. Is there a way to get the actual word/phrase from the long string that the md5 hash creates. Lets say, is there a way find out what b9f6f788d4a1f33a53b2de5d20c338ac stands for in actuall words ? Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

[PHP] Just Curious

2002-12-07 Thread conbud
I was just curious, but what program or website do you all use to view and reply to the newsgroups with ? Lee -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Building apache, php mysql, should I use apache 2.0?

2002-12-12 Thread conbud
Hey, I've been using Apache 2.0.43, PHP, MySQL on Linux machine. Ive been using for a production site that gets good traffic but nothing real major. Has multi threading so the speed is really nice. Apache 2 and PHP are still experimental at the time. However, I havn't ran into any difficulties

[PHP] Re: Smarty + css + dreamweaver

2002-12-12 Thread conbud
periods tell the browser to look one directory back for the file called style.css. Hope that helps. -- conbud Graphic Web Design Using Open Source Technology -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Strange problem with PHP,SSI

2002-12-14 Thread conbud
Sport4ever wrote: PHP version: 4.2.1 OS: RedHat Linux 8 Apache version: 2.0 My problem is that I can't execute more than one (SSI include) on my website JUST for PHP file.. so there is NO problems at all if I include HTML or SHTML files. Anyway, if I include 2 PHP files into any page, the first

[PHP] Re: Session: I RTFM

2002-12-14 Thread conbud
John Taylor-Johnston wrote: Jason wrote: RTFM again. Jason, again, I RTFM, but did not get it working. Otherwise I wouldn't have dared ask a question. Sessions depends on a number of factors including your version of PHP and the setting of register_globals. The FM manual says: $_SESSION

[PHP] Alternating Links

2002-12-19 Thread conbud
is column 2/td /tr /table -- Conbud Graphic Web Design Using Open Source Technology -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Alternating Links

2002-12-19 Thread conbud
(or more) columns by changing the last if() statement... Justin on 20/12/02 5:21 PM, conbud ([EMAIL PROTECTED]) wrote: Hi. Lets says I have 8 links stored in a database, extracting those links is no problem. Now lets says I have 2 columns, how do I get link 1 into column 1 then get link 2

[PHP] Message Board Question

2003-03-11 Thread conbud
number links it will list the next 5 messages that havn't been listed yet. Could someone show me how to do this or at least point me in the correct direction ? The data is all stored in a MySQL database. Thanks, -- Conbud [EMAIL PROTECTED] Graphic Web Design Using Open Source Technology

[PHP] Re: Message Board Question

2003-03-11 Thread conbud
Hey thanks everyone, I pretty much got it working now. Conbud wrote: Hi, this is kind of a complex question, Im making a message board, now I dont want list, lets say, all 25 messages on the same page. I would like to have - previous 1 2 3 next - type of links and only list 5 messages per page

[PHP] Pagination Part 2

2003-03-12 Thread conbud
Hi, Ive been trying to get this to work but I keep getting this error Parse error: parse error, unexpected $ in /home/conbud/nrlug/test3.php on line 72 line 72 is just the ending php bracket, heres what I got: ?php @mysql_connect(localhost, root, boing_boing) or die(ERROR--CAN'T CONNECT

[PHP] Listing a few words from one sentence ??

2002-11-07 Thread conbud
Say I have a sentence that contains 8 words, how do I get PHP to list just 4 of those 8 words ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Apache 2 and PHP

2002-11-07 Thread conbud
Hi, I use Apache 2.0.4 and PHP 4.2.3 on Mandrake Linux and Win XP. On Linux its been extremely stable and havnt had a single problem yet, on XP I have a few minor problems to where the PHP was executing slow but nothing majorly noticable. Davy Obdam [EMAIL PROTECTED] wrote in message

Re: [PHP] Listing a few words from one sentence ??

2002-11-07 Thread conbud
{$words[$i]}; } On Thu, 2002-11-07 at 22:29, conbud wrote: Say I have a sentence that contains 8 words, how do I get PHP to list just 4 of those 8 words ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- .: B i g D o g

[PHP] Re: Notice problem...

2002-11-07 Thread conbud
Hey Use error_reporting = E_ALL ~E_NOTICE that will display all errors except notices, I use if statements in a lot of my pages and if one of the variables in the if statement doesnt get defined, which some of them are ment to not get defined if a certain other variable is already define, so you

[PHP] Re: PHP not working in html

2002-11-07 Thread conbud
Hey there check out this URL http://www.php.net/manual/en/installation.php -Lee Mike At Spy [EMAIL PROTECTED] wrote in message news:GKEFLEHIPEGIFEECKBNEAEHCGMAA.spycobalt;spyproductions.com... PHP isn't working in my html docs - what changes do I need to make to get it to do so? Does it need

[PHP] W3C and PHP

2002-11-08 Thread conbud
Hi, In some of my URLs I have to pass variables through the URL like nav.php?page=aboutsection=linux - when i do this and then scan my site for W3C validation I get this Line 40, column 28: ... a href=nav.php?page=aboutsection=Linuxfont color=#256 ... ^ Error:

[PHP] Re: W3C and PHP

2002-11-08 Thread conbud
Hey I did what both of you all said to do href=nav.php?page=aboutamp;section=Linux and my arg_separator.output is ok but Im stilling getting that same error with W3C, my page is executing ok and was before, but I cant get it W3C HTML 4.01 valid with that error. -Lee Conbud [EMAIL PROTECTED

[PHP] Function Problem

2002-11-09 Thread conbud
Hey Im trying to create a fucntion in an include file function db_conn($host,$user,$pass,$dab) { $db = mysql_connect($host, $user,$pass)mysql_select_db($dab,$db); } In the page ide use: require('func.inc.php'); db_conn($host,$user,$pass,$dab); $result = mysql_query(select * FROM

Re: [PHP] Function Problem

2002-11-09 Thread conbud
programmers Check us out on the web at http://www.phparch.com On Sun, 2002-11-10 at 01:58, conbud wrote: Hey Im trying to create a fucntion in an include file function db_conn($host,$user,$pass,$dab) { $db = mysql_connect($host, $user,$pass)mysql_select_db($dab,$db

[PHP] Re: Function Problem

2002-11-09 Thread conbud
); } Conbud [EMAIL PROTECTED] wrote in message news:20021110065837.99825.qmail;pb1.pair.com... Hey Im trying to create a fucntion in an include file function db_conn($host,$user,$pass,$dab) { $db = mysql_connect($host, $user,$pass)mysql_select_db($dab,$db); } In the page ide use

Re: [PHP] Re: Function Problem

2002-11-09 Thread conbud
mysql_select_db($dab,$db); } -- Maxim Maletsky [EMAIL PROTECTED] On Sun, 10 Nov 2002 02:16:14 -0500 conbud [EMAIL PROTECTED] wrote: also I have the function wrong in my original question I have it as function db_conn($host,$user,$pass,$dab) { $db = mysql_connect($host, $user,$pass

[PHP] Help w/ $_SESSION

2002-11-11 Thread conbud
Hey, How would I insert $_SESSION['user'] and $_SESSION['pass'] into this mysql_query(select count(*) AS numfound from admins where user='$user' AND pass='$pass',$db); right now I have $_SESSION['user'] = $_POST['user'] $_SESSION['pass'] = $_POST['pass'] and I need to put $_SESSION['user']

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread conbud
; } ? I include that at the top of every page I want to protect. Lee Jason Wong [EMAIL PROTECTED] wrote in message news:200211121537.49604.php-general;gremlins.com.hk... On Tuesday 12 November 2002 15:05, conbud wrote: Hey, How would I insert $_SESSION['user'] and $_SESSION['pass

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread conbud
Also the echo statement is just there for testing purposes to make sure the variable were containing the correct data. Lee Conbud [EMAIL PROTECTED] wrote in message news:20021112075942.16291.qmail;pb1.pair.com... Hey, I do have it in a variable but I just choose to leave it out. Ive tried so

Re: [PHP] Help w/ $_SESSION

2002-11-12 Thread conbud
I am using session_start, im using php 4.2.3 Lee Conbud [EMAIL PROTECTED] wrote in message news:20021112075942.16291.qmail;pb1.pair.com... Hey, I do have it in a variable but I just choose to leave it out. Ive tried so many different things with this and even what you gave me for some reason

[PHP] Syntax Help

2002-11-14 Thread conbud
Whats wrong here ?? The variables are getting the correct information from the form but for some reason as soon as I put the variables into the $sql they dont post the proper data to the database, its connecting to the database ok but just not updating the data. $sql = UPDATE updates SET member=

Re: [PHP] Syntax Help

2002-11-14 Thread conbud
Jason thanks, I completely forgot about trying echo $sql by using that I found where it was messing up. Thanks again. Lee Jason Wong [EMAIL PROTECTED] wrote in message news:200211141725.47510.php-general;gremlins.biz... On Thursday 14 November 2002 17:22, conbud wrote: Whats wrong here

[PHP] Re: session handling

2002-11-16 Thread conbud
Hey you may want to try in page2.php : session_start(); echo('{$_SESSION['abc']}'); Lee Anjali Kaur [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... i want to access some variables generated in one page in all the other pages, so i thought of using $_SESSION.

[PHP] Re: Forms and Sessions not working

2002-11-16 Thread conbud
Hi, If your register_globals is off then you will need to use $_GETand $_POST to get the data from the form. echo $_POST['Name']; Lee Chris Jackson [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all: Im new to php and i have an isue. php4.2.3 windows

[PHP] Linux and Apache

2002-11-22 Thread conbud
Hi. I spent the last 3 days looking through the apache docs to figure out how to disable directory listing. I can disable the directory listing to my images folder but then all the images on the site dont work. I tried using Allow from mydomain and Allow from localhost Allow from 127.0.0.1 I even

[PHP] Linux Question

2002-11-22 Thread conbud
Hey. This really isnt a PHP question. but what fonts do you reccomend using so they look decent on linux. Mainly looking for a good font that will look nice in MoZilla and Galeon. Almost all the fonts Ive used so far appear really tiny or really bold and not very good to read. -Lee -- PHP

Re: [PHP] Linux Question

2002-11-25 Thread conbud
Lets see where to start. Ive used both the px, pixels, and the small and tested them both in Linux (Mandrake 9.0) using Mozilla. Galeon and Opera, using default settings they come with, and they zoom the text with no problems. On windows Ive tested the same stuff using IE and Netscape, using

[PHP] Re: session problems

2002-11-26 Thread conbud
Hey Also in your php.ini do you have session.use_cookies = 1 if its set to 0 then you will need to pass the variables through the URL. - Lee Jason Romero [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... when using session registered variables i can only get them

[PHP] Re: session problems

2002-11-26 Thread conbud
Hey again. In the php.ini if register_globals = Off - which is the default setting then you will need to use $_SESSION['variable'] - Lee Jason Romero [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... when using session registered variables i can only get them to

[PHP] PHP/MySQL/Server not working

2003-10-17 Thread conbud
syntax ? I just have no clue now. Any thoughts are appreciated. Thanks ConbuD -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP/MySQL/Server not working

2003-10-18 Thread conbud
magic_quotes_gpc is on, I dont use addslashes ConbuD Marek Kilimajer [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Are the variables quoted out by php setting magic_quotes_gpc or do you have to use addslashes in your code? conbud wrote: Hey, just a quick question, I have a form

[PHP] Re: PHP/MySQL/Server not working

2003-10-18 Thread conbud
that is set by the webhost ? and this overhead you think that would keep the info from being entered into the database. To get the error to go away I have to optimize the table. ConbuD Conbud [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hey, just a quick question, I have a form that users can

[PHP] Selecting Date Range

2004-11-03 Thread ConbuD
Hey, I have a database with approx 200-300 students in it. I wanna be able to pull out what student joined a class with in a certain date range. Say I wanna get all the students who joined between 10/12/04 through 12/12/04. What is the easiest way to do this ? Can it be done with just a simple

[PHP] PHP Help

2004-09-02 Thread ConbuD
and over time this can make the database quite large, How would I make it delete the oldest update and just add the newest update to the top of the list ? So this way I only have 5 updates stored in the database at all times. Thanks ConbuD --- Outgoing mail is certified Virus Free. Checked