[PHP] To much PHP (Newbie)

2001-01-23 Thread Mike Mike
Is there a such thing as to much code in an include file that will break it. Assuming that you have, say 20 people hitting that one page simultaniously. Will it just slow things or will it actually break (As in show code to the viewer)? Thanks --Mike

[PHP] Creating Graphs

2001-04-30 Thread Mike Mike
Hello, I was wonder if anyone knows of a place where I can get a good tutorial about making graphs for beginners using php. If so please let me know. Thank you --Mike __ Do You Yahoo!? Yahoo! Auctions - buy the things you want at great prices

[PHP] subtracting Dates

2001-05-01 Thread Mike Mike
k for any date using php. Here is what I have so far... $t = (date ("m-d-Y")); echo $t; // output 05-01-2001 echo ""; $r = $t - 7; echo $r; //output -2 but now $r returns -2 How do I get $r to yesterdays date in this format. 04-3

[PHP] PHP using Forms

2001-05-04 Thread Mike Mike
mysql database to html: My Home 11 North 5th St St. Paul MN Phone: (555) 555- Fax: (555) 555- E-Mail: [EMAIL PROTECTED] How do I get it to print out with line breaks like how I have typed it into the form? Thank you --Mike __ Do You

RE: [PHP] PHP using Forms

2001-05-04 Thread Mike Mike
; [mailto:[EMAIL PROTECTED]] > Sent: Friday, May 04, 2001 10:16 AM > To: 'Mike Mike'; [EMAIL PROTECTED] > Subject: RE: [PHP] PHP using Forms > > > Try this: > > $Home = nl2br($Home); // nl2br converts newlines > to s > > See http://www.php.net/nl2br for m

[PHP] Sorting an array.

2002-04-18 Thread Mike Mike
echo $row["FaxNumber"].""; echo "Approximant Distance = $Distance Miles"; } } Here is where my question comes to play. How do I sort the $Distance so that 4 Miles will come up first 10 second 30 third ext.. I have tried useing sort(

[PHP] Spacing between $row["City"],$row["State"]

2001-03-27 Thread Mike Mike
STRING' or `'$'' . The way I want the output is as follows: Duluth MN but I get DuluthMN Thank you --Mike __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/?.refer=text -- PHP Gen

[PHP] Submiting Data with an '

2001-07-05 Thread Mike Mike
Hello everyone, I'm having a problem of submiting an ' into a mysql database. When I have a ' it doesn't update or submit the data. but if I use \' it works fine. Does anyone know of a way around this. Thanks --Mike

[PHP] Storing Java Script Varable into php variable

2001-07-20 Thread Mike Mike
Hello, I look through the php-general list database but could not find the answer. My question is I have some java script I want to store the java script variable into a php variable so I can submit it into a database. Here is the Java sript code. <-- function show(){ if (!document.all&&!document

[PHP] Date function

2001-08-15 Thread Mike Mike
Hello, I'm pulling a date out of MySQL as 2001-10-18. How do I make it print October 18 in php? Thanks much --Mike __ Do You Yahoo!? Make international calls for as low as $.04/minute with Yahoo! Messenger http://phonecard.yahoo.com/ --

[PHP] sorting a csv text file in PHP

2001-02-12 Thread Mike Mike
Hi list, I have a csv text file that looks like this: Mike,1,Monday 12th of February 2001 02:14:09 PM Bob,3,Monday 12th of February 2001 02:14:17 PM Marry,2,Monday 12th of February 2001 02:16:38 PM I'm trying to get it to sort by the 2nd value (number descending and to show only the to

[PHP] A small problem with input feilds.

2002-12-05 Thread Mike
lected files. Is there a way that I could limit it so that I get only the selected filenumbers and files, or should I re-think the way the script works? Thank you, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP ODBC Problem

2003-02-14 Thread Mike
PHP from the command line, I changed IIS over to use php.exe, but with no success. Any ideas? Oh, and I did end up setting the security permissions for the ODBC database directory to give System & Everyone & IUSER_ full access. Mike C. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Passing url?variables

2003-02-27 Thread Mike
Hi, I'm running Apache 2.0 and PHP 4.2.2 on a RedHat 8.0 Machine. I'm unable to pass variables through a URL like index.php?test=something. Can anyone help here? I've looked through both my httpd.conf and php.ini files and didn't see anything... -Michael -- PHP General Mailing List (http://www

Re: [PHP] File management system

2003-03-20 Thread Mike
Webmin has some good stuff. (it's a java applet though...) On Thu, 2003-03-20 at 06:14, J J wrote: > Anyone have a good recommendation for a file > management system that would allow the average person > to browse certain files/directory on a web server and > possibly make edits. > > Then the fro

Re: [PHP] php and javascript

2003-03-21 Thread Mike
Try radio buttons. You can't have lots of checkboxes like that. Or try one of those lists that you can select multiple parts. I don't remember what they're called. On Fri, 2003-03-21 at 10:25, shaun wrote: > Hi, > > I'm not sure if this is a PHP or a JavaScript question but I have found the > fol

Re: [PHP] Session Not Working

2003-03-21 Thread Mike
you forgot session_start at the beginning of the login script On Fri, 2003-03-21 at 12:31, Guru Geek wrote: > Hello, > > I'm trying to use sessions for the first time. > > I have a log in script that gets the user to enter their name and > password. Then the script compares the entered data to

[PHP] How can I get info from an XML document

2003-03-21 Thread Mike
I get the $xml from elsewhere $xml.=""; $xml.="Mike Bosschaert"; $xml.=""; $xmlParser=xml_parser_create(); $parse_succes = xml_parse($xmlParser,$xml,"true"); xml_set_element_handler($xmlParser, "startElement", "endElement"); xml_set_cha

Re: [PHP] PHP Session in Windows - Please help...

2003-03-27 Thread Mike
It's much easier and works better to use: "; ?> Next Page ?> That will set everything and echo correctly... this also makes it more obvious for later where your variables are coming from. On Thu, 2003-03-27 at 08:03, Tiago Simões wrote: > Hi, > > I am using PHP version 4.3.0, Apache 2.0.44 on W

[PHP] Include Path Troubles... I figured it out!

2003-03-27 Thread Mike
ate with a ':'. I'm using it and it works really well if you put it at the top of all your pages! The include_path returns to the normal value when the script is completed. -Michael -- Mike <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] target frame on refresh

2003-03-27 Thread Mike
You can't do that in PHP... just use JavaScript... do a google for it. -Michael On Thu, 2003-03-27 at 08:35, Bryan Koschmann - GKT wrote: > Hello, > > I'm not sure this can be done with PHP, but I'm looking for any ideas! > > I have a frames page. The top refreshes every 5 seconds, checking for

[PHP] Get the HTTP Server Username

2003-03-28 Thread Mike
Is there anyway to get the HTTP Server Username (something like $_SERVER['username']) I tried printing all the variables defined in a page (and looking at a phpinfo.php) and wasn't able to figure it out... -- Mike <[EMAIL PROTECTED]> -- PHP General Mailing List (ht

Re: [PHP] Is there a PHP for Dummies?

2003-03-28 Thread Mike
Try out "Programming PHP" by Rasmus Lerdorf from O'Reilly. I got it and learned everything from it. Once you've read the book once or twice, you can just use the PHP Manual... -Michael On Fri, 2003-03-28 at 12:53, Beauford.2002 wrote: > I'm really tired of trying to figure out the PHP manual and n

[PHP] PEAR DB - PHPMyAdmin

2003-03-28 Thread Mike
Anyone intersted in helping integrate PHPMyAdmin to PEAR? It's seperate from phpMyAdmin right now, but might be integrated later... -Michael -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP Email Attachment problem

2003-04-01 Thread Mike
dmail is a custom function listed below also, not the one inherent to PHP.** Thanks, Mike -Begin Code-- case("send_message"): // Obtain file upload vars $fileatt = $_FILES['fileatt']['tmp_name']; $fileatt_type = $_FILES[&#x

[PHP] Email Attachment Problem....

2003-04-02 Thread Mike
dmail is a custom function listed below also, not the one inherent to PHP.** Thanks, Mike -Begin Code-- case("send_message"): // Obtain file upload vars $fileatt = $_FILES['fileatt']['tmp_name']; $fileatt_type = $_FILES[&#x

[PHP] Design - Database, Hard File, Combination?

2003-04-05 Thread Mike
d. My other question is if there is an easier way to do this? With a database or something? I would still need to output a file with the same format from that for my menu... Thanks in advance. -Michael -- Mike <[EMAIL PROTECTED]> -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] php editor?

2003-06-14 Thread Mike
One thing that works well for me (editor aside) is creating a staging server (staging.domain.com) and doing all edits there. Then when everything is just the way you want it, I have a script that copies everything from the staging site to the live site. It prevents having to work on your live prod

[PHP] String Manipulation

2002-07-25 Thread Mike
I am currently doing it is like this: Variable names have been changed per my boss(My Boss wanted me to change them for some reason) I know that there has to be a shorter version of this, can anyone help me out with it? Thank You, Mike [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing

RE: [PHP] String Manipulation

2002-07-25 Thread Mike
Thanks, it worked like a charm ;) Mike -Original Message- From: Tech Support [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:39 AM To: Mike; PHP List Subject: Re: [PHP] String Manipulation I tested this out with success. $string = ereg_replace

RE: [PHP] String Manipulation

2002-07-25 Thread Mike
e ${$data} for? Also for future reference is there a way that you could return the string with all the parentheses stripped out? Thank You again, Mike [EMAIL PROTECTED] And what would be -Original Message- From: Tech Support [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 11:39 A

RE: [PHP] String Manipulation

2002-07-25 Thread Mike
Wow, Thank you for the explanation, it helped out a lot ;) I don't know regex very well, but I hope that this will give me a better understanding of it. Thank you Yet again, Mike -Original Message- From: Tech Support [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 25, 2002 12:26

RE: [PHP] Need regular match help - possibly

2002-07-25 Thread Mike
Hi > for the first case - using "\n", try : >ereg_replace('\n+', '\n\n\n', $str) This is right, apart from the fact that \n characters will no be parsed with single quotes. Try this... Sorry, just a minor thing. Mike -- MGS2 Online http://www

[PHP] slow reading from socket

2002-07-25 Thread Mike
r protocol? has anyone else had this problem. I rewrote the class using the socket functions such as socket_create(), socket_connect() and socket_read() but had the same problems. Is it a problem with my code or is it somthing to do with the way the server is working? help me! Thanks, Mike

[PHP] Re: Selecting databases

2002-07-25 Thread Mike
You need to look at mysql_list_dbs(), this returns an array of all available databases on a connection. -- MGS2 Online http://www.mgs2online.f2s.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] There has to be a more elegant way of doing this

2002-07-31 Thread Mike
Heya, I was just wondering If there is a more elegant way of doing this... $string = str_replace('%mp3number%',$ARRAY['mp3number'],str_replace('%file_size%', $file_size,str_replace('%url%',$url,str_replace('%title%',$title,str_rep lace('

RE: [PHP] Re: There has to be a more elegant way of doing this

2002-07-31 Thread Mike
Sweet! You rock! It worked perfectly and now I don't have this giant line in the middle of my script :) Thanks, Mike [EMAIL PROTECTED] [EMAIL PROTECTED] -Original Message- From: lallous [mailto:[EMAIL PROTECTED]] Sent: Wednesday, July 31, 2002 10:11 AM To: [EMAIL PROTECTED] Su

[PHP] Intermentant problems with getting information out of a string.

2002-08-15 Thread Mike
*R* String is *Music is: PAUSED* substr($string,0,1) = *M* Got Status of *PAUSED* String is ** substr($string,0,1) = * * String is *Current song: 01. DJ Encore - I See Right Through To You* substr($string,0,1) = *C* String is *Samplerate: 44kHz, Bitrate: 160kbps, Channels: 2* substr($string,0,1)

[PHP] Can anyone help me out? I am really getting frustrated!

2002-08-15 Thread Mike
really lost on what to do, any help would be appreciated. Thank You, Mike [EMAIL PROTECTED] [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Can anyone help me out? I am really getting frustrated!

2002-08-15 Thread Mike
There were 2 equal signs, when I sent It outlook must have made them into one. Mike -Original Message- From: Matt Schroebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 15, 2002 2:48 PM To: 'Mike'; [EMAIL PROTECTED] Subject: RE: [PHP] Can anyone help me out? I am real

[PHP] Is there a better way of doing this?

2002-08-21 Thread Mike
br( "T = $t\nte = $te\n" ); } if(is_null($t) or $t == ""){ $tim = $te[0] .".0". $te[1]; }else{ $tim = (string)$t .".". (string)$te ."m)"; }

RE: [PHP] Is there a better way of doing this?

2002-08-21 Thread Mike
-Original Message- From: DL Neil [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 21, 2002 4:56 PM To: Mike; [EMAIL PROTECTED] Subject: Re: [PHP] Is there a better way of doing this? Hello Mike, parse a string similar > to "4,31m)" figure out if it is numeric or not,

RE: [PHP] Re: An if statment that someone else designed and I can't parse ;(

2002-08-27 Thread Mike
o doing an explode on all the % signs would not work unfortunately. Thanks, Mike -Original Message- From: Richard Lynch [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 24, 2002 7:36 PM To: Mike Cc: [EMAIL PROTECTED] Subject: [PHP] Re: An if statment that someone else designed and I can'

[PHP] header problem

2002-08-31 Thread mike
the e-mail mail($myAddress, $mySubject, $myMessage, $myHeaders); ## when testing the file i get the response e-mail, however at the top of the e-mail i get the following: Content-Type: text/html; charset=iso-8859-1 X-Priority: 1 X-MSMail-Priority: High X-Mailer: Just My S

[PHP] Is there any way to make this faster?

2002-09-17 Thread Mike
s->debug){ if($this->verbose){ print nl2br("\$ValueToReplace['{$torep}'] = '". $ValueToReplace[$torep] ."'\n"); print nl2br("string after... '$string'\n"); }

[PHP] Re: Probs with MIME multipart/alternative generated with PEAR mime.php (bug)

2002-06-04 Thread mike
ry" on the second line, preceeded with a tab. Altough I have not had a chance to test this fix with my clients who have complained of this issue, my rudimentry research shows this to be the case. Regards, Michael "Mike" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTEC

[PHP] Tracking Problem -- Force full script execution?

2002-06-07 Thread mike
Hi, I am trying to track every user who visits my site (over 100,000 per minute..), and I have over 25 queries in my tracking script... and I have a feeling some users are "closing" the script before it finishes executing, even though my script loads very quickly.. and its causing some of my MySQ

Re: [PHP] Tracking Problem -- Force full script execution?

2002-06-07 Thread mike
Hi, Not porn, but advertising. We only use about 20mbit/sec. Thanks, - Original Message - From: "Miguel Cruz" <[EMAIL PROTECTED]> To: "mike" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Friday, June 07, 2002 6:00 PM Subject: Re: [PHP]

[PHP] Which costs more: connecting to a DB or accessing the file system?

2002-06-21 Thread mike
I was reading somewhere (can't remember where) that connecting to a db is a pretty costly transaction. DB queries aside, does anyone know of any benchmarks that demonstrate file access vs. db connections? Similarily, while DB queries offer alot of power, would it be cheaper (faster) to drop simp

Re: [PHP] Which costs more: connecting to a DB or accessing the file system?

2002-06-21 Thread mike
I suppose that filesystem access is faster. Michael "Erik Price" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > On Friday, June 21, 2002, at 11:19 AM, mike wrote: > > > I was reading somewhere (can't remember whe

Re: [PHP] Which costs more: connecting to a DB or accessing the file system?

2002-06-21 Thread mike
George, "George Whiffen" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I'm not quite sure what you are trying to achieve, but if holding the > data in a file is realistically an option i.e. your data is static, then > why not consider holding your final ou

[PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike
Hello, I am wondering if you could help me... I can't seem to figure out how to get sessions working. Thank You, Mike

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike
of the session on the next page.. does that help out? Thank You, Mike - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, July 09, 2002 3:25 PM Subject: RE

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike
I used both a post and a get (using print "click here";) and a post, but they don't seem to work. Mike - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "'Mike'" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> S

[PHP] The code to the pages that I can't figure out.

2002-07-09 Thread Mike
admin is: http://counter.funyon.com/autocounter/include/getcounters.phps which makes links to: http://counter.funyon.com/autocounter/signup/editcounter.phps There you go, I hope that I can get some insight ;) Mike

Re: [PHP] CANT GET STUFF TO WORK

2002-07-09 Thread Mike
admin is: http://counter.funyon.com/autocounter/include/getcounters.phps which makes links to: http://counter.funyon.com/autocounter/signup/editcounter.phps There you go, I hope that I can get some insight ;) Mike - Original Message - From: "Lee" <[EMAIL PROTECTE

Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike
Running Slakware linux 2.4.7 kernel... if you want more info you can go to http://www.funyon.com/phpinfo.php and see the phpinfo page. Thanks, Mike - Original Message - From: "Naintara Jain" <[EMAIL PROTECTED]> To: "Mike" <[EMAIL PROTECTED]>; <[EMAIL P

Re: [PHP] CANT GET STUFF TO WORK

2002-07-10 Thread Mike
- Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, July 10, 2002 10:25 AM Subject: Re: [PHP] CANT GET STUFF TO WORK > On Wednesday 10 July 2002 21:58, Mike wrote: > > Please do not top post (ie add your

[PHP] PHP & gd-2.0

2002-07-10 Thread Mike
in advance for any help, Mike --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.371 / Virus Database: 206 - Release Date: 6/13/02 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compile errors with php 4.2.1 and gd

2002-07-11 Thread Mike
al --with-zlib-dir=shared --with-freetype-dir=/usr/local --enable-ftp any help would be appreciated greatly, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Compile errors with php 4.2.1 and gd

2002-07-11 Thread Mike
oops, ok, I was being stupid... forgot to do a make install on gd 2 ;( Mike - Original Message - From: "Mike" <[EMAIL PROTECTED]> To: "PHP List" <[EMAIL PROTECTED]> Sent: Thursday, July 11, 2002 5:52 PM Subject: [PHP] Compile errors with php 4.2.1 and gd

[PHP] Problems with apache and php

2002-07-11 Thread Mike
I have a small problem, I can make the cgi version of php fine, it runs and installs perfectly, but when I try to make the apache module (i.e. --with-apxs=/path/to/apxs) php crashes apache. can anyone give me any insight on this? Thanks, Mike -- PHP General Mailing List (http://www.php.net

[PHP] Very first web app and questions

2003-10-01 Thread mike
could I use to accomplish this task? I kinda like the MySql option myself seems easier to deal with for some reason Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] attach file with mail() function??

2003-10-05 Thread mike
> Jason Wong wrote: >> On Monday 06 October 2003 07:34, Roy W wrote: >> >>>Is there a way to attach a file with the mail() function? >> >> >> Yes. >> > > Is there a way to have PHP print out "Hello World"? > Mr Wong has had

Re: [PHP] attach file with mail() function??

2003-10-05 Thread mike
lping to reduce the volume of email in everyones inbox. So far today I've had probably close to 15 OT emails from several threads land on my machine, none of them useful (including this one) none of them relating to PHP (including this one) and all of them avoidable (including this one) if he

Re: [PHP] Best way to split a string of numbers into segments.

2003-12-02 Thread Mike
preg_match should do it... $mydate = "20031202"; $date = array(); preg_match("/(\d{4})(\d{2})(\d{2})/", $mydate, $date); print_r($date); substr would be much quicker though On Tue, 2003-12-02 at 13:14, Tom wrote: > Hi. > > Is there an easy, non expensive way to do the perl-equivalent of: > $dat

Re: [PHP] reload farmes

2003-12-02 Thread Mike
you cannot change the page after you have started sending it.. this is a limitation of HTTP not PHP. You will probably need to send some javascript along with your php to do the frame reloading, or find a neater way to do it On Tue, 2003-12-02 at 14:12, Christian Jancso wrote: > Hi there > > I

Re: [PHP] Best way to split a string of numbers into segments.

2003-12-02 Thread Mike
list ($a, $b, $c) = preg_split ("/(\d{4})(\d{2})(\d{2})/"); note the "'s > list ($a, $b, $c) = preg_split (/(\d{4})(\d{2})(\d{2})/); > > parse error, unexpected '/', expecting ')' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Best way to split a string of numbers into segments.

2003-12-02 Thread Mike
g_match("/(\d{4})(\d{2})(\d{2})/", $mydate, $date); list($x, $y, $d, $m) = $date; echo $d." / ".$m." / ".$y ."\n"; Mike On Tue, 2003-12-02 at 15:15, Tom wrote: > I have noted the "'s. > Could you send me a complete piece of code, please?

Re: [PHP] International Addresses and Telephones

2003-12-04 Thread Mike
have a look at the pear Validate class - this is what you need. In the UK the postal code is (as a preg expression) /[A-Za-z]{1,2}[0-9]{1,2}[A-Za-z]\s?[1-9][A-Za-z]{2}/ these are valid postcodes B1 4RT B56 6TY BN5 6ER SW1A 1AA (<- the queen @ buck palace) SW14 5RT ie. one or 2 letters, followe

Re: [PHP] Not able to execute Linux binary

2003-12-06 Thread Mike
have you tried using the full path to the executable (eg /usr/bin/myapp rather than ./myapp)? Mike On Sat, 2003-12-06 at 04:56, Karam Chand wrote: > Hello > > looking at manuals and help and some help from you. i > wrote the attached code- > > error_reporting (E

[PHP] Re: password protection/encryption

2003-12-08 Thread Mike
Chris Mach wrote: Greetings, I'm working on a project that involves a password protected area of a website. Some one also involved brought up the point that this area should be secure (Whit the lock icon indicating it is encrypted). In this particular project the password protected area will be a

[PHP] Re: write failed

2003-12-08 Thread Mike
Dan McCullough wrote: Just wanted to see if this was correct. To me this is saying that /tmp cannot be written to as there is no space left on device. Warning: Unknown(): write failed: No space left on device (28) in Unknown on line 0 Warning: Unknown(): Failed to write session data (files). Pleas

[PHP] Re: $_POST[$variable]

2003-12-11 Thread Mike
orm fields numeric names, "form_field_".$i would be better you need to take care with using _POST - it is accessed like this $_POST['name'] NOT $_POST['$name'] Mike Christian Jancso wrote: Hi there, I have the following problem: How can I use variables in the $_POST sta

[PHP] Re: why "imap_open " delay a long time ?

2003-12-11 Thread Mike
from you to the server to check for basic network slowness Everything else from there is outside the scope of the list (unless you track it down to an error in php) Mike Yt1 wrote: hi I have worked with imap functions for a long time . When I use "imap_open" connecting to a imap

[PHP] Re: Call PHP from other languages

2003-12-12 Thread Mike
need to use RPC or SOAP to communicate. Or... you could try to write a libPHP in C! Mike germán m. rivera wrote: Hi all! We have developed a groupware web server written in PHP. We were interested in integrating some communication interfaces in Java, using Tomcat, in this application, but we

[PHP] Re: Checking a URL string.

2003-12-12 Thread Mike
try the PEAR Validate class you can do Validate::url($websiteUrl); by the way, preg is quicker than ereg Mike Philip J. Newman wrote: I would like to check if i have a correct url enterend --- Philip J. Newman Master Developer PhilipNZ.com [NZ] Ltd. [EMAIL PROTECTED] -- PHP General Mailing

[PHP] Re: Sync Outlook with MySQL via PHP

2003-12-12 Thread Mike
information. Then use php to read and decode the format, adding this to the database as it goes. No problem, Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: ereg is failing on this simple test

2003-12-12 Thread Mike
it works if you remove the last $ from the expression, also I think the . needs escaping unless you have a special reason, use preeg_* as it is supposed to be quicker Mike Manuel Ochoa wrote: Why is this test failing? $data = "A Simple test."; If (ereg("^[a-zA-Z0-9\s.

[PHP] Re: (0/T) executeing script below public

2003-12-13 Thread Mike
reference for each filetype) to check a file type # /> file myfile which in this case should return myfile: Bourne shell script text executable Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP IDE?

2003-12-13 Thread Mike
if you are using windows, I would highlt recommend PHPEdit, it is open source and has function completion. It boosts productivity a lot http://www.phpedit.net/products/PHPEdit/ Mike On Sat, 2003-12-13 at 17:06, Jough Jeaux wrote: > Was wondering what everyone's favortie IDE is for >

Re: [PHP] PHP IDE?

2003-12-14 Thread Mike
Not that good. IIRC, all the error messages and the prompts are in German, one need to guess which button should press if you don't know the very language. They were all in english last time I used it (which was a while ago) Mike -- PHP General Mailing List (http://www.php.net

[PHP] Re: Email Forwarders

2003-12-14 Thread Mike
then read and write this file (it should contain your forwards already), assuming they are using sendmail like email server You may have read/write permission errors, depending on how the server was configured. Mike Matt Palermo wrote: I have a hosted website which uses CPanel. I can login to

Re: [PHP] Printing PHP Source with a PHP Script

2003-12-14 Thread Mike
e PHP Source? Thanks. '; echo $src; echo ''; ?> echo htmlentities($src); there is a function just for this highlight_file($file); is all you need Mike -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] html table

2001-01-25 Thread Mike
How do I get every other column to be a different color (or font ect.)when I'm populating a table from a db(different field counts all the time) Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional com

[PHP] Tough one?

2001-02-21 Thread Mike
; $x < count($keys); $x++) { $updateString=$updateString.$keys[$x]."='".$HTTP_POST_VARS[$keys[$x]]."',"; Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail:

[PHP] conjecate a variable to a string in a function

2001-03-09 Thread Mike
Whats wrong with this? $MaxID="select Max($Table.'ID') from $Table"; MikeP [EMAIL PROTECTED] -- 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 administrators, e-mail: [EMAIL PROTE

[PHP] Not isset

2001-03-09 Thread Mike
how do I write a Not isset as in: if != isset($order) { $order=$Table."ID"; } mikep [EMAIL PROTECTED] -- 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 administrators, e-mail: [EM

[PHP] Web Page/MySql

2001-03-13 Thread Mike
I have a Mysql Database on a web site.On very large record retrieval I want to split the recorset so there is "Page 1, Page 2"links at the bottom.This is the only part I dont have.Any Suggestions? Thank Mike P [EMAIL PROTECTED] -- PHP General Mailing List (http://www.ph

[PHP] Mysql Show SQL

2001-03-13 Thread Mike
Im trying to use the SHOW syntax and the following code is returning nothing.The Table name is correct and there are records in the table (not that that should matter).I dont get an error. Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e

Re: [PHP] Why not 'file_exists()' for URLs?

2001-03-20 Thread Mike
On 19 Mar 2001 06:53:00 -0800, [EMAIL PROTECTED] ("David G.") wrote: > Since fopen/fread/fclose all work with standard URLs, why not allow > file_exists() to work with URLs as well? > What is the procedure to make such a request? Try this: function url_exist($url) { $url_parts = parse_u

[PHP] Form Field

2001-04-17 Thread Mike
Im trying to pass a form variable to anouther page with the following: name="R1"> Everything works fine if there are no spaces(Buffalo) but if there are spaces ( San Francisco) I only get the first word.I've never had this problem before and I dont know what I did.Any sugges

Re: [PHP] Form Field

2001-04-17 Thread Mike
What I need to do is append parenthesis to the front and back of ('1'.$row[0][0]), but when I do that it doesn't parse correctly. What I'm getting now is: Value=1San Francisco What I need is: Value="1San Francisco" Thanks Mike P [EMAIL PROTECTED] ""Mik

[PHP] PC MAG article

2001-05-09 Thread Mike
As a devoted php programmer I was surprised how bad PC MAG blasted php this month.It sound as if it doesnt scale very well(Ive never had more than a few people on my site at once).Any comments??? Thanks Mike [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] Problem with the MAIL command

2001-05-17 Thread Mike
Its OK gang I have solved it - It was a mail-relay problem ! Mike "@toye.php.net sexygeek )" wrote in message 9e0mtb$pqn$[EMAIL PROTECTED]">news:9e0mtb$pqn$[EMAIL PROTECTED]... Hi I have a simple mail command which I can see my SMTP (IIS5) server is picking up but its not

Re: [PHP] Variables not working

2002-04-26 Thread Mike
I do a link to http://blah.com/do.php?varbiable=passed I'm not sure of any docs though, sorry. Mike - Original Message - From: "baldey_uk" <[EMAIL PROTECTED]> To: "Nathan" <[EMAIL PROTECTED]>; "Rasmus Lerdorf" <[EMAIL PROTECTED]>; &

Re: [PHP] Authentication with register_globals OFF

2002-05-11 Thread Mike
Thanks, Stuart. I'll admit I don't "fully" I understand register_globals. Beyond that, I am sure I am not clear on the value of NOT using register_globals. I am wading through the docs constantly. Haven't quite finished. Regardless, thanks for the assist. Mike

Re: [PHP] php.net sloooooooowwww

2002-05-18 Thread mike
Seems to be an old main page on php.net too, us2.php.net shows 4.2.1 released, php.net doesn'.t :) Mike - Original Message - From: "Miguel Cruz" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, May 19, 2002 1:35 AM Subject: Re: [PHP] php.net sl

Re: [PHP] cron: No such file or directory

2002-06-03 Thread mike
Actually, /usr/lib/php is a directory most likely. You need to make sure you compiled the binary at compile time, and then (on Linux) it would be installed to /usr/local/bin/php. Thanks, - Original Message - From: "Marek Kilimajer" <[EMAIL PROTECTED]> To: "PHP" <[EMAIL PROTECTED]> Sent:

[PHP] Probs with MIME multipart/alternative generated with PEAR mime.php

2002-06-03 Thread mike
y hunch is that the problem originates from either my MTA, or the script itself. But, I just don't know enough about MIME multipart/alternative to diagnos the problem. A raw version of the email is below. Any MIME gurus out there? Thanks, mike >From [EMAIL PROTECTED] Mon Jun 3 05

  1   2   3   4   5   6   7   8   9   10   >