Re: [PHP] explode and escape character for string separator

2003-07-18 Thread Tyler
load a bunch of characters into an array. Do a loop through that array and check all of your $strings for the current character in your loop. If the current array character does not exist in any of them, you have your delimiter. I could put together an example if you want me to. __

[PHP] Refreshing After Submitting a From

2003-09-03 Thread Tyler
do this? Thanks, Tyler Longren Message sent using UebiMiau 2.7.2 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] how to count objects instances

2004-08-23 Thread tyler
hi, What is best method(if it's possible) to count how many times an object is instanced in one time script call? I means that if i have a class named "Test", i what to know how many times she's called, how many copies exists etc. The idea is for monitoring in the way to optimizing the code. The m

Re: [PHP] how to count objects instances

2004-08-24 Thread tyler
Thanks, But im using php 4.3. Quoting Curt Zirzow <[EMAIL PROTECTED]>: > * Thus wrote Robert Cummings: > > On Mon, 2004-08-23 at 20:54, John Holmes wrote: > > > [EMAIL PROTECTED] wrote: > > > > > > You could write a wrapper class for Test that kept count of the > > > instances and returned a ne

Re: [PHP] problem including a file

2002-12-30 Thread Tyler Longren
ction.inc'); > The include path is d:\includes. (win nt 4, php 3.0.11) It worked fine > before but today failed to open the include file. > Does anyone has a clue about what could cause this problem? > Thank you. > Hello Omar, What error did you recieve? Tyler -- PHP General

Re: [PHP] Multiple forms

2002-12-30 Thread Tyler Longren
gt; Doug > Hi Doug, I handle it like this (I think): Then, to process your form: I haven't done this in a while though, so this may not work for you. Good luck, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Missing logos

2002-12-31 Thread Tyler Longren
HP user, the objective as > to get a system to learn with. > > As I can't find this reported here or in the bugs database, I suspect I have > made in installation error. Can anyone enlighten me? > > Thanks, > Richard Nothing is wrong with your installation. The imag

Re: [PHP] PHP 4.3 & Apache 2

2003-01-01 Thread Tyler Longren
Yup, still experimental. But from what I've experienced, they work just fine together. I run Apache 2.0.43 and PHP 4.3.0 together without any problems what so ever. When you compile php with apache 2, remember to: ./configure --with-axps2 instead of ./configure --with-apxs

[PHP] portabily including files

2003-01-13 Thread Tyler BIRD
hatever server it happens to be on. for example: on web1 box include '/conted/me.inc'; works fine for example on web2 box include 'conted/me.inc'; works fine Tyler Bird UVSC - Continuing Education -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Upload file

2003-01-23 Thread Tyler Durdin
I am using PHP 4.2.1 and have noticed that I can only upload files with a php script when I have the php.ini file set with register globals on. Is there a way to use the file upload scripts without having to turn the register globals on? How about newer versions of PHP?

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
it using Crystal Reports. > > Thanks > denis -- Tyler Lane [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Reporting tools for PHP?

2003-01-30 Thread Tyler Lane
st? Makes no sense. > Just support the OS projects...make a donation. > > John > > Tyler Lane said: > > On Thu, 2003-01-30 at 08:57, Denis L. Menezes wrote: > >> hello Friends? > >> > >> Is there any reporting toold for PNH/MySQL like there is Crys

[PHP] basic question

2003-02-14 Thread Tyler Durdin
What is the most secure way to access a mysql db with a php script? And could someone provide an example? What are the best password practices for the script to connect to the mysql db? Also, how should I set the directory permissions for the html pages with php scripts? ___

[PHP] getting result from mysql decode() function

2003-02-18 Thread Tyler Longren
Hi, I have this query: $decode = mysql_query("SELECT decode(\"$data\", \"$password\")"); It decodes the $data using the $password. How do I go about printing the result? Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Redirect without header or javascipt

2003-02-18 Thread Tyler Longren
no tyler - Original Message - From: "Daniel Guerrier" <[EMAIL PROTECTED]> To: "php user group" <[EMAIL PROTECTED]> Sent: Tuesday, February 18, 2003 4:59 PM Subject: [PHP] Redirect without header or javascipt > Is there any to redirect in php with u

[PHP] php and mysql

2003-02-20 Thread Tyler Durdin
When using a php script to pull recorda from a db how can I cut the records at 1/4 of the total and arrange them alaphabetically according to a certain field? Thanks in advance. _ MSN 8 helps eliminate e-mail viruses. Get 2 mont

[PHP] What do these errors mean?

2003-02-21 Thread Tyler Longren
Hi, I was looking through php.ini and noticed that show_error was set to Off. I turned it On, and now I see these errors on one of my pages: Notice: Use of undefined constant option - assumed 'option' in /usr/local/apache/htdocs/tyler/encodeDecode.php on line 37 Notice: Undefined ind

Re: [PHP] Cannot find php.ini

2003-02-21 Thread Tyler Longren
Default location is: /usr/local/lib/php.ini You can also do a: locate php.ini Good luck, Tyler - Original Message - From: "Kevin Paz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 1:03 PM Subject: [PHP] Cannot find php.ini > &

Re: [PHP] What do these errors mean?

2003-02-21 Thread Tyler Longren
The actual name of the variable in that message is display_errors, not show_error. tyler - Original Message - From: "Tyler Longren" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 21, 2003 1:01 PM Subject: [PHP] What do these errors mean? &

[PHP] mcrypt not fully decrypting?

2003-02-21 Thread Tyler Longren
intext: $plaintext"; } Sometimes, when I decrypt a cc it contains binary data...it's not fully decrypted. There's some plaintext in it and there's also binary. Does anyone know why this happens or how I can fix it? Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] updating pages with php

2003-03-05 Thread Tyler Durdin
I have a web page with a simple introductory paragraph on it. I was going to store the paragraph in a mySQL DB and create an administration page so people could easily edit the paragraph itself or change it all together. The problem I ran into is that mySQL will not allow certain punctuation ins

RE: [PHP] updating pages with php

2003-03-05 Thread Tyler Durdin
's it gives me errors. I take them out of the sql text and webpage and it works fine. From: "John W. Holmes" <[EMAIL PROTECTED]> Reply-To: <[EMAIL PROTECTED]> To: "'Tyler Durdin'" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> Subject: RE: [PHP]

Re: [PHP] updating pages with php

2003-03-05 Thread Tyler Durdin
$Query = "UPDATE $TableName SET Intro_Title = '$Intro_Title', Intro = '$Intro' WHERE ID = '$ID'"; From: "Liam Gibbs" <[EMAIL PROTECTED]> To: "php list" <[EMAIL PROTECTED]> Subject: Re: [PHP] updating pages with php Date: Wed, 5 Mar 2003 13:33:11 -0500 > What I have discovered is that I can m

Re: [PHP] updating pages with php

2003-03-05 Thread Tyler Durdin
They are all text fields. Intro title is just a line of text that says "Welcome to this website..." Intro, is the text of the introduction. You are correct and it is apostophe's and not comma's that cause the error. What do I do to get around that? From: "Liam Gibbs" <[EMAIL PROTECTED]> To:

[PHP] image upload question

2003-03-12 Thread Tyler Durdin
I want to be able to resize an image to 331x248 when I upload it and also create a thumbnail. All of these pics are coming from a digital camera set on 800x600 so the dimension above should be fine and i would like the thumbnail to be 77x58. I know the code to upload the image, but I am not s

RE: [PHP] image upload question

2003-03-12 Thread Tyler Durdin
cles. let me know if you find out anything. thanks, TD Hey Tyler, Did you get any progress on this? I'm trying to do the same thing. Johnny _ Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/cl

Re: [PHP] XML Parsing

2003-07-17 Thread Tyler Lane
ECIALHANDLING: CODE: SDD NAME: Saturday Delivery QUOTE: CARRIER: CODE: UPS NAME: United Parcel Service ACCOUNT: 123456789 INVOICED: 1 CLASS: CODE: 1DY NAME: 1st Day SERVICE: CODE: NDA

Re: [PHP] PHP5?

2003-07-23 Thread Tyler Longren
the latest stable version of PHP works just fine with Apache 2.0.47. tyler - Original Message - From: "Jonathan Villa" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 23, 2003 11:47 AM Subject: [PHP] PHP5? > Has anyone installed PHP 5 on Apa

[PHP] Email forwarding from SendMail to PHP

2003-07-28 Thread Donald Tyler
Anyone know of a place to get some good tutorials on how to forward email from SendMail to PHP for processing?

RE: [PHP] Re: Email forwarding from SendMail to PHP

2003-07-29 Thread Donald Tyler
Re: Email forwarding from SendMail to PHP See if this helps: http://www.evolt.org/article/Incoming_Mail_and_PHP/18/27914/ Joseph "Donald Tyler" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anyone know of a place to get some good tutorials on how to forward ema

RE: [PHP] capturing reloads

2003-07-30 Thread Donald Tyler
The only way I know is to use sessions. Each time they load the page, you would check a session variable that you use store the status of a specific page. E.g. if($_SESSION['ReloadStatus']['ContactUs'] == true) { //Page has already been loaded once. This is a reload. //---

[PHP] Using link to submit a form

2003-07-30 Thread Tyler Longren
any info that really applies to my question. This isn't exactly a PHP related question, but php is hugely involved in this project. Thanks! Tyler Longren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Google APIs with PHP

2003-07-31 Thread Donald Tyler
You probably shouldn't have posted your Google key here... -Original Message- From: Daniel Ke [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 30, 2003 11:45 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Google APIs with PHP Sorry about it. I should include the code as

RE: [PHP] Trouble getting $HTTP_RAW_POST_DATA

2003-08-01 Thread Donald Tyler
You should encase the $HTTP_RAW_POST_DATA in print_r() or you will just get the word "Array" printed. But I doubt that will solver your problem because it seems that $HTTP_RAW_POST_DATA is empty. Also, print_r() does not include any HTML formatting, so you will need to look at the source for the p

[PHP] XmlRPC Extension in Apache 4.2.3

2003-08-01 Thread Donald Tyler
Hi Everyone, I posted this on the PHP install list but didn't get a reply. I hope you guys/gals can be more helpful. I am having trouble getting the XmlRpc extension working with PnP 4.2.3. SYSTEM: Windows XP Pro PHP 4.2.3 (Running as Apache module) Apache 2.0.44 When Apache starts I get the fo

[PHP] mysql_error() problem?

2003-08-07 Thread Tyler Longren
ys thinks it succeeds. I remember having this problem once quite a while ago. I remember somebody telling me that it had something to do with UPDATE. Is there a better way to check for errors? Thanks, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this->xml_parser, '$this->startElement', "$this->endE

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
I did read the other thread, and I tried that. It didn't work... -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 2:46 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] Building an XML Parser Class [snip] xml_set_element_ha

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
the functions, but doesn't pass any parameters to it. All I get are missing parameter error messages. -Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Friday, August 08, 2003 9:11 AM To: '[EMAIL PROTECTED]' Subject: RE: [PHP] Building an XML Parser

FW: [PHP] Re: Building an XML Parser Class

2003-08-14 Thread Donald Tyler
Instead of say: $MyXmlParser = new XmlParser; -Original Message- From: Greg Beaver [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 5:01 PM To: Donald Tyler Cc: [EMAIL PROTECTED] Subject: [PHP] Re: Building an XML Parser Class http://pear.php.net/XML_Parser :) Greg -- php

RE: [PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
->startElement. Which it obviously doesn't exist because its in the xml parsers parent object. -Original Message- From: Evan Nemerson [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 4:36 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: Re: [PHP] Building an XML Parser Class Try

Re: [PHP] mysql_error() problem?

2003-08-14 Thread Tyler Longren
hmmm...perhaps that was it. When I had this issue before, someone told me to check mysql_affected_rows() when using issuing an UPDATE query. I'll give that a shot. Thanks! Tyler - Original Message - From: "CPT John W. Holmes" <[EMAIL PROTECTED]> To: "Tyler

[PHP] Templates, custom functions, mysql

2003-08-14 Thread Tyler Longren
oblem is that I can't get the results to be printed to my $template, or $home_tpl. $home_tpl is named home.tpl, and that's where the html code is that displays the results from worker_projects(); Can anyone help me out here? If you need more info, just let me know. Tyler Longren [EMAI

RE: [PHP] XMl Parsing within PHP

2003-08-14 Thread Donald Tyler
Its $this->startElement(). That was a typo. I typed the error message instead of copying and pasting it. Sorry. -Original Message- From: Jay Blanchard [mailto:[EMAIL PROTECTED] Sent: Thursday, August 07, 2003 1:26 PM To: Donald Tyler; [EMAIL PROTECTED] Subject: RE: [PHP] XMl Pars

[PHP] Building an XML Parser Class

2003-08-14 Thread Donald Tyler
Hi, I am trying to create a Class that will parse an XML document. It all works fine as individual functions but I cant get it to work as a class. For example, when I do the following in my class: xml_set_element_handler($this->xml_parser, '$this->startElement', "$this->endElement"); xml_set_cha

[PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
Thanks to the excellent help from someone at Full Data Systems (Thank you!), I finally managed to get the XmlRPC extension working on my windows PHP installation. I am not trying to send any params at the moment, all I want to do is get a valid response. However, now when I try and run the script

FW: [PHP] XmlRPC - Server did not understand request

2003-08-26 Thread Donald Tyler
-Original Message- From: Donald Tyler [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 9:29 AM To: 'Marek Kilimajer' Subject: RE: [PHP] XmlRPC - Server did not understand request Well that fixed it. *Slaps head*. I guess I should have noticed that. Sorry for such

[PHP] php and mysql

2003-03-31 Thread Tyler Durdin
I have a db with events in it. i would like to pull the events out via php, but i would like them to be ordered by month number (1-12). When I do this (Select blah blah From blah Order By Month_Start ASC) it orders the months by number, but it starts with october (month 10) I am pretty sure it i

Re: [PHP] Duplicate records

2003-06-06 Thread Tyler Longren
why not just make the 'id' field in the table auto_increment? tyler - Original Message - From: "Steve Marquez" <[EMAIL PROTECTED]> To: "MySQL List" <[EMAIL PROTECTED]> Cc: "PHP eMail List" <[EMAIL PROTECTED]> Sent: Friday, June 0

Re: [PHP] Sessions?

2003-06-18 Thread Tyler Longren
Did you try taking a look at the manual? Tyler - Original Message - From: "Lee Elenbaas" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, June 18, 2003 1:06 PM Subject: [PHP] Sessions? > Hi, > > I have failed to find the information I am lo

Re: [PHP] Month loop

2003-06-19 Thread Tyler Lane
On Thu, 2003-06-19 at 12:57, drparker wrote: > Is there any way I could loop thru and print all the month names (i.e. > January, February)? -- Tyler Lane <[EMAIL PROTECTED]> signature.asc Description: This is a digitally signed message part

[PHP] uploading images

2003-06-23 Thread Tyler Longren
Hi, I'm trying to upload a small image via a form. This code worked with php versions prior to 4.1.0. I assume it would still work if register_globals was turned on. Here's the error: Warning: fread(): supplied argument is not a valid stream resource in /home/sites/site2/users

Re: [PHP] Image upload into database

2002-07-24 Thread Tyler Longren
Are you trying to upload the same image as you did at home? If so, size isn't the problem if you can do it from home. It might be a timeout issue. There might be something in php.ini you can set for timeout. You can specify the max filesize to upload in php.ini also. Good luck, Tyler

[PHP] pdf to html

2002-07-25 Thread Tyler Longren
ll the time. Google has something that allows them to convert pdf to html, so, is it possible for me to do the same? These pdf's are graphic intensive...there's not much plain text. Thanks everyone, Tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] pulling records from mysql

2002-07-25 Thread Tyler Durdin
I have a column in my table named firstname with twenty records in it. How can i use php to pull out individual records (say for ex. record 16)? Also, how could i pull out all records upto number 15? Thanks in advance. _ Send and

Re: [PHP] Paying Job...

2002-07-25 Thread Tyler Longren
Charge by which ever will get you the most money. tyler On Thu, 25 Jul 2002 11:46:38 -0400 Gerard Samuel <[EMAIL PROTECTED]> wrote: > Basically, someone is looking to get a database driven site built, > and Ive never written code for money before. > Im looking for advice

Re: [PHP] Paying Job...

2002-07-25 Thread Tyler Longren
Why even bother charging money if you aren't out to make as much as you can? That's just my point of view. tyler On Thu, 25 Jul 2002 11:59:28 -0400 "Martin Clifford" <[EMAIL PROTECTED]> wrote: > <> > > Why didn't you just say, "Charge by wh

[PHP] printing results from mysql fetch array

2002-07-25 Thread Tyler Durdin
If I select all from my db how can I print the individual results? For example, say i want to print record number 16 from the firstname column into a table. How can i accomplish this? I have all of my db access coded and have it selecting all from the db, but i want to print individual records

Re: [PHP] still on sessions

2002-07-26 Thread Tyler Durdin
Alright this is my last question. I have closed the session, but can i make sure it is closed? i want to use something like if the session is closed then print a message session closed. _ Send and receive Hotmail on your mobile

Re: [PHP] Re: sessions

2002-07-26 Thread Tyler Durdin
So doing it the new way ($_SESSION['variable']) how do you close or unregister a session? _ Chat with friends online, try MSN Messenger: http://messenger.msn.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Re: sessions

2002-07-26 Thread Tyler Durdin
Still the same message. It has been actually logging me out all along, but it will not run through that if statement. >Could you trye >if (!empty($HTTP_SESSION_VARS['valid_user']) >use $HTTP_SESSION_VARS _ Chat with friends onl

Re: [PHP] Re: sessions

2002-07-26 Thread Tyler Durdin
Still getting the same message. This script used to work perfectly in an older version of php. Could it be a problem with how I am setting the sessions. Has anything changed with how we code sessions? >It's because you are unregistering the valid_user variable, but, the >old_user var you defin

Re: [PHP] sessions

2002-07-26 Thread Tyler Durdin
Here is the code that starts and registers the session. It is login page that logs in to itself so the form that produces $_POST["username"] is actually on the same page, but nothing happens until the user logs in. It there is something in this code that is not correct or making the other code

[PHP] sessions

2002-07-26 Thread Tyler Durdin
I used this logout page using sessions a while ago and it used to work great, but now it doesn't work. The only thing i have changed is my version of php. Can someone take a look and see what i have to change? then a little further down i have this "; } else { echo "Coul

Re: [PHP] sessions

2002-07-26 Thread Tyler Durdin
yes they are off. I did just recently discover this whole form thing, but i did not know about the session variables. I put the session registration code up in another post, if you would not mind looking at that and recommending changes. in the mean time I'll try and get up to speed on the new

RE: [PHP] php redirect

2002-07-26 Thread Tyler Durdin
I already tried that and i got an error that said Cannot add header information - headers already sent by (another snippet of code I have in the page. >Use the header() function > >http://www.php.net/manual/en/function.header.php > *

Re: [PHP] sessions

2002-07-26 Thread Tyler Durdin
I don't know. Tell me where I would find it and I'll look : -) Sorry, pretty new to all of this. >Do you have register globals off? > >Jim Grill >Support >Web-1 Hosting >http://www.web-1hosting.net >- Original Message - >From: "Tyler Durdin"

[PHP] still on sessions

2002-07-26 Thread Tyler Durdin
alrigh I have switched everything over to the $_Session['variable'] style of session. Next question, I have a little script that used to check if the session was registered and if it was not it would redirect to the login page. How do i accomplish this now that i cannot check if the session is

[PHP] inserting info into db

2002-07-29 Thread Tyler Durdin
I have a DB that will take answers to an 82 question survey, but i have the survey divided into 4 html pages(forms) of 20 or so question per page. The people taking the survey are not required to fill out every question on the survey. i was wondering how i can insert the data into the db this w

[PHP] comparing a variable to value in DB

2002-07-29 Thread Tyler Durdin
I have a column in my DB named username and i am trying to compare a session ID called $username to the field in my DB called username. The way i had done it before was SELECT * from tablename WHERE Tablename.username == $username, but this does not seem to be working is there a better way to d

Re: [PHP] PHP Installation Problem

2002-07-30 Thread Tyler Longren
I'm not sure exactly what you're saying, but it sounds to me like you didn't configure --with-mysql for the new server. You MUST do that. ./configure --with-apxs=/blah/blah --with-mysql If you don't have --with-mysql compiled into the php binary, mysql functions won't

Re: [PHP] still need help with crash on make

2002-07-31 Thread Tyler Longren
Use apache 1.3.26 and it'll work. Just change the configure line: ./configure --with-mysql --with-apxs=/path/to/apxs Apache 2 is troublesome. tyler On Wed, 31 Jul 2002 17:27:30 -0500 "Kirk Babb" <[EMAIL PROTECTED]> wrote: > Could somebody help me with this?.I po

Re: [PHP] toolbar.google.com

2002-07-31 Thread Tyler Longren
It's called Google Magic. I don't really know the answer to your question. Google does a lot of really neat things (like converting pdf to html). tyler On Thu, 1 Aug 2002 08:17:35 +0100 "Lord Loh." <[EMAIL PROTECTED]> wrote: > Google uses php to make a soft

[PHP] sessions

2002-08-01 Thread Tyler Durdin
I have a login page using sessions the old way. I have switched it to using $_SESSION['valid_user']and was wondering how to switch this (below) part of my code. In the if statement I am checking to see if the session is registered, but using $_SESSION[''] I do not understand how to do this or

Re: [PHP] My SQL speed.

2002-08-02 Thread Tyler Longren
> Should this be asked in a mysql list ? Please suggest a NNTP server! You could always take this to the mysql mailing list [EMAIL PROTECTED] tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] records in db

2002-08-10 Thread Tyler Durdin
If I have a field in my DB that can have 4 different answers, lets say a,b,c and d. How can I count the number of each in that field. So if there are 4 a's 1 b 0 c's and 12 d's how can I get php to count this? _ MSN Photos is the

Re: [PHP] Hacker?

2002-08-11 Thread Tyler Longren
block his ip at the router. tyler On Sun, 11 Aug 2002 16:21:07 -0600 "RPS Internet" <[EMAIL PROTECTED]> wrote: > My server is getting odd request form an outside computer. Upon > looking into the requests I have found his PHP Config file is point to > my server as th

Re: [PHP] Hacker?

2002-08-11 Thread Tyler Longren
So what? You don't want him using your stuff anyway do you? tyler On Sun, 11 Aug 2002 16:33:17 -0600 "RPS Internet" <[EMAIL PROTECTED]> wrote: > What about all the users of his web site that are requesting his php > scrpts that are compiling through my server?

[PHP] SQL ?

2002-08-12 Thread Tyler Durdin
SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A What does the As Answer-A mean and what does it do? _ Join the world’s largest e-mail service with MSN Hotmail. http://www.hotmail.com -- PHP General Mailing List (http://w

Re: [PHP] SQL ?

2002-08-12 Thread Tyler Durdin
<[EMAIL PROTECTED]> >To: PHP List <[EMAIL PROTECTED]> >Subject: Re: [PHP] SQL ? >Date: Mon, 12 Aug 2002 10:26:55 -0400 > >On Mon, Aug 12, 2002 at 02:15:23PM +, Tyler Durdin wrote: > > SELECT *, IF (answer = 'a', TRUE, FALSE) AS Answer-A > > What doe

Re: [PHP] SQL ?

2002-08-12 Thread Tyler Durdin
my post as it was a justified. If we have nothing nice or helpful to post to one another, then we should post nothing at all. >From: "DL Neil" <[EMAIL PROTECTED]> >To: "Tyler Durdin" <[EMAIL PROTECTED]>,<[EMAIL PROTECTED]> >CC: <[EMAIL PROTEC

Re: [PHP] Proxy taking me to localhost.com

2002-08-28 Thread Tyler Longren
This is the greatest php related question I have ever seen. tyler On Wed, 28 Aug 2002 15:23:48 -0400 [EMAIL PROTECTED] wrote: > > Hey, > I am on a cable connection...and to connect to the net my provider > gave me an address where my browser would get automatically > con

Re: [PHP] Re: Hardware Address

2002-09-05 Thread Tyler Longren
using exec() or system() will only be able to execute commands on the machine php is installed on. I sometimes wonder how universities and broadband isp's do this. I'd be interested in seeing how it works. Sorry, I'm not much help anymore. tyler On Fri, 6 Sep 2002 01:24:0

Re: [PHP] Count in PHP

2002-09-09 Thread Tyler Longren
$sql = mysql_query("SELECT * FROM table ORDER BY whatever"); echo(mysql_num_rows($sql)); that should do it. tyler On Tue, 10 Sep 2002 00:58:26 -0400 "Chuck \"PUP\" Payne" <[EMAIL PROTECTED]> wrote: > I am wanting to do a count in PHP. I want to be able

Re: [PHP] subdomain

2002-09-10 Thread Tyler Longren
Try this: $subdomain = $_SERVER["SERVER_NAME"]; And then get all the text before the first ".". Tyler On Wed, 11 Sep 2002 10:55:56 +1000 "Liam MacKenzie" <[EMAIL PROTECTED]> wrote: > G'day everyone, > > I have a dilemma... > I'm ru

Re: [PHP] Don't read if easily offended...

2002-09-10 Thread Tyler Longren
You should check to make sure the variable isn't empty. And if it is put some other name in there (like Bill Clinton). Cuz if you go to just http://fuckedyourmum.com, you just get: "fucked your Mum!!!" for text. Just a suggestion, Tyler On Wed, 11 Sep 2002 12:08:03 +1000

Re: [PHP] strange bug(?) when opening lots of files

2002-09-17 Thread Tyler Longren
How long does the script tend to run before it just "quits"? Perhaps a timeout is set too low in php.ini. Take a look at max_execution_time in php.ini tyler On Tue, 17 Sep 2002 23:14:46 +0100 Shane Wright <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- &

Re: [PHP] PHPTriad on Windows XP?

2002-10-01 Thread Tyler Longren
Did you even try to find the answer by yourself? You could have found the answer to this on the PHPTriad(now called Sokkit) homepage: http://www.phpgeek.com/sokkit/ The answer is listed under "Sokkit Requirements". tyler On Tue, 1 Oct 2002 17:19:13 -0500 "Stephen" <[

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
yes, that would work much better. tyler On Tue, 01 Oct 2002 20:11:21 -0400 Brad Bonkoski <[EMAIL PROTECTED]> wrote: > Sorry... > I think: > http://www.php.net/manual/en/function.phpversion.php > will be more inline with what you want... > -Brad > > Alex Shi wrote:

Re: [PHP] PHP version

2002-10-01 Thread Tyler Longren
You can get it out of this variable: _SERVER["SERVER_SOFTWARE"] tyler On Tue, 1 Oct 2002 20:03:25 -0400 "Alex Shi" <[EMAIL PROTECTED]> wrote: > Is there any way to report PHP version? > > > -- > --- > TrafficBuilder Netw

Re: [PHP] The latest PHP version??? NOT Ver7.2??

2002-10-01 Thread Tyler Longren
latest version is: 4.2.3 not 7.2 tyler On Wed, 2 Oct 2002 10:36:08 +0800 (CST) ¼ÒÎÄ ·½ <[EMAIL PROTECTED]> wrote: > thanks. > > Can you email me??? > > _ > Do You Yahoo!? > "·¢¶ÌÐÅÓ®ÊÖ»ú,¿ìÀ´²Î¼ÓÑÅ»¢¾Þ

[PHP] php and databases

2002-10-25 Thread Tyler Durdin
Is there anyway to have php convert a database from mySQL to Access via a webpage? I have a couple of people here who use Access to do mail merging things with word and it would make my life a ton easier if I did not have to convert the db's everytime they want the info. If anyone has any though

RE: [PHP] Looking for an open source PHP editor on linux

2002-10-25 Thread Tyler Lane
I would also recommend jedit. It is a VERY nice IDE. Supports a TON of language, any operating system that supports Java, syntax highlighting. etc. Tyler Lane [EMAIL PROTECTED] On Fri, 2002-10-25 at 04:14, Clint Tredway wrote: > Have a look at www.jedit.org > > This editor is not sp

[PHP] sprintf

2002-11-07 Thread Tyler BIRD
; I want just a literal slash between the month and year, printf seems to complain of to few arguments I've tried escaping the meaning of the % in the example above and still get errors Thanks TYler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] redirection

2002-06-05 Thread Tyler Longren
I think that's pretty much your only option. You could use javascript to redirect if you wanted. Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: "Renaldo De Silva" <[EMAIL PROTECTED]> To: <[EMAIL PRO

[PHP] days between two timestamps

2002-06-05 Thread Tyler Longren
Hi, I have two different timestamps: 20020603164114 and 20020605054710 Is there a simple way to get the number of days between the two dates? thanks, tyler -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] days between two timestamps

2002-06-05 Thread Tyler Longren
Hi All, Yes, they are mysql timestamps. I'll just use the query John suggested and modify it to fit my needs. I was originally going to do something like Martin suggested, but if I can do it right in MySQL, I'll do it that way. Thanks all! tyler - Original Message - From: &

Re: [PHP] Best way to store 1000 char in a database

2002-06-06 Thread Tyler Longren
What do you mean "the best way"? Do you mean which data type you should give the field? A bit more info please. :-) Tyler Longren Captain Jack Communications www.captainjack.com [EMAIL PROTECTED] - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thur

Re: [PHP] Problem with MySQL

2002-06-14 Thread Tyler Longren
you need to put your $myrow in a while loop: while ($myrow = mysql_fetch_array($result)) { $title = $myrow[title]; $videoid = $myrow[videoid]; $catergory = $myrow[catergory]; $appraisal = $myrow[appraisal]; // blah blah blah everything else } Tyler Longren Captain Jack Communications

Re: [PHP] Need help

2002-06-18 Thread Tyler Longren
If you don't have cURL Installed yet, you can get it for Win32 here: http://curl.haxx.se/download.html On Tue, 2002-06-18 at 09:30, Barbara wrote: > I want to know how I have to install cURL on my apache server. My apache server is >running on Windows ME. > Thanks for all. > Barbara Guillen. > S

  1   2   3   4   5   >