[PHP] proxy of sorts
two files proxy.php and image.php proxy downloads the website and image downloads the pictures proxy.php-- ?php /\ * Check to see if a web address is present...* * iproxy is where the imagaes are loaded * * myproxy is the addres of the proxy php page* \/ if(isset($_GET['web'])) { $stimer = explode( ' ', microtime() ); $stimer = $stimer[1] + $stimer[0]; $web = $_GET['web']; $iproxy = 'http://www.website.com/image.php?image='; $myproxy = 'http://www.website.com/proxy.php?web='; $site = 'a href='.$myproxy.$web; /\ * opens the remote page for reading * * and loads it into alltext * \/ $fd = fopen($web,rb); $alltext = ; do { $data = fread($fd, 8192); if (strlen($data) == 0) { break; } $alltext .= $data; } while (true); fclose($fd); /\ * strips the address down to its root* * unless it already is * \/ $web1 = dirname ($web); if($web1 !== http:) { $web = $web1; } /\ * removes current web address from tags and * * checks for all variants of spacing and quotes * * and then prints it out onto the screen * \/ $pattern = array( '{src[ ]*=[ ]*(|\')}i', '{src=(|\')'.$web.'}i', '{src=(|\')/}i', '{src=(|\')http}i', '{src=(|\')}i', '{(|\'):::}i', '{\.src[ ]*=[ ]*}i', '{\.src='.$web.'}i', '{\.src=/}i', '{\.src=http}i', '{\.src=}i', '{:::}i', '{newImage\((|\')'.$web.'}i', '{newImage\((|\')/}i', '{newImage\((|\')}i', '{a href[ ]*=[ ]*(|\')}i', '{a href=(|\')'.$web.'}i', '{a href=(|\')/}i', '{a href=(|\')http}i', '{a href=(|\')}i', '{(|\'):::}i', '{url\(}i', '{background[ ]*=[ ]*(|\')}i', '{background=(|\')'.$web.'}i', '{background=(|\')/}i', '{background=(|\')}i', '{(\w)(\w)}i' ); $replace = array( 'src=\1', 'src=\1', 'src=\1', '\1:::', 'src=\1'.$iproxy.$web.'/', 'src=\1'.$iproxy.'http', '.src=', '.src=', '.src=', ':::', '.src= '.$iproxy.$web.'/ + ', 'src='.$iproxy.'http'.' + ', 'newImage(\1', 'newImage(\1', 'newImage(\1'.$iproxy.$web.'/', 'a href=\1', 'a href=\1', 'a href=\1', '\1:::', 'a href=\1'.$myproxy.$web.'/', 'a href=\1'.$myproxy.'http', 'url('.$iproxy.$web.'/', 'background=\1', 'background=\1', 'background=\1', 'background=\1'.$iproxy.$web.'/', '\1 \2' ); $alltext = preg_replace($pattern, $replace, $alltext); $alltext = preg_replace('{a href=(|\')http://www\.website\.com/proxy\.php\?web=([^]*)(gif|jpeg)}i', 'a href=\1'.$iproxy.'\2\3', $alltext); //- $etimer = explode( ' ', microtime() ); $etimer = $etimer[1] + $etimer[0]; echo 'p style=margin:auto; text-align:center'; printf( Script timer: b%f/b seconds. Parsed .strlen($alltext). chars., ($etimer-$stimer) ); echo '/p'; echo $alltext; } ? image.php-- ?php /\ * gets the image name an location from proxy.php * * loads the image as image.php for proxy to call * \/ $img = $_GET['image']; $img = preg_replace({ }, , $img); $fd = fopen($img,rb); $alltext = ; do { $data = fread($fd, 8192); if (strlen($data) == 0) { break; } $alltext .= $data; //set_time_limit(1); } while (true); fclose($fd); echo $alltext; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] ereg_replace()
ok, so i'm stupid. how do i replace all '? ' with '?? ' -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] ereg_replace()
chris and justin, you guys rock. thanx for pointing towards str_replace(). my code works now. thanx! Justin French [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Sunday, November 16, 2003, at 02:31 PM, erythros wrote: ok, so i'm stupid. how do i replace all '? ' with '?? ' No need for regular expressions here. ? $str = 'well, how do I do this? should i experiment?'; $newStr = str_replace('? ','?? ',$str); echo $newStr; // should echo well, how do I do this?? should i experiment? ? Unless you want ANY white space (\n, \t, etc) instead of just spaces, an ereg would be better. I prefer preg_replace(): ? $str = 'well, how do I do this? should i experiment?'; $newStr = str_replace('/?(\s)/','??\\1',$str); echo $newStr; ? Justin French -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] split()
thanx for the help. i got it. when i saw what happened when i put the + at the end i found what i needed. split('[.!?] ', $data) this way it only breaks them up if the . or ! or ? is followed by a space. thanx again for the help. Eugene Lee [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Wed, Nov 12, 2003 at 09:48:37PM -0600, erythros wrote: : : trying to use split(). i want to split a paragraph by sentence. so of course : i used split('[.!?]', $data). but then i noticed i use ... or every now : and again at the end of a sentence. i don't know how to do this though... How about preg_split('[.!?]+', $data) ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] split()
trying to use split(). i want to split a paragraph by sentence. so of course i used split('[.!?]', $data). but then i noticed i use ... or every now and again at the end of a sentence. i don't know how to do this though... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] MP3 Ripping
dont need php - mysql to do this. there is a mp3 streaming sever built for winamp. look for shoutcast. it'll everything you need, with little leg work from you. Burhan Khalid [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Steve Vernon wrote: [ snipped ] So what I have done is made a MySQL database with all the Artist, Genre, CD's and Tracks (including mixes). I have typed in all the information into this, and checked it as much as possible. What I would like is to put the music track in a blob field, rather than a file. Is there someway that PHP can read the CD and rip the files??? Or would I need to rip the tracks in a program, and then basically upload them in a form? (The second option would take longer for me of course) The track itself? You mean the contents of the mp3 file?! *shake head* I don't know why you would want to do that -- other than probably giving mysql and your hard disks a good workout, this will not lead to any efficiency. Now I could write some sort of C++ or Java program that uses this data and plays the CDs with some fancy choosing of artists and genre etc. But can anyone think of a way to do it from PHP? Someone said WinAmp had a command line interface, perhaps send it tracks from a PHP file. Not sure if it returns informaiton to PHP. I'm going to entertain this idea just because I need a break from babysitting my X emerge... If you want to send the file -- I suppose you could stream it to Winamp -- or use the command line interface to winamp and just pass it a file through the browser. But again, why do you want to do this through a browser? There are a few thousand mp3 ripping and cataloging programs out there. Windows Media Player (with third party plugins) will also rip Mp3s and catalog them. Winamp also rips and encodes. LAME is a very good free ripper. One thing I did think was learning the PHP-GTK, with this project as a goal. But I know I can do what I want to do in Java, just not sure if there are any good mp3 modules etc for PHP. I know of a few that are for reading track information from mp3s, but not one that does what you want. I suppose you can customize one of those to your liking. Tell me why you want to do this via PHP + Web Server + MySQL + Web Browser again? -- Burhan Khalid phplist[at]meidomus[dot]com http://www.meidomus.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[2]: [PHP] Re: PHP CSS
Tom Rogers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, Thursday, October 9, 2003, 1:37:57 AM, you wrote: RR On Tue, 7 Oct 2003 23:22:02 -0700 RR Raquel Rice [EMAIL PROTECTED] wrote: On Tue, 7 Oct 2003 17:06:13 -0500 erythros [EMAIL PROTECTED] wrote: you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on what youre trying to do. what are the variables for? to request a specific css file? or are they to supplement the ccs file (ie: use value x for width of div), or are they to override the css file? i may have it wrong but what it sounds like is that you want to have a default css file then allow the user to make changes via the ini file. is this what youre after? Well, yes ... in a way. The plan is to have a main site, where users can have a subsite off the main site. I want to give the users the ability to customize, to an extent, their own subsite if they wish, while the main site retains the look I give it. -- Raquel I am only one; but still I am one. I cannot do everything, but still I can do something; I will not refuse to do the something I can do. --Helen Keller -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php RR I might just add that I can accomplish this very easily using inline RR style elements within HTML tags but, I'm wanting to separate out RR the CSS. RR -- RR Raquel RR RR To behave with dignity is nothing less than to allow others freely RR to be themselves. RR --Sol Chaneles You don't need to call your style sheets .css they can be just as easily called .php and even have a querystring attached like subsite.php?user=fred That way just use php as normal and return a style sheet just as you would a html page. example html head link rel=stylesheet type=text/css href=styles/subsite.php?user=fred /head body . . . /body subsite would have something like ? $user = (isset($_GET['user']))? $_GET['user']: 'none'; $default_color = 'blue'; switch($user){ case 'fred': echo 'H1 {font-size: 18px; color: red;}'; break; case 'none': echo 'H1 {font-size: 18px; color: '.$default_color.';}'; break; } regards, Tom they way i understand it she'll want the subsite to ? $user = (isset($_GET['user']))? $_GET['user']: 'none'; $default_css = 'default.css'; $user_css='user.css'; ? css files cascade so all you'll have to do is head link rel=stylesheet type=text/css href=styles/default.css link rel=stylesheet type=text/css href=styles/ ? echo $user ? .css /head and the users css file will only change what you allow in the user.css file. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: Re[4]: [PHP] Re: PHP CSS
it sounds like she using the ini as a user css. so wouldn't it be simpler to just rename the ini to css, rather than use php to get values from the ini and apply them to the current css? then all she has to do is follow davids adivce for the users css files: snip Write a script that opens your CSS file, parses the current CSS settings out of it, and displays them as a form. The user then updates and submits new values, and the script writes the new values the the CSS file. /snip Tom Rogers [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I don't think so, the original question was how to get PHP variables into a style sheet, though your way would work for a separate style sheet for each user. BTW I added .ass (active style sheet :)as a file extension for PHP processing to apache for this sort of function but I now use templates so it is redundant. -- regards, Tom -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: PHP CSS
you probably just want what everyone wants... a seperation of design from content. as for applying the variables to the style sheet it depends on what youre trying to do. what are the variables for? to request a specific css file? or are they to supplement the ccs file (ie: use value x for width of div), or are they to override the css file? i may have it wrong but what it sounds like is that you want to have a default css file then allow the user to make changes via the ini file. is this what youre after? Raquel Rice [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] On Mon, 6 Oct 2003 13:18:00 -0500 erythros [EMAIL PROTECTED] wrote: people will still be able to see your style sheet, by folling the link to your css file. how are you apling the variables in the first place? now that you are link to a style sheet what has changed (apperance wise) with the output of the page. is the formating not being applied? can you send a sample of what you are trying to do? You're right. They'll be able to follow the link. Maybe I'm just being silly, but I'm thinking that I don't want the style sheet in the HTML head/head = The HTML is currently created using PHP, for example: ?php include and read the ini file print(htmlhead); print(script type=\text/javascript\ charset=\ISO-8859-1\); print the style sheet details using variables from ini file print(/script); print(/headbody); = Instead, I would like to do this, applying the variables to the linked style sheet: ?php include and read the ini file print(htmlhead); print(link href=path/to/style.css rel=stylesheet type=text/css); print(/headbody); == I haven't tried it yet, but David's idea makes a lot of sense. -- Raquel He who possesses the source of enthusiasm will achieve great things. Doubt not. You will gather friends around you as a hair clasp gathers the hair. --I Ching (B.C. ?) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP CSS
people will still be able to see your style sheet, by folling the link to your css file. how are you apling the variables in the first place? now that you are link to a style sheet what has changed (apperance wise) with the output of the page. is the formating not being applied? can you send a sample of what you are trying to do? Raquel Rice [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] I'm currently building a dynamic site which draws page configuration variables from config (ini) files. To use those variables from the ini files, I write the style sheet in the header of each page. Here's my problem. I want to link to a style sheet rather than writing it to the page head, so that it's not visible by viewing the page source. I'm not sure how to draw the variable values from the ini file and apply them to the style sheet. Does anyone have any help? -- Raquel He who possesses the source of enthusiasm will achieve great things. Doubt not. You will gather friends around you as a hair clasp gathers the hair. --I Ching (B.C. ?) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Getting browser resolution??
you don't need to get the screen resolution for that. if you still want the screen resolution you'll have to look at javascript. just assign the pictures width to 25%. no matter the screen size, or resolution ie will set the picture to 25% of the window. it's pure html... img src=image.jpg width=25% / Bjarke Andersen [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi I've just started with PHP and i trying to find a function for getting the screen resolution, if that i posible?? I need it to resize pictures, so that nomatter what resolution a user haves, a picture allways uses for example 25% of the width of the screen... I hope someone can help me! Thanks Bjarke -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: How can I add records to database every 60 minutes???
even when youre not online? is the database online or local? another question is how is the game played in php? i take it scripts are being called over and over right? if so then add a time function to one of those scripts. when gameplay starts load the time to mysql (or a file) and then everytime the script is run check the time to see if the time has exceeded 60 minuets, if it has run you php script to load the data to mysql. you could even go the further step and have it check for internet conection and load to a file if failed, then load file(s) the next time a internet connection is detected. Phpu [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello I'm making an online game in php and mysql. Can someone tell me how can I add records to database every 60 minutes (even when i'm not online) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: How can I add records to database every 60 minutes???
yea... if no one hits the website for hours then only a few updates will occur. you could however write a very small javascript to call on a php script every hour. Skate [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] i take it scripts are being called over and over right? if so then add a time function to one of those scripts. when gameplay starts load the time to mysql (or a file) and then everytime the script is run check the time to see if the time has exceeded 60 minuets, if it has run you php script to load the data to mysql. the trouble with this is what if no-one hits the page for several hours? will it run 3-4 updates at once, or just the one? i'm guessing what your actually after is cron. you'd be running it on a *nix box for this, but you get cron to run the script every hour. i'm guessing your making some kind of ticker? similar to that in www.planetarion.com ? it's a fairly easy thing to do, and if you do a search for planetarion clones, you'll find exactly what your looking for. don't have a script that runs permanently tho, please. huge waste of resources, and you've also got the problems of timeouts, and how to restart a script if it crashes. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP suexec: html files as PHP.
it depends on what webserver your provider is running. all they have to do is add .html to the list of files parsed by php. Joan McGalliard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi, I'm getting a little desperate here, and running out of places to ask. My hosting company changed - without warning - to PHP Suexec, which completely broke to sites. They haven't been able to tell me how to fix it, just vague suggestions, and when I ask for detailed instructions, they send me a URL that has no connection with my problem. So it's pretty simple, I want to know how to get html files parsed as PHP files with PHP Suexec on. IE I want: http://www.mcgalliard.org/index.html to look like http://www.mcgalliard.org/index.html thanks for any help! joan -- Joan McGalliard, UK http://www.mcgalliard.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: Unknown Syntax
two equal signs means 'equal to' so '!==' means 'not equal to' one equal sign sets a value. ie... x = 2; // x is set to the value of 2 if(x!==3) // checks if the value of x is not equal to 3 as for != i've never seen it with just one equal sign... Chris Morrow [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anybody recognize this: !== with 2 '=' Ive known != to mean not equal to but i'm just looking at someone elses script and they use this instead. Does anyone know if this works or any problems with it? Cheers -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] proxy... of a sorts.
i wrote this in couple of hours. i havent really begun to develope it yet. it works, but i'm sure there's probably better/safer/faster ways to do certain parts. would anyone like to point out a few? ?php /*PROXY.PHP\ * Check to see if a web address is present...* * iproxy is where the imagaes are loaded * * myproxy is the addres of the proxy php page * \/ if(isset($_GET['web'])) { $web = $_GET['web']; $iproxy = '/image.php?image='; $myproxy = 'http://www.domain.com/proxy.php?web='; /\ * opens the remote page for reading and loads it * * into alltext * \/ $fd = fopen($web,r); while ($line = fgets($fd,1024)) { $alltext.=$line; } fclose ($fd); /\ * removes current web address from the images * \/ $alltext = ereg_replace('img src='.$web, 'img src=', $alltext); /\ * strips the address down to its root unless it * * already is * \/ $web1 = dirname ($web); if($web1 !== http:) { $web = $web1; } /\ * removes current web address from the images, * * background and url images, and links * * checks for all variants of img src... * * then prints it out onto the screen. * \/ $alltext = ereg_replace('img src='.$web, 'img src=', $alltext); $alltext = ereg_replace('img src= ', 'img src=', $alltext); $alltext = ereg_replace('img src =', 'img src=', $alltext); $alltext = ereg_replace('img src = ', 'img src=', $alltext); $alltext = ereg_replace('img src=', 'img src='.$iproxy.$web.'/', $alltext); $alltext = ereg_replace('a href=/'.$web, 'a href=', $alltext); $alltext = ereg_replace('a href=/', 'a href=', $alltext); $alltext = ereg_replace('a href=', 'a href='.$myproxy.$web.'/', $alltext); $alltext = ereg_replace('url\(', 'url('.$iproxy.$web.'/', $alltext); $alltext = ereg_replace('background=', 'background='.$iproxy.$web.'/', $alltext); echo $alltext; } ? ?php /*IMAGE.PHP*\ * gets the image name an location from proxy.php * * loads the image as image.php for proxy to call* \/ $img = $_GET['image']; $fd=fopen($img,rb); while ($line=fgets($fd,4096)) { $alltext.=$line; } fclose ($fd); echo $alltext; ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Get Rid of this Crook
that was the coolest thing i've read in a while... (considering i just read the latest harry potter book) what a way to get those guys back. Adam Voigt [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Well spamming doesn't get them any money. I believe I read they use this info to transfer money from your bank account, after convincing you to scan your passport for them, or something like that. One guy decided to strike back, check it out: http://www.haxial.com/spls-soapbox/nigerian-fraud/ On Thu, 2003-07-03 at 07:54, Brian S. Drexler wrote: You do have to admit though, it is a pretty good story. :-) Now let me ask you this. You reply to this e-mail and give your phone/fax numbers and then I'm assuming those get spammed all to hell too. Correct? -Original Message- From: Daryl Meese [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 7:33 AM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: [PHP] Get Rid of this Crook Could someone that this ass of the mailing list Daryl -Original Message- From: MARIAM ABACHA [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 12:02 AM To: [EMAIL PROTECTED] Subject: [PHP] ASSISTANCE NEEDED Hello, I am sorry for the embarrassment this letter might cause you as we have not had any correspondence before this letter. I got your address through my nephew with Nigerian Military Chamber of Commerce industry and Mining during my research for a reliable and trustworthy partner who l can do business with though l did not disclose the nature of the business l intend to do with whoever he recommend for me. I am DR. MRS MARIAM ABACHA, wife of the late Nigeria Head of State, General Sanni Abacha who died on the 8th of June 1998 while still on active duty. I am contacting you in view of the fact that we will be of great assistance to each other likeness developing a cordial relationship. I currently have within my reach the sum of Twenty - Five Million US Dollars (US$25,000,000.00) cash which l intends to use for investment, like Real Estate Development specifically in your country. This money came as a payback contract deal between my late husband and a Russian Firm on our countries Multi-billion dollars Ajaokuta Steel Plant. The Russian Partners returned my husband's Share of USD$25,000,000.00 after the death of my husband and Lodged in my husband's Security Company of which l am director right now, the new Civilian Government have intensified their probe on my husband? Financial and oil company. In view of these, l acted fast to withdraw the US$25,000,000.00 from the company vault and deposited it in a Security Company. I have since declared the Security Company bankrupt. No record ever existed concerning the money traceable by the government because there is no documentation showing that we received the money from the Russian. Due to the current situation in the country concerning government attitude towards my family, it has become quite impossible for me to make use of this money within. Let me refer you to the front page of this day newspapers of 10th March 2001. You can check it through their website www.thisdayonline.com the present government in Nigeria had frozen and seized all our bank accounts both here in Nigeria and abroad.Thus consent l shall expect you to contact me urgently to enable us discuss in detail about this transaction.Bearing in mind that your assistance is needed to transfer this fund, I proposed a percentage of 30% of the total sum to you for the expected service and assistance, 5% for offsetting minor expenses incurred in the course of this transaction. Your urgent response is highly needed as to stop further contacts. All correspondence must be by the email address [EMAIL PROTECTED] I will give you my Tel numbers where you can contact me when I hear from you. I must use this opportunity to implore you to exercise the utmost indulgence to keep this matter extraordinarily confidential whatever your decision while await your prompt response. NB: Because of the security being mounted on the members of my family, l has decided that this transaction exist between you and my nephew Dr. Azeez Bello. Remember to include your private Tel/fax or mobile number for easy communication. Best Regards. DR. (MRS) MARIAM ABACHA -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Adam Voigt ([EMAIL PROTECTED]) Linux/Unix Network Administrator The Cryptocomm Group -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: print html code
try echo ie... echo pthis is a paragraph/pr\n\; the r\n\ is a return character and newline character. Karina S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a string than it will appear in a single line. (Maybe it works, but not nice) How can I easy print out more lines of html code with php? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP user group
there are php user groups hmmm... there should a listing for that. someone should start a list... i wish there was one near me... Erich Kolb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know of a PHP user group near Gurnee, IL. I found one in Chicago, but its a little far to go and they meet in the middle of the day on Sat. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: have some free time?
your links don't work... Kyle Babich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any php programmers out there have a little free time? I've been trying to find the bug in my logging system forever and I've all but given up. If anyone else wants to try their luck then... http://babich.us/log/source/log.php.txt http://babich.us/log/source/config.inc.php.txt http://babich.us/log/source/test.php.txt http://babich.us/log/source/clearLogs.inc.php.txt http://babich.us/log/source/logIpData.inc.php.txt http://babich.us/log/source/logAgentData.inc.php.txt http://babich.us/log/source/logLangData.inc.php.txt I have a feeling that it is an obvious, simple error that I am missing. Anyway, back to the bug hunting... -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: print html code
try echo ie... echo pthis is a paragraph/pr\n\; the r\n\ is a return character and newline character. Karina S [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hello, I want to make a php site which can generate a html code and display it on the screen. (Display the code itself.) I use htmlspecialchars() function. It works fine, but now I have to add about 200 lines of static html code to print it out. If I put all of the code in a string than it will appear in a single line. (Maybe it works, but not nice) How can I easy print out more lines of html code with php? Thanks! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: have some free time?
your links don't work... Kyle Babich [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Any php programmers out there have a little free time? I've been trying to find the bug in my logging system forever and I've all but given up. If anyone else wants to try their luck then... http://babich.us/log/source/log.php.txt http://babich.us/log/source/config.inc.php.txt http://babich.us/log/source/test.php.txt http://babich.us/log/source/clearLogs.inc.php.txt http://babich.us/log/source/logIpData.inc.php.txt http://babich.us/log/source/logAgentData.inc.php.txt http://babich.us/log/source/logLangData.inc.php.txt I have a feeling that it is an obvious, simple error that I am missing. Anyway, back to the bug hunting... -- Kyle -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: PHP user group
there are php user groups hmmm... there should a listing for that. someone should start a list... i wish there was one near me... Erich Kolb [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Does anyone know of a PHP user group near Gurnee, IL. I found one in Chicago, but its a little far to go and they meet in the middle of the day on Sat. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] WEB HOST NEEDED!!!!!
he should ask for a pony too while he's at it... Jay Blanchard [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] [snip] Like I said, I need a web host. It MUST support PHP, mySQl and sending emails, optional. It shouldn't have any ads (pop-ups, ads), but I will allow if it has watermarks (SMALL! watermarks). It should be TOTALY FREE! [/snip] Denis I am going to make a small suggestion, please Google for this information. Apparently many of the answers that have been given to you on this list are not acceptable. Do some research. There is no such thing as totally free. HTH! Jay -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php