[PHP] Hi!
Hi, Hope you are doing awesome! My name is Jay and I am the Affiliate Account Manager at InstallMonetizer. I wanted to connect with you and show you how you can make more money by using our services to monetize your install path. :) Currently, I see you are offering your software on Download.com. Our payouts will far exceed that. Below are our sample payouts (eCPM): **1000 USA offer screens displayed: $380.00 **1000 European offer screens displayed: $230.00 NOTE - We monetize all countries :) Most publishers run a test with us and quickly see that we payout 3-4x more than their current advertiser. I would love have you run a test on our network. :) When would be a good time to chat? Skype: jay.installmonetizer Yahoo: dhaliwal.jasjeet Thanks for your time! -- Sincerely, Jay S. j...@installmonetizercorp.com j...@installmonetizer.com Skype: jay.installmonetizer Yahoo: dhaliwal.jasjeet
[PHP] Hi
Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
use some thing like http://uploadify.com u can always check for the uploaded file extension/mime-type on the server side -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
You can check the extension of the uploaded file http://www.php.net/manual/en/features.file-upload.post-method.php But to be sure that it's truly a zip file you could actually open the file with php's zip function. http://php.net/manual/en/ref.zip.php Chris. On Mon, Sep 6, 2010 at 9:46 AM, Jordan Jovanov jovanovj...@gmail.comwrote: Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
On 6 September 2010 14:46, Jordan Jovanov jovanovj...@gmail.com wrote: Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Using standard HTML ... no. There is nothing in the input type=file element to instantly limit the file type. You can use JavaScript to some degree (http://www.codestore.net/store.nsf/unid/DOMM-4Q8H9E for example). As far as PHP goes, one of the values returned to you is the $_FILES['userfile']['type'] property. If this matches the zip file mime type (application/x-zip but also application/x-gzip and maybe multipart/x-gzip, multipart/x-zip), then you have a better chance of knowing it is a zip file. -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
I think you should not focus so much on the file extension, as that is mostly meaningless if someone wanted to attack your system. Instead, you could wrap a call to the command line 'file' command, which gives mostly accurate information about a file. Basically it reads the first few bytes to see it is what it expected. There is a php wrapper for this, but I forget what its called just now. If you do need to just grab a file extension though, you can do it with a call to pathinfo() with the 2nd argument of PATHINFO_EXTENSION. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Jordan Jovanov jovanovj...@gmail.com Date: Mon, Sep 6, 2010 14:46 Subject: [PHP] Hi To: php-general@lists.php.net Cc: jovanovj...@gmail.com Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
On 6 September 2010 15:04, a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk wrote: I think you should not focus so much on the file extension, as that is mostly meaningless if someone wanted to attack your system. Instead, you could wrap a call to the command line 'file' command, which gives mostly accurate information about a file. Basically it reads the first few bytes to see it is what it expected. There is a php wrapper for this, but I forget what its called just now. If you do need to just grab a file extension though, you can do it with a call to pathinfo() with the 2nd argument of PATHINFO_EXTENSION. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Jordan Jovanov jovanovj...@gmail.com Date: Mon, Sep 6, 2010 14:46 Subject: [PHP] Hi To: php-general@lists.php.net Cc: jovanovj...@gmail.com Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php How is the ['type'] arrived at within PHP. Is this supplied by the web server? Or does PHP have to work it out before passing it to userland code? Either way, is it not accurate enough? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
As far as I can remember It's supplied by the client user agent, hence the big issue with jpeg images uploaded by IE, as it uses a different type to all the other browsers. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Richard Quadling rquadl...@gmail.com Date: Mon, Sep 6, 2010 16:13 Subject: [PHP] Hi To: a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk Cc: Jordan Jovanov jovanovj...@gmail.com, php-general@lists.php.net On 6 September 2010 15:04, a...@ashleysheridan.co.uk a...@ashleysheridan.co.uk wrote: I think you should not focus so much on the file extension, as that is mostly meaningless if someone wanted to attack your system. Instead, you could wrap a call to the command line 'file' command, which gives mostly accurate information about a file. Basically it reads the first few bytes to see it is what it expected. There is a php wrapper for this, but I forget what its called just now. If you do need to just grab a file extension though, you can do it with a call to pathinfo() with the 2nd argument of PATHINFO_EXTENSION. Thanks, Ash http://www.ashleysheridan.co.uk - Reply message - From: Jordan Jovanov jovanovj...@gmail.com Date: Mon, Sep 6, 2010 14:46 Subject: [PHP] Hi To: php-general@lists.php.net Cc: jovanovj...@gmail.com Hi All I need me a little help. I create scripte for upload file is work very good but the problem is next: I neet to upload only .zip file i need to disable some user to shoise to upload another file Extensions. Can somebody help me. Thanks a lot. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php How is the ['type'] arrived at within PHP. Is this supplied by the web server? Or does PHP have to work it out before passing it to userland code? Either way, is it not accurate enough? -- Richard Quadling Twitter : EE : Zend @RQuadling : e-e.com/M_248814.html : bit.ly/9O8vFY
Re: [PHP] Hi
On Mon, Sep 6, 2010 at 1:45 PM, chris h chris...@gmail.com wrote: Per PHPdocs on $_FILES['userfile']['type']... The mime type of the file, if the browser provided this information. An example would be image/gif. This mime type is however not checked on the PHP side and therefore don't take its value for granted. Personally I like to use the file right off-the-bat to ensure it's safe. So if it's an image do some kind of image manipulation function on it, if it's zip then use some zip functions on it (i.e. if you can read data from a zip file using a zip function then it's probably a real zip file). It can be slow, but handling user uploaded files is so dangerous that I think it's typically the way to go. Chris.
[PHP] Hi list --- justa simple question
I am developing a website here wherein i need to post a lot of content. I am trying to develop a script to post data automatically to the site the site is designed in drupal any idea/comment or suggestion on how should i begin with because i am new to php language -- Bhaskar Tiwari GTSE Generalist Directory Services Microsoft \ All we have to decide is what to do with the time that has been given to us bhaskartiw...@officeliveusers.com http://www.ebhakt.com/ http://fytclub.net/ http://bhaskartiwari.web.officelive.com/ http://ebhakt.spaces.live.com/
[PHP] Hi
Hi
[PHP] hi, how can i join a php document translate team?
thank you
[PHP] Hi!! I Joined the PHP Mailing List
Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) -- http://www.iniad.com : Iniad Link Xchange System
Re: [PHP] Hi!! I Joined the PHP Mailing List
On Mon, Mar 9, 2009 at 12:54 PM, Picu Priya iniad...@gmail.com wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) Hello, and welcome! Just a little FYI--the mailing list archives are at http://marc.info/?l=php-general ... lots of useful information in there, and you may find the solution to your problem before you even need to ask a question! Happy programming, and again, welcome to the list. -- // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi!! I Joined the PHP Mailing List
Thank you all for the warm welcome. I Love PHP :) On 3/10/09, haliphax halip...@gmail.com wrote: On Mon, Mar 9, 2009 at 12:54 PM, Picu Priya iniad...@gmail.com wrote: Hello Everyone, I have just joined the PHP Community.. I hope, I will spend good time here.. I am already a PHP programmer, and Love to learn a lot of new php tricks while helping others, as best of my knowledge. :) Hello, and welcome! Just a little FYI--the mailing list archives are at http://marc.info/?l=php-general ... lots of useful information in there, and you may find the solution to your problem before you even need to ask a question! Happy programming, and again, welcome to the list. -- // Todd -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- http://www.iniad.com Not Just A Link Directory. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi,
I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks -- View this message in context: http://www.nabble.com/Hi%2C-tp20637953p20637953.html Sent from the PHP - General mailing list archive at Nabble.com. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi,
On Sat, 2008-11-22 at 08:30 -0800, idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks -- View this message in context: http://www.nabble.com/Hi%2C-tp20637953p20637953.html Sent from the PHP - General mailing list archive at Nabble.com. Yes, look at the PHP file functions, like readdir(), etc. Also, make sure you consider the possible security problems with this approach. Potentially, you could have people enter URLs like ../../ to access directories two levels down, which is real bad. Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi,
idan72 wrote: I would like to write code where the user will input directory name. I want it to be able to browse to directory and choose it. With HTML if can only choose file. Can I do that in PHP ? Thanks I have to say I have NO idea what you just said besides you want to build a file-system browser in PHP. It can be done very well in PHP, but what exactly are you going to do with it? Is it going to be for downloading files or something? What happens when you get all the way down the directory tree? - Craige -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi. I need your help here
Hi. I came across your contact info at php.zend.com and was hoping you could help me out with this question. I recently installed Rubberwall10, a free software that protects from hotlinking and although I managed to installed the software correctly at my site, I came across the fact that when I tried to download an image from the site to my computer, the image came out with 0 kbs. Someone who also installed the software made a comment on the internet stating he solved the problem adding a trim function to three of the variables in the filescrapper.php file. My question to you is, how can I do that. I am not familiar with php, although I have understood some minimal basics. Adding trim function to $ct, $webaddress and $wantedfilename seemed to have solved the problem according to the user who solved the problem but did not specify how he did it. Can you tell me how I can add trim function to the above three variables?. Your help is greatly appreciated. The code is below. Thanks. John /*** * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * ***/ $allowed = 0; include('config.php'); if($allowblank 0) { if($_SERVER['HTTP_REFERER']==) { $allowed = 1; }} $domains = count($alloweddomains); for($y=0;$y$domains+1;$y++) { if((stristr($_SERVER['HTTP_REFERER'], $alloweddomains[$y]))) { $allowed = 1;} } if($allowed 0) { $namenumberarray = file($webaddress.fileindex.txt); $numberoffiles = count($namenumberarray); $filenames = array(); for($x=0;$x$numberoffiles+1;$x++) { $temporary = explode(:,$namenumberarray[$x]); $tempname = explode(\n,$temporary[1]); $filenames[$temporary[0]] = $tempname[0]; } if(!isset($filenames[$_GET['serve']])) { if($logging 0){ $status = ReqNF; include('logit.php'); } echo('That number wasnt found!'); exit; } $wantedfilename = $filenames[$_GET['serve']]; $extension = explode(., $wantedfilename); $numberinarray = count($extension); $lcext = strtolower($extension[$numberinarray-1]); //BEGIN CONTENT TYPES BLOCK. ADD OR REMOVE FILE TYPES HERE, AS SHOWN // //DON'T EDIT THIS UNLESS YOU KNOW WHAT YOU ARE DOING!// //MOST COMMON FILE TYPES ARE ALREADY INCLUDED// switch($lcext) { case ($lcext == swf): $commonname=flash; $ct = Content-type: application/x-shockwave-flash; break; case ($lcext == wmv): $commonname=wmv; $ct = Content-type: video/x-ms-wmv; break; case ($lcext == mov): $commonname=quicktime movie; $ct = Content-type: video/quicktime; break; case ($lcext == avi): $commonname=avi video; $ct = Content-type: video/avi; break; case ($lcext == rar): $commonname=winrar; $ct = Content-type: application/octet-stream; break; case ($lcext == zip): $commonname=zip; $ct = Content-type: application/octet-stream; break; case ($lcext == bmp): $commonname=bitmap; $ct = Content-type: image/bmp; break; case ($lcext == gif): $commonname=gif; $ct = Content-type: image/gif; break; case ($lcext == jpeg || $lcext == jpg || $lcext == jpe): $commonname=jpeg; $ct = Content-type: image/jpeg; break; case ($lcext == mpeg || $lcext == mpg || $lcext == mpe): $commonname=mpeg; $ct = Content-type: video/mpeg; break; case ($lcext == png): $commonname=png; $ct = Content-type: image/png; break; //END// default: $commonname=Generic Filetype; $ct = Content-type: application/octet-stream; if($logging 0){ $status = Generic_Filetype; include('logit.php'); } } $handle = fopen($webaddress.$wantedfilename, rb); header(Cache-Control: ); //keeps ie happy header(Pragma: ); //keeps ie happy header($ct); //content type as set above from explode(); if(!stristr($lcext, swf)){//flash plays, it isnt downloaded as an actual file. header(Content-Disposition: attachment; filename=\.$wantedfilename.\); } header(Content-Length: .filesize($path.$wantedfilename)); fpassthru($handle); if($logging 0){ $status = Granted; include('logit.php'); } exit; } else { if($logging
Re: [PHP] Hi. I need your help here
Here are a couple of links that will help you:- http://uk2.php.net/trim http://www.catb.org/~esr/faqs/smart-questions.html Alan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi
Hi guys and girls, I have question for you all. I have developed a flash application which is a test for students. For each test their is an accompanying excel spreadsheet that has information related to each question they have answered and whether they got it right or wrong. I am receiving whether the student got the question right or wrong in PHP from FLASH. That part is complete. The other part I have complete is PHP emailing the teacher with an attached excel spreadsheet renamed to the studentsname_results.xlsthe last part I want to complete is that of the students results being inputted into the correct column in the spreadsheet and then being attached to the email. I am guessing I would be best to not attach a physical file that resides on the server but build the data up inside PHP to resemble the file format I am trying to generate and attach that to my email. Two questions. Can someone tell me the best format to be sending (i.e. the format that has the best support for PHP) and also is this method dependent on the web server being windows or linux based. I am no expert but from what I can gather I take it that COM object support is really just for windows based web servers. Thanks and all the best, Nathan
Re: [PHP] Hi
2007. 04. 23, hétfő keltezéssel 22.09-kor Nathan Wallis ezt írta: Hi guys and girls, I have question for you all. I have developed a flash application which is a test for students. For each test their is an accompanying excel spreadsheet that has information related to each question they have answered and whether they got it right or wrong. I am receiving whether the student got the question right or wrong in PHP from FLASH. That part is complete. The other part I have complete is PHP emailing the teacher with an attached excel spreadsheet renamed to the studentsname_results.xlsthe last part I want to complete is that of the students results being inputted into the correct column in the spreadsheet and then being attached to the email. I am guessing I would be best to not attach a physical file that resides on the server but build the data up inside PHP to resemble the file format I am trying to generate and attach that to my email. Two questions. Can someone tell me the best format to be sending (i.e. the format that has the best support for PHP) and also is this method dependent on the web server being windows or linux based. I am no expert but from what I can gather I take it that COM object support is really just for windows based web servers. yes, COM is only for windows. I would use csv if you don't need fancy formatting and stuff like that, just the data itself. csv can be built very easily as it is a simple text file basically. greets Zoltán Németh Thanks and all the best, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
You can cheat... If you have MySQL running on that server, write the results to a DB (so that lost emails/files/scores can be recovered) and then do a data pull from it at the end, making the file a csv file. Or, just make your file a csv file and email it out... There are a number of classes out there that will do this for you given DB connection/table information. But I prefer the DB record when talking grades and such, but to each their own. Wolf Nathan Wallis wrote: Hi guys and girls, I have question for you all. I have developed a flash application which is a test for students. For each test their is an accompanying excel spreadsheet that has information related to each question they have answered and whether they got it right or wrong. I am receiving whether the student got the question right or wrong in PHP from FLASH. That part is complete. The other part I have complete is PHP emailing the teacher with an attached excel spreadsheet renamed to the studentsname_results.xlsthe last part I want to complete is that of the students results being inputted into the correct column in the spreadsheet and then being attached to the email. I am guessing I would be best to not attach a physical file that resides on the server but build the data up inside PHP to resemble the file format I am trying to generate and attach that to my email. Two questions. Can someone tell me the best format to be sending (i.e. the format that has the best support for PHP) and also is this method dependent on the web server being windows or linux based. I am no expert but from what I can gather I take it that COM object support is really just for windows based web servers. Thanks and all the best, Nathan -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi
On Monday 23 April 2007 15:09, Nathan Wallis wrote: Hi guys and girls, I have question for you all. I have developed a flash application which is a test for students. For each test their is an accompanying excel spreadsheet that has information related to each question they have answered and whether they got it right or wrong. I am receiving whether the student got the question right or wrong in PHP from FLASH. That part is complete. The other part I have complete is PHP emailing the teacher with an attached excel spreadsheet renamed to the studentsname_results.xlsthe last part I want to complete is that of the students results being inputted into the correct column in the spreadsheet and then being attached to the email. I am guessing I would be best to not attach a physical file that resides on the server but build the data up inside PHP to resemble the file format I am trying to generate and attach that to my email. Two questions. Can someone tell me the best format to be sending (i.e. the format that has the best support for PHP) and also is this method dependent on the web server being windows or linux based. I am no expert but from what I can gather I take it that COM object support is really just for windows based web servers. Thanks and all the best, Nathan Hi, Very long time ago, I had same situation. My Solution was. Generate an excel in excell file with nececary Excel format. Save as html. Keep XML document structure, generate a php file someting like ?php $strReturn = your excell file content in html format; ? find locations of data, add some .$value1., .$value2. etc in that locations with proper escape... create php script which calculate everting and generate $value1, $value2 etc variables then include that excel-php file... then send $strReturn or echo. Regards Sancar -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi!
Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP MySQL all 3 on same server but different volumes. I created the file named hello.php by copying and pasting the following text to notepad and put it in my web server root directory I:\HTDocs: Example 2-1. Our first PHP script: hello.phphtml: head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html When I am accessing the site with IE browser at the http://www.kalmanovitz.co.il/hello.php URL address I can see a blank page. The other pages are shown correctly. Any Idea how to fix it and continue with the tutorial? TIA Nanu
Re: [PHP] Hi!
Hi there! View source-code of output. Maybe that could give you a clue! :-) /G http://www.varupiraten.se/ - Original Message - From: Nanu Kalmanovitz [EMAIL PROTECTED] To: php-general@lists.php.net Sent: Tuesday, December 20, 2005 8:10 PM Subject: [PHP] Hi! Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP MySQL all 3 on same server but different volumes. I created the file named hello.php by copying and pasting the following text to notepad and put it in my web server root directory I:\HTDocs: Example 2-1. Our first PHP script: hello.phphtml: head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html When I am accessing the site with IE browser at the http://www.kalmanovitz.co.il/hello.php URL address I can see a blank page. The other pages are shown correctly. Any Idea how to fix it and continue with the tutorial? TIA Nanu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: בעניין: Re: [PHP] Hi!
On 12/20/05, Nanu Kalmanovitz [EMAIL PROTECTED] wrote: Thanks! Since I am a newbie with the Apache \ PHP \ MySQL, can u tell me what file and what shall I add\change in it? TIA Nanu Google for install php netware Try: http://developer.novell.com/ndk/whitepapers/namp.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi!
It does't look like PHP is setup in Apache. You should have a line that looks something like this; And some others that look like this; AddType application/x-httpd-php .php AddType application/x-httpd-php .inc AddType application/x-httpd-php-source .phps Check out your apache config file. -Erin Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP MySQL all 3 on same server but different volumes. I created the file named hello.php by copying and pasting the following text to notepad and put it in my web server root directory I:\HTDocs: Example 2-1. Our first PHP script: hello.phphtml: head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html When I am accessing the site with IE browser at the http://www.kalmanovitz.co.il/hello.php URL address I can see a blank page. The other pages are shown correctly. Any Idea how to fix it and continue with the tutorial? TIA Nanu -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi!
Nanu Kalmanovitz wrote: Hi! Using a Win 2000 WS (work station), I'm trying to write the first PHP page as shown at http://il2.php.net/manual/en/tutorial.firstpage.php. The server is a Netware (Novell) 6.5 running Apache, PHP MySQL all 3 on same server but different volumes. I created the file named hello.php by copying and pasting the following text to notepad and put it in my web server root directory I:\HTDocs: Example 2-1. Our first PHP script: hello.phphtml: head titlePHP Test/title /head body ?php echo 'pHello World/p'; ? /body /html When I am accessing the site with IE browser at the http://www.kalmanovitz.co.il/hello.php URL address I can see a blank page. The other pages are shown correctly. Any Idea how to fix it and continue with the tutorial? You need to tell Apache how to handle PHP pages. In your httpd.conf add this line : AddType application/x-httpd-php .php See here in the manual for further explanation : http://us2.php.net/manual/en/install.windows.apache1.php -- John C. Nichel IV Programmer/System Admin (ÜberGeek) Dot Com Holdings of Buffalo 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hi everyone
Quiet? you GOTTA be kidding me, i got like 400 PHP email's here, I don't have to time to read em all On 12/1/05, Mehmet Fatih AKBULUT [EMAIL PROTECTED] wrote: hi. me is registered but till now have had no crucial questions to ask :p but soon will need professional help on php ldap functions :) then will ask for help from you masters :p Regards. Bye for now. -- Hi Everyone, I am running PHP 5 on Windosws XP SP2 with MySQL5, Bye Now!
Re: [PHP] hi everyone
hi. me is registered but till now have had no crucial questions to ask :p but soon will need professional help on php ldap functions :) then will ask for help from you masters :p Regards. Bye for now.
[PHP] hi everyone
Why this list very quiet?. No one in this list. Please feel free to reply to this email if you have additional questions or concerns ชวน จุดาบุตร 01-7499093 ติดต่อลงโฆษณา อพาร์ทเมนท์, แมนชั่น, หอพัก โทร. 01-749-9093, 02-938-8301 http://www.EasyHorpak.com - แหล่งค้นหาหอพัก, คอนโด, ที่พัก, อพาร์ทเมนท์ http://www.EasyHorpak.com/webdesign - บริการดูแลและออกแบบเว็บไซต์ http://www.EasyHorpak.com/internet - แหล่งรวมผู้ให้บริการติดตั้งอินเตอร์เน็ตในอพาร์ทเมนท์ http://www.EasyHorpak.com/software - แหล่งรวมโปรแกรมสำหรับอพาร์ทเมนท์ http://www.EasyHorpak.com/move - แหล่งรวมผู้ให้บริการขนย้าย http://www.EasyHorpak.com/coin - แหล่งรวมผู้ให้บริการตู้หยอดเหรียญ
[PHP] hi
Your message was not delivered due to the following reason(s): Your message could not be delivered because the destination computer was unreachable within the allowed queue period. The amount of time a message is queued before it is returned depends on local configura- tion parameters. Most likely there is a network problem that prevented delivery, but it is also possible that the computer is turned off, or does not have a mail system running right now. Your message could not be delivered within 6 days: Host 48.89.66.249 is not responding. The following recipients did not receive this message: php-general@lists.php.net Please reply to [EMAIL PROTECTED] if you feel this message to be in error. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
Dear user php-general@lists.php.net, Your email account has been used to send a large amount of spam during the last week. Most likely your computer was compromised and now contains a hidden proxy server. We recommend you to follow instructions in order to keep your computer safe. Best regards, lists.php.net user support team. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
--- Jochem Maas [EMAIL PROTECTED] wrote: i have mailed the list 235 times since 12-1-05 Nice trick. :-) I'd put my money on Richard Lynch for all categories: 1. total number of posts 2. highest average no. of posts/week 3. longest post 4. total no. of words written 5. highest average no. of words/post Richard certainly contributes a lot, and I think he's in the top 10 (Curt Zirzow actually compiled these statistics a while back), but no one comes close to John Holmes. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly HTTP Developer's Handbook - Sams Coming Soon http://httphandbook.org/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Chris Shiflett wrote: --- Jochem Maas [EMAIL PROTECTED] wrote: 1. total number of posts 2. highest average no. of posts/week 3. longest post 4. total no. of words written 5. highest average no. of words/post Richard certainly contributes a lot, and I think he's in the top 10 (Curt Zirzow actually compiled these statistics a while back), but no one comes close to John Holmes. With any luck Mr. Holmes record is going to get smashed by a small, cute looking little parrot. 0:) Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly HTTP Developer's Handbook - Sams Coming Soon http://httphandbook.org/ -- Teach a man to fish... NEW? | http://www.catb.org/~esr/faqs/smart-questions.html STFA | http://marc.theaimsgroup.com/?l=php-generalw=2 STFM | http://php.net/manual/en/index.php STFW | http://www.google.com/search?q=php LAZY | http://mycroft.mozdev.org/download.html?name=PHPsubmitform=Find+search+plugins signature.asc Description: OpenPGP digital signature
Re: [PHP] Hi ALL
Chris Shiflett wrote: --- Jochem Maas [EMAIL PROTECTED] wrote: i have mailed the list 235 times since 12-1-05 Nice trick. :-) I'd put my money on Richard Lynch for all categories: 1. total number of posts 2. highest average no. of posts/week 3. longest post 4. total no. of words written 5. highest average no. of words/post Richard certainly contributes a lot, and I think he's in the top 10 (Curt Zirzow actually compiled these statistics a while back), but no one comes close to John Holmes. There used to be a page on Zend.com that had a break-down summary of posts per email. Actually, in a couple cases, he merged emails when it was clearly the same person posting from different addresses. I think Stas wrote it, as I recall. I can't find it now, though :-( Rasmus Lerdorf was the clear winner at that time. [shrug] But, hey, I was gone for a long time, and who knows what tomorrow will bring. To a large degree, the number of posts isn't really the best measure anyway -- I mean, I'm sure we all have our own opinions on who's the best and who's full of it, and I doubt that sheer number of posts is the first ruler we use for that... :-) -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Chris Shiflett wrote: --- Jochem Maas [EMAIL PROTECTED] wrote: i have mailed the list 235 times since 12-1-05 snip Richard certainly contributes a lot, and I think he's in the top 10 (Curt Zirzow actually compiled these statistics a while back), but no one comes close to John Holmes. Chris = Chris Shiflett - http://shiflett.org/ PHP Security - O'Reilly HTTP Developer's Handbook - Sams Coming Soon http://httphandbook.org/ Yeah, not so long ago, when the stats were mailed to the list monthly, I was averaging 65-70 posts a month, and John would always be more than double that. I think he just liked to hear himself talk. ;) -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi ALL
John Nichel mailto:[EMAIL PROTECTED] on Friday, February 25, 2005 9:43 AM said: Yeah, not so long ago, when the stats were mailed to the list monthly, I was averaging 65-70 posts a month, and John would always be more than double that. I think he just liked to hear himself talk. ;) You mean he writes all his emails with voice recognition?! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Rory Browne wrote: How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. heh Rory, is this aimed at me or did you just reply to my mail for convienience? I happen to know the NEWBIE GUIDE quiet intimately (n'est pas Jay? :-) Then read this: http://www.catb.org/~esr/faqs/smart-questions.html Then try learning PHP from the PHP manual. If you come across a problem, then explain the problem, AND WHAT STEPS YOU HAVE TAKEN TO SOLVE THE PROBLEM YOURSELF BEFORE POSTING TO THE LIST. Give a little back. After you've learn't a little, and you see someone me again. well i have mailed the list 235 times since 12-1-05 (as far as my local mail folders go atm) - granted not all are useful/valid answers, - compared to your 7 posts. I feel that I have satisfied the 'little' in 'give a little back' even if you don't :-). anyway its not a pissing content, besides if it was I'd put my money on Richard Lynch for all categories: 1. total number of posts 2. highest average no. of posts/week 3. longest post 4. total no. of words written 5. highest average no. of words/post :-) else posting a question that you know the answer to an feel you can explain well, then hit your email clients reply button. If you want to fit in, and you want to be taken seriously, and most importantly if you want to learn, then consider the above points. again is this aimed at me? no biggy but really I don't want to fit in all that bad quote person=Groucho Marx I wouldn't join any club that would have me as a member ;-) /quote ... On Tue, 22 Feb 2005 23:21:48 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Bret Hughes wrote: On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. right now? not in five minutes. I was kidding! i want all u r guidence to utilise this group... thanks in advance dhanas Dhanas, do you have php installed ? Dhana is very welcome to answer this question, and maybe give some background as to his/her general skill level **give us more input Dhana and maybe we can point you in the right direction** so come on Dhana - talk to us, tell us what your capable of and what you would like to accomplish (be specific and start out small if your a 'virgin programmer' ;-) can you access http://php.net ? the best place to start reading/learning I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginners tutorial, and start coding. I suspect the learning curve shape depends on whether you have any previous programming experience or not. hey! I was looking forward to being utilized. ;-) my hope is that Dhana is not so stupid that he assumes that my bit of humor was directly meant to make fun of his command of the english language. I can find Dhanas use of words funny without requiring that I also must mock him... besides the fact that I made the joke might be useful feedback to Dhana with regard to bettering his English - Im sure he/she wishes to be able to communicate as effectively as possible. going back to your point about 'If you want to fit in': we are in the lower echelons of hackerdom (for want of a better description). Fitting in entails acting like a hacker.which means be f** resourceful, read, study, test, experiment, don't _expect_ to be spoonfed knowledge/answers (heh you may get lucky once in a while and get a visit from the BlueFairy but don't count on it). we that was my daily dose of prescribed stress relief :-) Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Jocham: Uh??? First of all, no that was not intended at you. Dhanasekar asked a question, and I answered it. I don't think the rest of your message/attack is particularly relevent, with the above taken into account. I simply saw a question that I knew the answer to, and answered it as best I could. It wasn't meant to talk down, or state obvious, but rather to mention things, that people generally don't think of, or in the case of the newbie guide/smart-question guide, just don't know. If you are going to judge my 'giving a little back' then try to get your facts straight. I think my 'giving back' greatly outweighs my 'taking' from this and any other tech forum that I've ever used. I'll provide you with a sample if necessary. On Wed, 23 Feb 2005 12:35:29 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Rory Browne wrote: How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. heh Rory, is this aimed at me or did you just reply to my mail for convienience? I happen to know the NEWBIE GUIDE quiet intimately (n'est pas Jay? :-) Then read this: http://www.catb.org/~esr/faqs/smart-questions.html Then try learning PHP from the PHP manual. If you come across a problem, then explain the problem, AND WHAT STEPS YOU HAVE TAKEN TO SOLVE THE PROBLEM YOURSELF BEFORE POSTING TO THE LIST. Give a little back. After you've learn't a little, and you see someone me again. well i have mailed the list 235 times since 12-1-05 (as far as my local mail folders go atm) - granted not all are useful/valid answers, - compared to your 7 posts. I feel that I have satisfied the 'little' in 'give a little back' even if you don't :-). anyway its not a pissing content, besides if it was I'd put my money on Richard Lynch for all categories: 1. total number of posts 2. highest average no. of posts/week 3. longest post 4. total no. of words written 5. highest average no. of words/post :-) else posting a question that you know the answer to an feel you can explain well, then hit your email clients reply button. If you want to fit in, and you want to be taken seriously, and most importantly if you want to learn, then consider the above points. again is this aimed at me? no biggy but really I don't want to fit in all that bad quote person=Groucho Marx I wouldn't join any club that would have me as a member ;-) /quote ... On Tue, 22 Feb 2005 23:21:48 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Bret Hughes wrote: On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. right now? not in five minutes. I was kidding! i want all u r guidence to utilise this group... thanks in advance dhanas Dhanas, do you have php installed ? Dhana is very welcome to answer this question, and maybe give some background as to his/her general skill level **give us more input Dhana and maybe we can point you in the right direction** so come on Dhana - talk to us, tell us what your capable of and what you would like to accomplish (be specific and start out small if your a 'virgin programmer' ;-) can you access http://php.net ? the best place to start reading/learning I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginners tutorial, and start coding. I suspect the learning curve shape depends on whether you have any previous programming experience or not. hey! I was looking forward to being utilized. ;-) my hope is that Dhana is not so stupid that he assumes that my bit of humor was directly meant to make fun of his command of the english language. I can find Dhanas use of words funny without requiring that I also must mock him... besides the fact that I made the joke might be useful feedback to Dhana with regard to bettering his English - Im sure he/she wishes to be able to communicate as effectively as possible. going back to your point about 'If you want to fit in': we are in the lower echelons of hackerdom (for want of a better description). Fitting in entails acting like a hacker.which means be f** resourceful, read, study, test, experiment, don't _expect_ to be spoonfed knowledge/answers (heh you may get lucky once in a while and get a visit from the BlueFairy but don't count on it). we that was my daily dose of prescribed stress relief :-) Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Rory Browne wrote: Jocham: Uh??? First of all, no that was not intended at you. Dhanasekar asked a question, and I answered it. I don't think the rest of your message/attack is particularly relevent, with the above taken into no attack meant - please tell the russians its a false alarm :-) I wasn't sure who you were talking to I asked because you actually replied to my post not to the OP. account. I simply saw a question that I knew the answer to, and answered it as best I could. It wasn't meant to talk down, or state obvious, but rather to mention things, that people generally don't think of, or in the case of the newbie guide/smart-question guide, just don't know. which is actually quite difficult IMHO :-) If you are going to judge my 'giving a little back' then try to get your facts straight. I think my 'giving back' greatly outweighs my 'taking' from this and any other tech forum that I've ever used. I'll provide you with a sample if necessary. wasn't judging, sorry if that caught you the wrong way - I thought that maybe the 'joke' about Richard winning the pissing content made that clear... nevermind, water under the bridge etc lets hope Dhana comes back with something we can get our teeth into :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Sorry didn't mean to accuse you of attacking. Just had a more hectic day than usual, and maybe lost it a bit. Anyway, this is rapidly getting off topic, so.. On Wed, 23 Feb 2005 16:52:25 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Rory Browne wrote: Jocham: Uh??? First of all, no that was not intended at you. Dhanasekar asked a question, and I answered it. I don't think the rest of your message/attack is particularly relevent, with the above taken into no attack meant - please tell the russians its a false alarm :-) I wasn't sure who you were talking to I asked because you actually replied to my post not to the OP. account. I simply saw a question that I knew the answer to, and answered it as best I could. It wasn't meant to talk down, or state obvious, but rather to mention things, that people generally don't think of, or in the case of the newbie guide/smart-question guide, just don't know. which is actually quite difficult IMHO :-) If you are going to judge my 'giving a little back' then try to get your facts straight. I think my 'giving back' greatly outweighs my 'taking' from this and any other tech forum that I've ever used. I'll provide you with a sample if necessary. wasn't judging, sorry if that caught you the wrong way - I thought that maybe the 'joke' about Richard winning the pissing content made that clear... nevermind, water under the bridge etc lets hope Dhana comes back with something we can get our teeth into :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi ALL
hi all, i m new to this group ...now i want to learn php. i want all u r guidence to utilise this group... thanks in advance dhanas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. i want all u r guidence to utilise this group... thanks in advance dhanas I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginners tutorial, and start coding. I suspect the learning curve shape depends on whether you have any previous programming experience or not. Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
Bret Hughes wrote: On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. right now? not in five minutes. i want all u r guidence to utilise this group... thanks in advance dhanas Dhanas, do you have php installed ? can you access http://php.net ? the best place to start reading/learning I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginners tutorial, and start coding. I suspect the learning curve shape depends on whether you have any previous programming experience or not. hey! I was looking forward to being utilized. ;-) Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi ALL
How to use this list best: Search the archives at lists.php.net for [NEWBIE GUIDE] It was written by Jay Blanchard earlier this year I believe. Read it. Then read this: http://www.catb.org/~esr/faqs/smart-questions.html Then try learning PHP from the PHP manual. If you come across a problem, then explain the problem, AND WHAT STEPS YOU HAVE TAKEN TO SOLVE THE PROBLEM YOURSELF BEFORE POSTING TO THE LIST. Give a little back. After you've learn't a little, and you see someone else posting a question that you know the answer to an feel you can explain well, then hit your email clients reply button. If you want to fit in, and you want to be taken seriously, and most importantly if you want to learn, then consider the above points. On Tue, 22 Feb 2005 23:21:48 +0100, Jochem Maas [EMAIL PROTECTED] wrote: Bret Hughes wrote: On Tue, 2005-02-22 at 05:27, Dhanasekar T wrote: hi all, i m new to this group ...now i want to learn php. right now? not in five minutes. i want all u r guidence to utilise this group... thanks in advance dhanas Dhanas, do you have php installed ? can you access http://php.net ? the best place to start reading/learning I would start by looking at and dare I say reading the manual at php.net. Then surf around for a beginners tutorial, and start coding. I suspect the learning curve shape depends on whether you have any previous programming experience or not. hey! I was looking forward to being utilized. ;-) Bret -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi friends Plz give suggestion ..
hi dear developers, We developed a module in (php_home/ext/) with name daffodildb , This module will provide connectivity to DaffodilDB (A Pure Java RDBMS) . But I don't know , what is procedure to include a new module in php source(php cvs ) , so it will available free to developers with php source. Can anybody suggest me. Reagards, Manoj Kr. Sheoran Software Engg. SCO-42 ,3rd Floor OJC, Civil Lines Gurgoan (HARYANA) INDIA mailto: [EMAIL PROTECTED] www.daffodildb.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hi all can you read me ?
Can read you now(). Hi all just wanna check if you can read me Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi all can you read me ?
Hi all just wanna check if you can read me Thx
Re: [PHP] hi all can you read me ?
I'm not quite sure, do you have something written on you? On Mon, 21 Jun 2004 01:51:51 +0200, Pierre [EMAIL PROTECTED] wrote: Hi all just wanna check if you can read me Thx -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hi all can you read me ?
Pierre wrote --- napísal:: Hi all just wanna check if you can read me Thx http://www.amazon.com/exec/obidos/tg/detail/-/0064432521/qid=1087779137 Well, I feel a little old to read you :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] hi all can you read me ?
That's just to funny! On Mon, 21 Jun 2004 02:55:58 +0200, Marek Kilimajer [EMAIL PROTECTED] wrote: Pierre wrote --- napísal:: Hi all just wanna check if you can read me Thx http://www.amazon.com/exec/obidos/tg/detail/-/0064432521/qid=1087779137 Well, I feel a little old to read you :-) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- Michael Lauzon, Founder The Quill Society http://www.quillsociety.org/ [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
Here is it! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi All
Hi All, I am reading one XML which has some german characters. I am sending this data to PHP script but when try to echo ;it prints some other character. eg. XML has für but output is coming like für ; My script is like following: ?php $loc = UTF-8; putenv(LANG=$loc); setlocale (LC_ALL, 'de_DE'); echo br.$producttext[2]; ? in XML file : producttext has value like für ; regards.. Shishir Kumar Mishra Agni Software (P) Ltd. www.agnisoft.com
Re: [PHP] Hi
the poker game is actually really weak anyway... a pair of 6's shouldn't win anything... - Original Message - From: Rausch Alexandru [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 9:42 AM Subject: [PHP] Hi MYSQL problems problems. I want to install an user login aplicationa on my site, but it is intarely in FLASH. ( www.poker.club66.ro ). What do u think? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi All
This is a test message
[PHP] Hi All
I eant to install a user system on my website. the site it is enterily in flash. What to u recomand : first to make a login areea with php and start a sesion and after that to load flash movie and to test if there is an valid user on my website. You can see what i am talking about at http://www.poker.club66.ro Thanks
[PHP] Hi
MYSQL problems problems. I want to install an user login aplicationa on my site, but it is intarely in FLASH. ( www.poker.club66.ro ). What do u think?
Re: [PHP] Hi
Quit spamming us. We don't want to visit your lousy poker site. ---John Holmes... - Original Message - From: Rausch Alexandru [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 22, 2003 4:42 AM Subject: [PHP] Hi MYSQL problems problems. I want to install an user login aplicationa on my site, but it is intarely in FLASH. ( www.poker.club66.ro ). What do u think? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
Hi there, My name is Dave, and no ya don't know me, but I wanna tell ya about something. I'll admit I got your info off a website somewhere while searching around for addys on Yahoo, but this isn't spam, and i'm not adding you to any sort of list. This email is between *me* and *you* and if you reply, you will get a real person on the other end :-) The site that I saw yer addy on, and I can't really recall where I saw it, it had something to do with message forums and online conversation, and I am also into message forums also. I don't like the flame forums tho with all the idiots just swearing like they have nothing better to do. I like the ones that are fun, friendly, and the people actually have something intelligent to say. Well, anywayz, I run a message forum network called Xpresit Net, and am trying to premote it. We don't sell anything, and I actually run the network from my DSL line at home. The site is on an OC3, but the actual mail exchange takes place from the hub on my DSL line. This is a network in light of the fact that we not only offer it to regular people, but we also offer it to websites to have for their visitors. It's a free speech network, we just don't allow flaming, because I feel that any opinion can be said without attacking someone. We have 62 servers so far, and we have telnet, web, nntp (Newsgroup), and email list access to post in the network. Since this network is privately run, there is absolutely no spam, and the way it is setup, spammers can't get to it. You can't spam via a bot on the website, with telnet its impossible to spam, and with email and nntp, if anyone actually manages to send out a spam message, their account will be blocked and removed. I setup this network 10 years ago, starting on my 14.4 modem, if you can beleive that :-) Well anyways, if you are a webmaster who wants the network on your site, or if your just a regular person looking for a friendly place to chat with some nice people, then please visit http://www.xpresit.net If you have any questions, please feel free to reply. If your not interested, I'm really really sorry to have bothered you, and you can just delete this email. Well anywayz, thats about all i have to say about that. I hope you'll join us. But if not thats ok too. Have a good one, and thanks again. Dave
[PHP] Hi All i need help..
Hi All I want to install PHP under Suse 8.2. How can I do it? Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi All i need help..
On Jul 2, 2003, Beogradjanin claimed that: |Hi All I want to install PHP under Suse 8.2. How can I do it? | | | |Thanks Unless you have a custom install, probably the easiest way is to install the rpms through YaST. -- Registered Linux user #304026. lynx -source http://jharris.rallycentral.us/jharris.asc | gpg --import Key fingerprint = 52FC 20BD 025A 8C13 5FC6 68C6 9CF9 46C2 B089 0FED Responses to this message should conform to RFC 1855. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi I get some problems while using eregi_replace
Try these : A function that parses a string and replaces http://whatever with a link, and email addresses with a mailto link. This function was designed for the motd package. But will work freely on its own. http://examples.weberdev.com/get_example.php3?count=1235 How to change all of the links in a string to be HTML links. http://examples.weberdev.com/get_example.php3?count=1567 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: winst0n [mailto:[EMAIL PROTECTED] Sent: Monday, June 09, 2003 5:23 AM To: php Subject: [PHP] Hi I get some problems while using eregi_replace Hi, so first of all, I'm sorry for my bad english. I'll try to write as better as I can, but I think it will be readable ;) So, this is 3 code unsing eregi_replace, but they dont work as well... If some one can give me a help, it's will be great. Many thx ! / code / /* transform [color=FF]colored text[/color] to font color=FFcolored text/font */ $message = eregi_replace ([color=(.*)](.*)[/color],font color='\\1'\\2/font,$message); /* transform [url=xxx]link![/url] to a href=xxxlink!/a */ $message = eregi_replace ([url=(.*)](.*)[/url],A HREF=\\\1\ TARGET=\blank\\\2/A,$message); /* transform [b]big text[/b] to bbig text/b */ $message = eregi_replace (.*([b]).*([/b]).*,\\1b\\2/b\\3,$message); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi I get some problems while using eregi_replace
Hi, so first of all, I'm sorry for my bad english. I'll try to write as better as I can, but I think it will be readable ;) So, this is 3 code unsing eregi_replace, but they dont work as well... If some one can give me a help, it's will be great. Many thx ! / code / /* transform [color=FF]colored text[/color] to font color=FFcolored text/font */ $message = eregi_replace ([color=(.*)](.*)[/color],font color='\\1'\\2/font,$message); /* transform [url=xxx]link![/url] to a href=xxxlink!/a */ $message = eregi_replace ([url=(.*)](.*)[/url],A HREF=\\\1\ TARGET=\blank\\\2/A,$message); /* transform [b]big text[/b] to bbig text/b */ $message = eregi_replace (.*([b]).*([/b]).*,\\1b\\2/b\\3,$message); -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi I get some problems while using eregi_replace
hi,php-generalwinst0n I'm from china,my English is not very good,too. Here's some example,perhaps it will help you a little. $post =str_replace([b],b,$post); $post =str_replace([/b],/b,$post); $post = eregi_replace(\\[hr=([^\\[]*)\\],hr width=\\1 align=left,$post); $post=eregi_replace(\\[swf\\](.+\.swf)\\[/swf\\],PARAM NAME=PLAY VALUE=TRUEPARAM NAME=LOOP VALUE=TRUEPARAM NAME=QUALITY VALUE=HIGHembed src=\\\1\ quality=high pluginspage=\http://www.macromedia.com/shockwave/download/indexcgi?P1_Prod_Version=ShockwaveFlash\; type=\application/x-shockwave-flash\ width=\580\ height=\400\/embed a href=\\\1\ target=_blanknbsp /a,$post); poetbox [EMAIL PROTECTED] 2003-06-09 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
hi jason, my file is opening perfectly fine now. thanks. take care, diksha. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi!!
Hi ALL! I'm new on PHP (just a few mounths) and i'm learning , my problem is that i dont have good projects to do., can someone tell me where can i enroll in a good proyect o someone to help.. Thank you so much. Tomas Lopez _ MSN. Más Útil Cada Día http://www.msn.es/intmap/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi!!
--- Tomas Lopez [EMAIL PROTECTED] wrote: can someone tell me where can i enroll in a good proyect o someone to help.. I would recommend finding an open source project to contribute to. You can find many projects that are currently seeking help here: http://sourceforge.net/people/ Chris -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
test -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi all!
Testing post! -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
unsubscribe
Re: [PHP] hi
Err, that's not going to unsubscribe you mate... Follow the directions at the bottom of the email. - Original Message - From: Bjorn Abt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, June 12, 2002 12:07 AM Subject: [PHP] hi unsubscribe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi all Help :D
I have sorted the problem, thanks for all the support Adam Voigt [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Try reversing the filelocations in your ftp_put, like if you have remotelocation and mylocation, switch them to say mylocation then remotelocation. Just a thought. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-05-30 at 22:26, Anthony wrote: Hi all, this is my first post on the php news groups, and im sure it wont be my last so I will first introduce my self, because im sure there are some regualar posters ;) My name is Anthony.. Im 14 years old and live in england, anything else you want to know ask :) Im working on a FTP uploader in php, but not for my own site, I want to offer it was a service to so over people can upload to there sites using my FTP script... but when you put the destonation (once they have connected) to / it trys to upload to a path in my site.. can any one explain why this is and how to correct it, It would be aprechiated a lot, thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi all Help :D
Hi all, this is my first post on the php news groups, and im sure it wont be my last so I will first introduce my self, because im sure there are some regualar posters ;) My name is Anthony.. Im 14 years old and live in england, anything else you want to know ask :) Im working on a FTP uploader in php, but not for my own site, I want to offer it was a service to so over people can upload to there sites using my FTP script... but when you put the destonation (once they have connected) to / it trys to upload to a path in my site.. can any one explain why this is and how to correct it, It would be aprechiated a lot, thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi all Help :D
hehI laugh but it's not past the realm of what people do... JHFor all we know, the problem is because you actually wrote the program in Pascal, but thought it was PHP because you renamed your computer to PHP and you are trying to load the code up in MS Word on Windows 3.11. ed At 02:47 PM 5/30/2002 -0400, 1LT John W. Holmes wrote: Two things you should learn: 1. Use a informative Subject. Give a description of the problem instead of Hi and Help... 2. We can't help you if you don't give us code and error messages. For all we know, the problem is because you actually wrote the program in Pascal, but thought it was PHP because you renamed your computer to PHP and you are trying to load the code up in MS Word on Windows 3.11. ---John Holmes... Anthony [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hi all, this is my first post on the php news groups, and im sure it wont be my last so I will first introduce my self, because im sure there are some regualar posters ;) My name is Anthony.. Im 14 years old and live in england, anything else you want to know ask :) Im working on a FTP uploader in php, but not for my own site, I want to offer it was a service to so over people can upload to there sites using my FTP script... but when you put the destonation (once they have connected) to / it trys to upload to a path in my site.. can any one explain why this is and how to correct it, It would be aprechiated a lot, thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi all Help :D
Try reversing the filelocations in your ftp_put, like if you have remotelocation and mylocation, switch them to say mylocation then remotelocation. Just a thought. Adam Voigt [EMAIL PROTECTED] On Thu, 2002-05-30 at 22:26, Anthony wrote: Hi all, this is my first post on the php news groups, and im sure it wont be my last so I will first introduce my self, because im sure there are some regualar posters ;) My name is Anthony.. Im 14 years old and live in england, anything else you want to know ask :) Im working on a FTP uploader in php, but not for my own site, I want to offer it was a service to so over people can upload to there sites using my FTP script... but when you put the destonation (once they have connected) to / it trys to upload to a path in my site.. can any one explain why this is and how to correct it, It would be aprechiated a lot, thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] hi
unsubscribe -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi to you anti-spammers HAHA
Happy Happy Easter. and to all you peeps out there who don't celebrate this day. Hope you enjoyed your day. And just too keep the cool How do i run that script that give all the information about php ? Someone told me the you type PHPINFO(); but it sometimes doesn't work Cheerz Spammer Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi to you anti-spammers HAHA
? echo phpinfo(); ? On Mon, 1 Apr 2002, vins wrote: Happy Happy Easter. and to all you peeps out there who don't celebrate this day. Hope you enjoyed your day. And just too keep the cool How do i run that script that give all the information about php ? Someone told me the you type PHPINFO(); but it sometimes doesn't work Cheerz Spammer Vins -- -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi to you anti-spammers HAHA
Phpinfo(); works all the time, unless you went ahead and reprogrammed php yourself :) Hello to AFRIKA from SOVIETS! CCCP rules! -Original Message- From: vins [mailto:[EMAIL PROTECTED]] Sent: 1 êâ³òíÿ 2002 ð. 15:43 To: [EMAIL PROTECTED] Subject: [PHP] Hi to you anti-spammers HAHA Happy Happy Easter. and to all you peeps out there who don't celebrate this day. Hope you enjoyed your day. And just too keep the cool How do i run that script that give all the information about php ? Someone told me the you type PHPINFO(); but it sometimes doesn't work Cheerz Spammer Vins -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi!
Hi all! I'm quite new to PHP so I have two questions: How is possible to click on an image and run a php function? Also how is possible to pass some php vars to javascript vars? Makis Thessaloniki Greece -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi!
How is possible to click on an image and run a php function? A href=./thescript.phpIMG src=image.jpg/A Also how is possible to pass some php vars to javascript vars? Can't do it directly. JavaScript is client-side. PHP is server-side. As you execute a PHP script, it will create the values for the JavaScript source that PHP is creating. -Original Message- From: savaidis [mailto:[EMAIL PROTECTED]] Sent: Friday, March 22, 2002 1:44 PM To: [EMAIL PROTECTED] Subject: [PHP] Hi! Hi all! I'm quite new to PHP so I have two questions: How is possible to click on an image and run a php function? Also how is possible to pass some php vars to javascript vars? Makis Thessaloniki Greece -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi! Is there any equivalent function with header?
Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. How to see the php error log? And how to display an error messages in php? Thanks and Regards -Balaji **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi! Is there any equivalent function with header?
On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi! Is there any equivalent function with header?
Thanks for the reply!!! I want equivalent statement to header (Location: http://www.domain.com/user.php;); Because I am getting the problem saying php.exe has generated errors and will be closed by windows. You need to restart the program. An error log is being created And no error is logged in error log. Thanks in advance Balaji -Original Message- From: Jason Wong [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 7:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Hi! Is there any equivalent function with header? On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi! Is there any equivalent function with header?
I wouldn't say you NEED a full url, it should handle relative URL's as well. I don't know if it's part of the specification, but it will work. As far as your problem I hope that line break isn't in the string and it's just there because of the email. -Joe Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]... On Tuesday 19 March 2002 22:20, Balaji Ankem wrote: Hi friend, Is there any equivalent statement to header (Location: user.php); Because I am getting problem with that line in fresh browser context. The correct usage is: header (Location: http://www.domain.com/user.php;); ie you need the full URL. How to see the php error log? And how to display an error messages in php? Read the chapter on Error Handling -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A man without a woman is like a statue without pigeons. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi what is the prob with this small file?
Hi friend, I am getting null values (0) for the following program. what will be the problem? Any help greatly appreciable!! example.php === ?php // Connect to MySQL $connection = mysql_connect( 'localhost', 'balaji', 'pingpong' ); // Select database on MySQL server mysql_select_db( 'amerm' ) or die ( 'Unable to select database.'.mysql_error()); // Formulate the queries $sql1=select UNIX_TIMESTAMP('start_date') startdate,UNIX_TIMESTAMP('end_date') enddate from request where req_status='Approved'; $result1=mysql_query($sql1) or die ('Error in sql1'.mysql_error()); $n=mysql_numrows($result1); echo 'number of rows:'.$n; while($row=mysql_fetch_object($result1)) { echo 'starttime'.$row-startdate.'endtime'.$row-enddate; } mysql_close($connection); ? = I am getting values printed is 0. Actually UNIX_TIMESTAMP(2001:03:21 10:45:00) means what? What it returns? Thanks in advance Balaji **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
Hi, UNIX_TIMESTAMP(2002-03-21 08:30:00) and mktime(2002,03,21,08,30,00) equal or not? But both are same timestamp..but returning values are different.y? Unixtimestamp from Mysql :1016679600 Unixtimestamp from PHP :953699601 y this much difference? Any help would be appreciable. Thanks in advance Balaji **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
Unixtimestamp from Mysql :1016679600 Unixtimestamp from PHP :953699601 y this much difference? A PHP timestamp is the number of seconds since 1st Jan 1970 A MySQL UNIX_TIMESTAMP is the date in MMDDHHMMSS format. Cheers Jon -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi what is the prob with this small file?
On Thursday 14 March 2002 17:38, Balaji Ankem wrote: [snip] $sql1=select UNIX_TIMESTAMP('start_date') startdate,UNIX_TIMESTAMP('end_date') enddate from request where req_status='Approved'; Did you try entering this query ($sql1) into mysql at the command line to ensure that it's valid and returns some results? I am getting values printed is 0. Actually UNIX_TIMESTAMP(2001:03:21 10:45:00) means what? What it returns? UNIX_TIMESTAMP returns the number of seconds between the unix epoch (1970-01-01 00:00:00) and the date. -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* A certain amount of opposition is a help, not a hindrance. Kites rise against the wind, not with it. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
UNIX_TIMESTAMP(2002-03-21 08:30:00) and mktime(2002,03,21,08,30,00) equal or not? Careful, 08 != 8 A leading 0 indicates an octal number in PHP. Also, you have the arguments to mktime() completely messed up. It is hour, minute, second, month, day, year. 2002 is a strange-looking hour. -Rasmus -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
On Thursday 14 March 2002 18:03, Balaji Ankem wrote: Hi, UNIX_TIMESTAMP(2002-03-21 08:30:00) and mktime(2002,03,21,08,30,00) equal or not? But both are same timestamp..but returning values are different.y? Unixtimestamp from Mysql :1016679600 Unixtimestamp from PHP :953699601 y this much difference? The arguments you're giving to mktime are in the wrong order. mktime (hour, minute, second, month, day, year [, is_dst]); -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* 186,282 miles per second: It isn't just a good idea, it's the law! */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
On Thursday 14 March 2002 18:11, Jon Haworth wrote: Unixtimestamp from Mysql :1016679600 Unixtimestamp from PHP :953699601 y this much difference? A PHP timestamp is the number of seconds since 1st Jan 1970 To be pedantic, in PHP it is time() A MySQL UNIX_TIMESTAMP is the date in MMDDHHMMSS format. Not correct. In MySQL UNIX_TIMESTAMP also returns the number of seconds since the unix epoch. Thus: php -- time(); mysql -- select UNIX_TIMESTAMP(); should both return the same value; -- Jason Wong - Gremlins Associates - www.gremlins.com.hk /* In the next world, you're on your own. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi some logical help is required!!!
**Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Hi some logic help is required!!!!!
Hi friend, I need some help on this logic... 1. I have some range (A to B) which is fixed and A,B are very large numbers.(AB) 2. I have X to Y and I want to check this range should not match with A to B. How can I check this? Ex: 1) A=4 B=8 Totally 4 cases will come!! X=2 Y=5 X=5 Y=6 X=2 Y=9 X=6 Y=9 In all the above cases that logic should return false. How can I solve this?? Don't use for loop!(Because those are very large numbers (chrores)) And logic should be simple and cute! Cheers Balaji **Disclaimer Information contained in this E-MAIL being proprietary to Wipro Limited is 'privileged' and 'confidential' and intended for use only by the individual or entity to which it is addressed. You are notified that any use, copying or dissemination of the information contained in the E-MAIL in any manner whatsoever is strictly prohibited. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi some logic help is required!!!!!
-Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 14 March 2002 11:51 Hi friend, I need some help on this logic... 1. I have some range (A to B) which is fixed and A,B are very large numbers.(AB) 2. I have X to Y and I want to check this range should not match with A to B. How can I check this? If I understand you correctly, this should do it: if (($X$A $Y$A) || ($X$B $Y$B)): // range X-Y is totally outside range A-B else: // range X-Y overlaps A-B partially or totally endif; Cheers! Mike - Mike Ford, Electronic Information Services Adviser, Learning Support Services, Learning Information Services, JG125, James Graham Building, Leeds Metropolitan University, Beckett Park, LEEDS, LS6 3QS, United Kingdom Email: [EMAIL PROTECTED] Tel: +44 113 283 2600 extn 4730 Fax: +44 113 283 3211 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi some logic help is required!!!!!
First of all, take that 'I want to know when you received my e-mail' -thingie away. It's anoying. But to the solution: if ((x A || x B) (y A || x B)) { do something.. } Niklas -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 14. maaliskuuta 2002 13:51 To: Php-General Subject: [PHP] Hi some logic help is required! Hi friend, I need some help on this logic... 1. I have some range (A to B) which is fixed and A,B are very large numbers.(AB) 2. I have X to Y and I want to check this range should not match with A to B. How can I check this? Ex: 1) A=4 B=8 Totally 4 cases will come!! X=2 Y=5 X=5 Y=6 X=2 Y=9 X=6 Y=9 In all the above cases that logic should return false. How can I solve this?? Don't use for loop!(Because those are very large numbers (chrores)) And logic should be simple and cute! Cheers Balaji -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
RE: [PHP] Hi some logic help is required!!!!!
Last X should be Y. Niklas -Original Message- From: Niklas Lampén [mailto:[EMAIL PROTECTED]] Sent: 14. maaliskuuta 2002 14:05 To: Php-General Subject: RE: [PHP] Hi some logic help is required! First of all, take that 'I want to know when you received my e-mail' -thingie away. It's anoying. But to the solution: if ((x A || x B) (y A || x B)) { do something.. } Niklas -Original Message- From: Balaji Ankem [mailto:[EMAIL PROTECTED]] Sent: 14. maaliskuuta 2002 13:51 To: Php-General Subject: [PHP] Hi some logic help is required! Hi friend, I need some help on this logic... 1. I have some range (A to B) which is fixed and A,B are very large numbers.(AB) 2. I have X to Y and I want to check this range should not match with A to B. How can I check this? Ex: 1) A=4 B=8 Totally 4 cases will come!! X=2 Y=5 X=5 Y=6 X=2 Y=9 X=6 Y=9 In all the above cases that logic should return false. How can I solve this?? Don't use for loop!(Because those are very large numbers (chrores)) And logic should be simple and cute! Cheers Balaji -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php