Re: [PHP] How to make sure that the target file to read is not under writing by others?
Nitebirdz wrote: On Wed, Aug 19, 2009 at 11:59:39AM +0100, Ashley Sheridan wrote: No, what you're saying is 'use a log file in order to know when to look at another log file'. What would happen if you tried to access the control log file whilst it was in the process of being written to? Admittedly, you reduce your chances of failure because there is less data being written to the control log than the actual log, but the chance of reading incomplete data is still there! WARNING: total newbie here. If I understood Arno correctly, he was recommending to implement something like the old /var/run/*pid files in UNIX. That way, you can control whether or not the previous run is already done with the file before you move on. That is definitely the correct approach. Have the script which copies the log file touch a file called 'log_file.write' or some such. When it's done, remove the file. Your PHP script should exit if that file exists. Of course, given the 30 minute cron cycle, it would then have to wait until the next cycle. Maybe run it more often.
Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.
Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the CLI behaviour reported is not a bug? An explicit manual reference will do. Btw, I brought it up here already: http://marc.info/?l=php-generalm=124487699630514w=2 /Per I don't mean to be rude, but I have never heard of or used these functions and never written a multi-lingual PHP site. I RTFM'd and found this: http://us.php.net/manual/en/function.setlocale.php Then I read the first sentence defining the second parameter, which states: If /locale/ is *NULL* or the empty string //, the locale names will be set from the values of environment variables with the same names as the above categories, or from LANG. Pretty straight-forward.
Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.
Per Jessen wrote: Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the CLI behaviour reported is not a bug? An explicit manual reference will do. Btw, I brought it up here already: http://marc.info/?l=php-generalm=124487699630514w=2 /Per I don't mean to be rude, but I have never heard of or used these functions and never written a multi-lingual PHP site. I RTFM'd and found this: http://us.php.net/manual/en/function.setlocale.php Then I read the first sentence defining the second parameter, which states: If /locale/ is *NULL* or the empty string //, the locale names will be set from the values of environment variables with the same names as the above categories, or from LANG. Pretty straight-forward. Did you bother reading the bug report? The PHP CLI ignores the locale setting from the environment such as set by setting LC_ALL. Your quoting from the manual does not change that. Now, if you can find a place in the manual that says the CLI will ignore whatever locale settings are set in the environment, we can talk again. /Per I don't think your aggressive attitude to the situation is helping anyone here. The manual *explicitly* states that using setlocale(LC_xyz,'') will use the environment variable setting for that LC_xyz option. This *implies* that, by default, those environment variables are not used. Perhaps it should use the environment variables, instead? At any rate, it's not a bug, since someone(s) did it that way on purpose. You could file a feature request.
Re: [PHP] This is the kind of [expletives deleted] answer that is certain to prevent bugs being reported.
Jim Lucas wrote: Kyle Smith wrote: Per Jessen wrote: Kyle Smith wrote: Per Jessen wrote: See http://bugs.php.net/?id=48612 Thank you for taking the time to write to us, but this is not a bug. And RTFM. (RTFM is my interpretation of the rest). And that only took a little more than a month. Thanks very much. Can anyone here tell me why the CLI behaviour reported is not a bug? An explicit manual reference will do. Btw, I brought it up here already: http://marc.info/?l=php-generalm=124487699630514w=2 /Per I don't mean to be rude, but I have never heard of or used these functions and never written a multi-lingual PHP site. I RTFM'd and found this: http://us.php.net/manual/en/function.setlocale.php Then I read the first sentence defining the second parameter, which states: If /locale/ is *NULL* or the empty string //, the locale names will be set from the values of environment variables with the same names as the above categories, or from LANG. Pretty straight-forward. Did you bother reading the bug report? The PHP CLI ignores the locale setting from the environment such as set by setting LC_ALL. Your quoting from the manual does not change that. Now, if you can find a place in the manual that says the CLI will ignore whatever locale settings are set in the environment, we can talk again. /Per I don't think your aggressive attitude to the situation is helping anyone here. The manual *explicitly* states that using setlocale(LC_xyz,'') will use the environment variable setting for that LC_xyz option. This *implies* that, by default, those environment variables are not used. Perhaps it should use the environment variables, instead? At any rate, it's not a bug, since someone(s) did it that way on purpose. You could file a feature request. Sorry, just want to point out a difference, that I see, in the code examples. Not trying to start anything here... So, what does the example you provide have to do with the ops code example in the bug report? OPS example code from bug report LC_ALL=de_DE.utf8 php -r print strftime('%B'); your example setlocale(LC_xyz,'') I don't see him using the above function in his example. From what I can tell, the op is trying to set the locale /AT/ the cli, not from within the script. I guess my first debugging question would be: Can you successfully set other LC_xyz categories, besides the LC_ALL, in the same manor that your example shows? If it works with the others (LC_COLLATE, LC_CTYPE, etc...) then I /would/ call this a bug. Unless it has been explicitly stated somewhere that the op has not found that This works with all but the LC_ALL category. Just my 2 bits worth. Jim Lucas I agree entirely, Jim. Would be a good test. My guess is that they all behave the same way, based on how the setlocale() documentation reads. - Kyle
Re: [PHP] PHP as Language
Martin Scotta wrote: Hi all Is there a formal definition for the php language? Where I can found it? I've STW with no results. Not sure if this is what you mean, but PHP stands for PHP: Hypertext Processor - Kyle
Re: [PHP] How to build an FF extension
Ashley Sheridan wrote: On Thu, 2009-07-23 at 14:39 +0100, Luke wrote: 2009/7/23 Ashley Sheridan a...@ashleysheridan.co.uk On Wed, 2009-07-22 at 23:49 -0400, Paul M Foster wrote: On Wed, Jul 22, 2009 at 08:31:10PM -0700, Javed Khan wrote: How to build an FF extension and how to install it. I'm using Fedora 10 operating system. Can someone please provide me with the steps Thanks J.K Let me substitute for Dan here. You're asking this on a PHP list, which isn't the appropriate venue for such a question. Firefox/Mozilla lists would be a better place to ask. Paul -- Paul M. Foster I'm not sure those lists could help him either, as the abbreviation for Firefox is Fx, not FF. Thanks Ash www.ashleysheridan.co.uk -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php Only officially: http://en.wikipedia.org/wiki/FFhttp://en.wikipedia.org/wiki/FF Wikipedia can hardly be accounted an official source of anything, especially considering how it gets the content! If you want official, then http://www.mozilla.com/en-US/firefox/releases/1.5.html is a good link. Thanks Ash www.ashleysheridan.co.uk +5 Useless Conversation What's FF then? What is he trying to build an extension for? http://www.acronymfinder.com/FF.html Says he wants to build an extension for Firefox, or Final Fantasy. Does Final Fantasy support PHP?
Re: [PHP] How to build an FF extension
Robert Cummings wrote: Ashley Sheridan wrote: Wikipedia can hardly be accounted an official source of anything, especially considering how it gets the content! If you want official, then http://www.mozilla.com/en-US/firefox/releases/1.5.html is a good link. Wikipedia is the official source of Wikipedia information *mehehe* FWIW, I, and most of the people I know, write FF in emails. I didn't know Fx is supposed to be the official acronym. I think most people would think WTH if you wrote Fx. Cheers, Rob. Rob, in fact, I would think WTF if you wrote Fx, I may even check my periodic table. Then again, I tend to think in obscene acronyms. - Kyle
Re: [PHP] Undefined Index ...confusion
Miller, Terion wrote: I keep getting this error while trying to use the field 'ID' to pass in a url.. And it's odd because the query is pulling everything BUT the ID which is the first field... code: a href=view.php?ID=?php echo $_SESSION['fullRestaurantList']['ID']??php echo htmlspecialchars(stripslashes($_SESSION['fullRestaurantList'][$i]['name'])); ? We're going to need to know how the $_SESSION['fullRestaurantList'] gets populated. Also, where do you define $i? Is $i the ID? Seemed like you've built an array of arrays and you may want $_SESSION['fullRestaurantList'][$i]['ID'], or just $i. This is all speculation from the 2 lines of code I've seen though. - Kyle
Re: [PHP] Undefined Index ...confusion
Miller, Terion wrote: On 7/23/09 9:24 AM, Kyle Smith kyle.sm...@inforonics.com wrote: Miller, Terion wrote: I keep getting this error while trying to use the field 'ID' to pass in a url.. And it's odd because the query is pulling everything BUT the ID which is the first field... code: a href=view.php?ID=?php echo $_SESSION['fullRestaurantList']['ID']??php echo htmlspecialchars(stripslashes($_SESSION['fullRestaurantList'][$i]['name'])); ? We're going to need to know how the $_SESSION['fullRestaurantList'] gets populated. Also, where do you define $i? Is $i the ID? Seemed like you've built an array of arrays and you may want $_SESSION['fullRestaurantList'][$i]['ID'], or just $i. This is all speculation from the 2 lines of code I've seen though. - Kyle The full script is (I have my Entourage email settings on html so I hope this displays ok for you all---seems I've been told it turns into a mess in some views) : It sure did turn into a big mess. Could you try using a pastebin service? You should do this as a general best-practice anyway. Long email threads tend to turn people off to helping you. Go here: http://pastebin.ca/ Paste your code and select PHP for Syntax Highlighting, then click submit. You'll be given a short URL to share with the thread that will bring us to an easy-to-read version of your code. - Kyle
[Fwd: Re: [PHP] Undefined Index ...confusion]
Sorry, list, I did a reply instead of a reply-to-all. This is what I sent to Miller, Terion Miller, Terion wrote: Thanks for the link Kyle!! Great thing there...(seriously I didn't know...I learn something everyday) Anyways the link to my script is: http://pastebin.ca/1504393 Your email client is annoying, it doesn't quote. Haha. Anyway, so, you're loading up that array with arrays of arrays, here: 1. $position = 1; 2. 3. while ($row = mysql_fetch_array http://www.php.net/mysql_fetch_array($result)) 4. { 5. $_SESSION['fullRestaurantList'][$position] = $row; 6. $position++; 7. } 8. 9. $_SESSION['totalNumberOfRestaurants'] = $position; So, if you get 7 rows. Your array will have: Array = (Row 1 Data) Array = (Row 2 Data) .. etc You do not have ['fullRestaurantList']['ID']. In the page you're referencing you use something like $_SESSION['fullRestaurantList'][$i]['SomeValue']. I assume $i is the Position in the array, so you likely want to use $_SESSION['fullRestaurantList'][$i]['ID'] to get the ID field from that row. If you need a quick dump to better understand what data you have in your session, try making a page called session_dump.php in the same directory with this source: pre? print_r($_SESSION) ?/pre That will give you a good idea of what your session array looks like, and you should see clearly that ['fullRestaurantList']['ID'] does not exist. Hope this helps! - Kyle
Re: [PHP] Invalid Argument why?
Miller, Terion wrote: Why is this an invalid argument? foreach(($row['inType']) as $inType){ echo $inType,'br';} I am trying to output results from a data base that may have multiple results for the same name So trying to use an array and foreach that is the right track ...right? Looks like you meant to do something like this: // Always better to be plural when you have an array. $rows = whatever_your_rows_come_from(); foreach($rows as $row) { $inType = $row['inType']; echo $inType . 'br /'; } HTH, Kyle
Re: [PHP] Programming Question
David Stoltz wrote: Hi Folks, I'm a PHP newbie - but this question really isn't about PHP per se', it's more about programming in general, and how to do something... I'm redesigning an ASP site with Dreamweaver CS4, so I'll be sticking to using ASP technology The site will use horizontal navigation for the MAIN MENU which will be static, but each page therein will have a vertical sub menu, probably with 2-3 levels deep - which will need to be dynamic. I'm trying to figure out a good way to organize and maintain the submenus. I need each page to know where it is so the breadcrumb trail can be accurate and dynamic. The page/menu will also need to know how to display the correct submenu/level.hopefully this all can be dynamic I also want to avoid query string parameters, such as page.asp?menu=1submenu=3 type stuff. My current thought is to use URL rewriting and a database - but I'm not sure if this is the best route Does anyone have any suggestions? HELP! Thanks At a very basic level I think a database is overkill. I would write some sort of include for the top most menu, that includes a function to generate the sub menus and a breadcrumb trail. This is psuedo-code, but here's the idea: // Include top menu and some functions. include('menu-lib.php'); // Build sub-menu, using my location. echo build_sub_menu('Contact', 'Sales quot; Marketing'); This way you can maintain all the menu/breadcrumb/etc in one file, and have the information you need in each page to generate it. HTH, - Kyle
Re: [PHP] try - catch is not so clear to me...
Lamp Lists wrote: hi to all! actually, the statement in the Subject line is not 100% correct. I understand the purpose and how it works (at least I think I understand :-)) but to me it's so complicated way? let's take a look in example from php.net(http://us3.php.net/try) ?php function inverse($x) { if (!$x) { throw new Exception('Division by zero.'); } else return 1/$x; } try { echo inverse(5) . \n; echo inverse(0) . \n; } catch (Exception $e) { echo 'Caught exception: ', $e-getMessage(), \n; } // Continue execution echo 'Hello World'; ? I would do the same thing, I think, less complicated: ?php function inverse($x) { if (!$x) { echo 'Division by zero'; } else return 1/$x; } echo inverse(5); echo inverse(0); // Continue execution echo 'Hello world'; ? I know this is too simple, maybe not the best example, but can somebody please explain the purpose of try/catch? Thanks. -LL Your example kind of defeats the point. The point of a try {} block is that it will attempt to execute code and execute catch on a true failure. Your function already is protected against failure. Consider this $x = 0; try { $y = 4 / $x; // This will divide by zero, not good. } catch (Exception $e) { echo Error: $e } More importantly, the try/catch should be in your function, not around the invocations of your function: function inverse($x) { try { return $x/0; } catch(Exception $e) { return false; } } Consider this also, simply echoing an error on divide by Zero might not be great if your function is called, say, before headers. Throwing exceptions can be re-caught by executing code, which can easily avoid pre-header output. Does that clear up the purpose a bit? I'm no expert, but that's my understanding. HTH, Kyle
Re: [PHP] [php] scheduled task in php
There's no need for third party software, windows has a scheduled task system. Make a scheduled task and for the application select the php executable (Maybe C:\PHP\bin\php.exe, or some such.). Once the wizard is complete select the checkbox that says Open the task when I click Finish. Now place the full path of your script after the executable in the field provided so it looks something like: C:\PHP\php.exe C:\Documents and Settings\Kyle\My Documents\scripts\MyCronPHPScript.php HTH, Kyle *Kyle Smith* UNIX/Linux Systems Administrator Inforonics, LLC Jan G.B. wrote: Or even with CRONw if via window is an indicator for the evil OS. http://cronw.sourceforge.net/ (I personally didn't test this software) bye 2009/4/2 Michel OLIVIER michel.oliv...@mc2i.fr: hi, with a cron and wget? 2009/4/2 Andrew Williams andrew4willi...@gmail.com: All, Please how can you run a timed php script file via window scheduled task. or how can u execute a php script on a a time interval for instance every 4minutes -- Best Wishes Andrew Williams -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] and and weird results
PJ wrote: I hope somebody can make sense of this. First, I don't understand what the difference is supposed to be between and - is there a difference for php and/or mysql? Second, I am trying to select all occurrences in a table.column where the first letter of the name is I, J, or K but not I or J or K; I want the all. Now, entering the following is no problem for any one letter: SELECT * FROM book WHERE id IN (SELECT bookID FROM book_author WHERE authID IN (SELECT author.id FROM author WHERE LEFT(last_name, 1 ) = '$Auth' )); But the following does not work: SELECT * FROM book WHERE id IN (SELECT bookID FROM book_author WHERE authID IN (SELECT author.id FROM author WHERE LEFT(last_name, 1 ) = '$Auth' LEFT(last_name, 1 ) = '$Auth1' LEFT(last_name, 1 ) = '$Auth2')); Yet this gives off the wall results where the last names are nowhere near what they should be. Anyone have a rational explanation? I wasn't aware that was an option in MySQL, I've always used AND. If there is a difference it's probably the same as in PHP and many other languages. Allow me to explain. In the case of the left-side expression is evaluated for true and if not true, the right side expression is not evaluated. In the case of both sides are evaluated regardless of the value of either side. Here's an example: $a = 1; $b = 2; $result = ($a == 2) $b++; // In this case, $a does not equal two and therefor the left-side is false, thus the right-side is never evaluated. $b remains 2. $result = ($a == 2) $b++; // In this case, $a still does not equal two and therefor the left-side is still false, however because we use the '' operator the right side is evaluated anyway and $b now equals 3. echo $result; // In both cases, $result is false. HTH, Kyle -- *Kyle Smith* UNIX/Linux Systems Administrator Inforonics, LLC
Re: [PHP] and and weird results
Kyle Smith wrote: PJ wrote: I hope somebody can make sense of this. First, I don't understand what the difference is supposed to be between and - is there a difference for php and/or mysql? Second, I am trying to select all occurrences in a table.column where the first letter of the name is I, J, or K but not I or J or K; I want the all. Now, entering the following is no problem for any one letter: SELECT * FROM book WHERE id IN (SELECT bookID FROM book_author WHERE authID IN (SELECT author.id FROM author WHERE LEFT(last_name, 1 ) = '$Auth' )); But the following does not work: SELECT * FROM book WHERE id IN (SELECT bookID FROM book_author WHERE authID IN (SELECT author.id FROM author WHERE LEFT(last_name, 1 ) = '$Auth' LEFT(last_name, 1 ) = '$Auth1' LEFT(last_name, 1 ) = '$Auth2')); Yet this gives off the wall results where the last names are nowhere near what they should be. Anyone have a rational explanation? I wasn't aware that was an option in MySQL, I've always used AND. If there is a difference it's probably the same as in PHP and many other languages. Allow me to explain. In the case of the left-side expression is evaluated for true and if not true, the right side expression is not evaluated. In the case of both sides are evaluated regardless of the value of either side. Here's an example: $a = 1; $b = 2; $result = ($a == 2) $b++; // In this case, $a does not equal two and therefor the left-side is false, thus the right-side is never evaluated. $b remains 2. $result = ($a == 2) $b++; // In this case, $a still does not equal two and therefor the left-side is still false, however because we use the '' operator the right side is evaluated anyway and $b now equals 3. echo $result; // In both cases, $result is false. HTH, Kyle Oops, my first paragraph is backwards. I'm sure that was confusing! My example is the correct logic for and , and the paragraph before that is exactly wrong. -- *Kyle Smith* UNIX/Linux Systems Administrator Inforonics, LLC
[PHP] Databases?
Can someone please give me the simplest tutorial to databases they can find?
[PHP] Include inside a function?
Is it possible to use include inside the mail function? eg mail(include(blah.txt)) ??? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Include inside a function?
Is it possible to use include inside the mail function? eg mail(include(blah.txt)) ??? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Quick mail function help.... please!!!
please someone please! ive been through the manual and i dont know anywhere else to look so someone please gimme a kick in the right direction? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 16, 2001 9:09 PM Subject: [PHP] Quick mail function help please!!! Can someone please show me how to change the reply address in the mail function (and the from address) cause i have a script im making for a mailing list and the script in the manual doesnt work cause it has loads of different code aswell :( -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Quick mail function help.... please!!!
Can someone please show me how to change the reply address in the mail function (and the from address) cause i have a script im making for a mailing list and the script in the manual doesnt work cause it has loads of different code aswell :( -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Please please please help!
In php is there any way to write to the end of a line in a text document so i can set out email addresses as a list on 1 line and the ; can be on the second... is this possible or has anyone a better way of doing this? any and all help would be appreciated (please send or cc messages to my address because im now going to watch a film... forgot what its called something about taking peoples brains out durning the night and replacing them with others!) Thank you! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] I am making a mailing list but....
I really need help on this one, so someone please! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, September 12, 2001 8:53 PM Subject: [PHP] I am making a mailing list but . how do i make php add something to a text document on the smae line cause i need the text document to look like this [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]; so well, how do i get it to add on to line 1 and would i need it to make the ; go on the last line cause php cat delete things in txt documents? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Mail function....
Can someone please just run me through the different sections of the mail function please cause i understand you can change the from address etc aswell -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] I am making a mailing list but....
. how do i make php add something to a text document on the smae line cause i need the text document to look like this [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]; so well, how do i get it to add on to line 1 and would i need it to make the ; go on the last line cause php cat delete things in txt documents? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Grafiti board...
Ok im making grafiti board but i need to know a few things (you dont need to reply to this one) a) how do i make php write to the top of a text document? b) how do i make a table with a scroll bar in? c) are you mad at me for doing this post? d) does anyone know the code for changing the scroll bar colour? Sorry that half of these aint PHP question, but remember you dont need to answer but any help would be.. helpful! Thanks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Just had a cool idea!
I was thinking, you know how they have those millionth customer things in shops, course ya do Well, i have a simple counter on my site and i was wondering if i could do the same thing, like everytime you go on there if the counter is a multiple of 500 you get to have your site as a pop up for a week or so, well is this possible and if yes, can anybody give me some pointer?!!? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Just had a cool idea!
NO!! im saying when the counter gets to 500, 1000, 1500 etc it redirects you to a page which you type in your information and you get a pop up on my site for the week! Kapesh? Be happy! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, September 09, 2001 12:01 PM Subject: Re: [PHP] Just had a cool idea! right... i didnt understand a word of that, anyway could you answer the question please? Uhm.. You don't understand it?? Then.. oh well.. never mind. If you've got a counter which adds 1 for each visit just make it add 50 or 100 or as many as you like. Lots of counters in the world.. I'll bet you're going to find plenty of them at www.hotscripts.com Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] mySQL wont connect
Well it wont! i get the error message Warning: MySQL Connection Failed: Access denied for user: 'test@P500' (Using password: YES) in C:\apache\htdocs\php+mysql\connect.php on line 2 Could not connect When using ?php $link = mysql_connect (P500.MSHOME.NET, test, pass) or die (Could not connect); print (Connected successfully); ? Please tell me its omething really simple please! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Wierd for thingy, help!
Ok sorry for not looking into this one but is it possible for 1 page to have a variable (not input) and then post it to another page and in an input variable (text box) it will have the variable from the first page as its value. not im confused! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Re: Wierd for thingy, help!
would that work without a submit button? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: _lallous [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 04, 2001 4:43 AM Subject: [PHP] Re: Wierd for thingy, help! page1.htm html body onload=document.forms[0].submit(); form action=page2.php method=post input type=hidden value=kyle name=who /form /body /html page2.php ? echo Hello $who!\n; ? Kyle Smith [EMAIL PROTECTED] wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Ok sorry for not looking into this one but is it possible for 1 page to have a variable (not input) and then post it to another page and in an input variable (text box) it will have the variable from the first page as its value. not im confused! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Another script doesnt work!
And this time its not because of a dot, someone please help! Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/dannys/sendform.php on line 22 line 22 is $message = blah!! ?php $addresses = [EMAIL PROTECTED]; $subject = Cam Application; $line = \r\n $message = $name. $line. $email. $line. $bestbritish. $line. $bestcharacterinbrit. $line. $bestyank. $line. $bestcharacterinyank. $line. $bestsketch. $line. $bestanimation. $line. $bestcomedyfilm. $line. $bestfilmchar. $line. $bestquiz. $line. $worstsitcom. $line. $comments; ? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] I dont see whats wrong!
i get this error message Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53 for $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; i honestly dont see whats wrong! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] I dont see whats wrong!
haha, it works, thanks 1 single dot can screw up a script phew! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kunal Jhunjhunwala [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, September 03, 2001 7:00 AM Subject: Re: [PHP] I dont see whats wrong! There is a dot at the end which is wrong : $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; ^ see this?? it should be like this : $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote; Regards, Kunal Jhunjhunwala - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, September 04, 2001 3:20 AM Subject: [PHP] I dont see whats wrong! i get this error message Parse error: parse error in /web/sites/197/lk6/www.stupeedstudios.f2s.com/sendcam.php on line 53 for $message = $alias. \r\n.$name. \r\n. $email. \r\n. $site. \r\n. $cam. \r\n. $quote.; i honestly dont see whats wrong! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Quick TXT document stuff
Ok im like in a realy hurry here, so can someone please tell me (or show) how i make a script read the first (top) 1 or 5 lines from a text document? Thanks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Quick TXT document stuff
ok i have this code to do whats below, but its not working ?php $fp = fopen(meh.txt,r); for($i=0;$i2;$i++) { print $fp[$i]; } ? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 30, 2001 1:15 PM Subject: [PHP] Quick TXT document stuff Ok im like in a realy hurry here, so can someone please tell me (or show) how i make a script read the first (top) 1 or 5 lines from a text document? Thanks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Im back, oh and....
... could someone give me the name of the best PHP learning book they have read cause I just scored £110! (yes, it was my birthday on august 16th and im now a whole 14 so i can have my first urine test!) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Sorry, i need HTML help
Sorry to post here but i need to know this info fast! How do i make a scrolling marquee in HTML without using javascript Thanks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Im back, oh and....
thanks and you age discrimination sucks! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 5:13 AM Subject: Re: [PHP] Im back, oh and ... could someone give me the name of the best PHP learning book they have read cause I just scored £110! PHP 4 bible (IDG books), MySQL (NewRiders), several books from Wrox.. read the archive several books are mentioned there. (yes, it was my birthday on august 16th and im now a whole 14 so i can have my first urine test!) So you're 14.. does you mom know you're here :-) Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Sorry, i need HTML help
Not sure but ive changed my mind on my site design and no-longer need it! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, August 29, 2001 7:51 AM Subject: Re: [PHP] Re: Sorry, i need HTML help Yeah, but isn't marquee the ancient Aztec word for tar and feather me, I'm a tastless HTML author who is mesmerised by blinking lights and horizonally scrolling text beyond my control?? Someething like that. - Tim ;) On Wed, 2001-08-29 at 11:35, Gary wrote: marquee/marquee will only work in Internet Explorier. If you want a marquee to work in all browsers you will have to use DHTML. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Sorry to send this out again but
If you have a link with Stupeed Studios read on You need to go to http://www.stupeedstudios.f2s.com/index.html to get your link back up (click on one of the empty spaces!) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] WAHOO!!!
at the moment in the quote bank we have the following Random quote by lk6 - Lifes a bitch, then you die Random quote by Wizaerd (from True Romance) - Live fast, die young, and leave a good looking corpse... Random quote by anon - No matter where you might be; there you are Random quote by futurebird - You will go down in history as a great man. Random quote by bad haxxor - bBold text/b a href=http://futurebird.diaryland.comand a link to my site/a what a little haxx0r! Random quote by evil haxxor - Click on the little birdie: a href=http://futurebird.diaryland.comIMG SRC=http://futurebird.diaryland.com/images/lilbird.jpg/abrbrihmmm wonder if I can uses php?/i?php echo test; ? Random quote by Milo - REAL PROGRAMMERS don't comment their code. If it was hard to write, it should be hard to understand. -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Kyle Smith [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, August 12, 2001 9:02 PM Subject: [PHP] WAHOO!!! My first WORKING SCRIPT!!! http://www.stupeedstudios.f2s.com/index.php -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Peace and quiet
i know this is out of tpic but i thought it would be a reason for you to celebrate, im going on holiday or vacation see ya in 2 weeks... BYE!! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] RANDOM MOVIE?
Could somebody please show me, send me an example or redirect me to a page which shows how to show a random FLASH movie from a text file which contains different names of different movies so that when i go on the page it shows lets say, 1 of the 5 movies in the text document. Finally and almost hard question (probably not for you but for me AGGH) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] RANDOM
Could somebody please show me, send me an example or redirect me to a page which shows how to show a random FLASH movie from a text file which contains different names of different movies so that when i go on the page it shows lets say, 1 of the 5 movies in the text document. Finally and almost hard question (probably not for you but for me AGGH) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Spot the difference?
ok, umm... you got that in pence cause im english just kiddin so what resources did you use to learn php? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 1:18 PM Subject: RE: [PHP] Spot the difference? Hokay, my 2p... I'm a (former) ASP programmer who just made the leap from ASP to PHP about 2 weeks ago. A week ago I got my entire web-portal recoded to use PHP, a move that experience tells me can't be done as quickly and easily with ASP. All religious arguments aside, one must admit that (1) PHP is well documented and VBScript isn't (period); (2) PHP has many more USEFUL functions built-in that are already debugged and working; (3) the examples one finds on php.net, phpbuilder.net, or any other knowledge base actually WORK and are usually pretty clear; (4) there is absolutely no question that PHP's notion of security is truly secure, 100% in diametric opposition to IIS/ASP. I've tested that to destruction and am confident enough in it to release PHP as an alternative language for my web-hosting customers. I cannot repose the same confidence in ASP--even less confidence when Front Page extensions are wrapped around it. Note that I have never released ASP as an alternative language for my customers and given its documentation and security shortcomings, it's not likely to happen. Mind, I've used ASP for several years and am (unfortunately) intimately familiar with its shortcomings. Many of the string-manipulation functions inherent in PHP must be provided by third parties (like Vantage Point PowerStrings http://www.vpsoft.com) in order to do some tricky URL or input-cleaning routines. I challenge anyone to use M$'s mail objects with the same degree of security and reliability. Try and find real docs on VBScript -- there aren't any with any substance. M$'s site is useless as are the examples they give (which, by the way, NEVER work as demonstrated). M$ should be taking notes from php.net on how to present and maintain documentation. Now, if a paying customer insists that I do work for them using ASP, of course that's what I'll use. But I strongly advise against it now, given the points above. With only a couple of weeks of PHP under my belt, I'm still confident enough in the language itself and the documentation around it that I will be able to do any web job that comes along. I might have to have the manual at my side a bit longer, but as time goes on I find I refer to it less and less. All in all, a very natural succession of events. Guess that was more than two cents...keep the change :-) Bill -Original Message- From: Matthew Loff [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 4:00 PM To: [EMAIL PROTECTED] Subject: RE: [PHP] Spot the difference? I much prefer PHP, obviously... But posting to a PHP list isn't going to get you a very objective answer. I find PHP more versatile and easy to use, but an ASP programmer may tell you the same thing about ASP. Also-- try looking stuff up for yourself sometimes... I realize you're new to PHP, but at last count, you've sent 46 e-mails to this list in the past 10 days... 99% of your questions could be answered by going to the PHP manual, www.phpbuilder.net, or any of the FAQs that have been posted to this list in the past few days. -Original Message- From: Kyle Smith [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 02, 2001 8:42 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Spot the difference? Well which is easier to program? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: scott [gts] [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 8:45 AM Subject: RE: [PHP] Spot the difference? ASP is basically like PHP, only it uses a VB-based language instead of perl/c-based one. which means it sucks - vb is evil. -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Spot the difference? isnt this fact a good enough reason to believe it worthless??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators
[PHP] Oh and one more thing
How do i set up extra functions on my computer like mail() and date() -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Spot the difference?
Well which is easier to program? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: scott [gts] [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 8:45 AM Subject: RE: [PHP] Spot the difference? ASP is basically like PHP, only it uses a VB-based language instead of perl/c-based one. which means it sucks - vb is evil. -Original Message- From: Jon Yaggie [mailto:[EMAIL PROTECTED]] Subject: Re: [PHP] Spot the difference? isnt this fact a good enough reason to believe it worthless??? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Adopt A Newbie (ME)
why am i the bush? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Tim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 7:23 AM Subject: Re: [PHP] Adopt A Newbie (ME) I hereby nominate Kyle as the official George W. Bush of the PHP General mailing list. Anyone second it? - Tim On 02 Aug 2001 15:07:49 -0700, Kyle Smith wrote: zillion is actually a number? i just downloaded a program which reads out text for you cause it just gets really boring reading the text, so now its goinfg to be like having a techer in the room... you got a gun? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Adopt A Newbie (ME)
WHY AM I GEORGE BUSH!?!?!? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: Tim [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, August 02, 2001 10:27 AM Subject: Re: [PHP] Adopt A Newbie (ME) At 10:23 2-8-01 -0400, Tim wrote: I hereby nominate Kyle as the official George W. Bush of the PHP General mailing list. Anyone second it? I do. Wanne setup a voting site for this ;) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] ---- is being an ass!
Ok have installed PHPTriad, when i run apache (gulp) dos opens, all fine BUT when i run PHP.exe well look down (sorry if im not allowed to post pictures but, its small!) -lk6-http://www.StupeedStudios.f2s.comHome of the burning lego man! ICQ: 115852509MSN: [EMAIL PROTECTED]AIM: legokiller666
[PHP] ----- BEING AN ASS CLICK HERE NOT ABOVE!!!!!
(the damn thing took my attatchement off!!!) Ok I have installed PHPTriad, when i run apache (gulp) dos opens, all fine BUT when i run PHP.exe well look down http://www.stupeedstudios.f2s.com/probs.gif -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] PHPTriad users
Could someone please help me sort out a database on this so i can find out if php works, OR could you people please send me any scripts you have cause i just got php working on my pc and i wanna know what its capable of. -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Spot the difference?
Whats the difference between ASP and PHP cause ASP has gotta have something good about it cause microsoft uses it! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Adopt A Newbie (ME)
Ok, im trying to cut down on the posts here but this time im really stuck, so could somebody guide me through the usage of mySQL and PHP and show me how to input data into a mySQL database and read it, or just redirect me to another page (which is what normally happens) NOTE: i am using phpMyAdmin -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Hmmm?
Whenever i get a php script off a website why is it that most of the main parts in the script have a space from the left border. eg ?php echospazzz; ? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] PHP EDITOR 4 WINDOWS?
Does it really exist? If so could someone post some URLs for me? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Web site counter
Is it possible to make a website counter with a PHP script and a text document? If so can somebody email me a script (unlikely) or send me to a page with a script (yay) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Installing PHP probs
Can someone quide me through the process of installing PHP on a windows system (my computer) because ive followed what it says in the doc files but it doesnt work so anyone who has done it, please help! -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] PHP INSTALL (please, im too young to die!!!)
ok i really need to get this sorted quickly so could somebody please tell me which of the below (taken off php.net) i should download to install PHP on my WIN ME comeputer (im not using my computer as an insternet server i need it to test scripts) Complete Source Code a.. PHP 4.0.6 [3,083Kb] - 23 June 2001 Win32 Binaries a.. PHP 4.0.6 zip package [4,859Kb] - 23 June 2001 (CGI binary plus server API versions for Apache, AOLserver, ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as zip) b.. PHP 4.0.6 installer [755Kb] - 23 June 2001 (CGI only, MySQL support built-in, packaged as Windows installer to install and configure PHP, and automatically configure IIS, PWS and Xitami, with manual configuration for other servers. N.B. no external extensions included) Patches a.. PHP 4.0.6 memory limit fix [0Kb] - 1 July 2001 (This patch fixes a bug in the 4.0.6 memory limit option. This is only needed when configuring PHP with --enable-memory-limit). If you have problems applying the patch try using GNU patch. -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Being a SERVER (you cant kill me, im.... DAMN!!)
Where do i download the best software (prefebly free) to set up my computer as a server so i can test my php scripts? (apache or whatever) -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Mailing 4 newbies
In a mail script how do i make it so it emails more than one person? Do i make something like this? [EMAIL PROTECTED]; [EMAIL PROTECTED]; ETC? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Make a mailing list
When i send an email from my server is there any way to change the email address so when its sent instead of saying its from [EMAIL PROTECTED] (my servers email address) to something like [EMAIL PROTECTED] or just my normal email address? P.S. when you reply to this could you please reply to me instead of the PHP-general list -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Attitude of B van Ouwerkerk
im gonna stay neutral in this conversation even though i know B Van hates my guts! But hey, im a newbie and yes i do need a kick start, but he doesnt have to be such a moody git. -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Jeff Lewis [EMAIL PROTECTED] To: Steve Wright [EMAIL PROTECTED]; PHP List [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 11:23 AM Subject: RE: [PHP] Attitude of B van Ouwerkerk It's not the first time and I've mentioned it before. I in fact just emailed all those off list from that thread. One reason why PHP has lured many in is it's ease of use and it's FRIENDLY user community. Sure some people come on here and ask simple questions, maybe ones that can be found in the manual but they are starting out and need a bit of a kick start. Lets remain friendly...it's why I'm still around :) Jeff www.hyrum.net www.xnull.com -Original Message- From: Steve Wright [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 31, 2001 2:22 PM To: PHP List Subject: [PHP] Attitude of B van Ouwerkerk I have to say, after only being a member of the list for a while that the attitude of B van Ouwerkerk to be disgraceful. Everybody needs help sometimes, and no one can know it all.. so if you don't have anything positive to say, then don't say anything! Thanks for reading, Steve Wright -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Attitude of B van Ouwerkerk
ok just cut the crap now and get back to whats really important, helping people!!! -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Johnson, Kirk [EMAIL PROTECTED] To: php [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 12:17 PM Subject: RE: [PHP] Attitude of B van Ouwerkerk Not for this list specifically, and not as well used as it might be ;) http://www.php.net/manual/en/faq.php Kirk what is up with a faq for this list? is there one? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Another simple question (dont hurt me)
In php, oh wait well this is really 2 questions.. 1 in a form how do i make it email a file to someone, and the second how do i make it get recieved as an attatchement...? -lk6- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Flash question, but includes variables!
Anybody who knows flash 5 please help me (sorry to post in a PHP list) I have a variable named NAME, later in the game how do i make a dynamic text field say something like Hi, NAME whats up? -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
Re: [PHP] Attitude of B van Ouwerkerk
Yes, i did download the manual the reason why i come here first is cause when i ask people who know it alread yi know i will get a straight answer and people will put it in a more understandable way then a lot of the tutorials -lk6- http://www.StupeedStudios.f2s.com Home of the burning lego man! ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, July 31, 2001 2:11 PM Subject: Re: [PHP] Attitude of B van Ouwerkerk Let me give just one reply.. I did read them all.. I don't hate Kyle Smith /me rather uses the energy needed to hate in a positive way.. Like to write docs for an opensource project. Did a rewrite once.. Phil Driscoll.. you win. I'm Dutch. No I don't have time to go a few times over my mail just to see if I can put things nicer or just in another way. Have to develop some applications.. learn new stuff.. review old code to make it better.. I keep on learning :-) I agree with Justin Farnsworth and Scott [gts].. (And a few others..) I don't think I've got an attitude problem. I don't know everything but I do bother to find information before I start asking questions to others who need to spend their VALUABLE time on MY problem. IMHO someone who found php.net and this list to ask his/her question should also have clicked on the DOCUMENTATION and downloaded the manual of his/her taste. I'd say only ask your question if it's not in the docs (perhaps not 100% clear) or in the archive.. Searchengines can be a great source too.. If it's in the archive it will cost less time then to wait for an answer. Sure you can look over something even if it's staring in your face.. I'm quite sure others will point that out to anyone who send a question.. There's nothing wrong with being a newbie.. the only newbie-problem I see/have is the lazy one.. ask ask ask ask without taking the time to read the manual or to do a search in the archive. Sure there are newbies who read the manual.. get some tutorials.. thats good. They should get all the support they need.. Ask yourself.. who has an attitude problem here.. Someone who didn't read the manual.. or someone (/me) who wrote to RTFM. I find it worth mentioning that he finally downloaded the manual.. Enough bandwith and time wasted. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Oh and addition to Emailing Files
ummm... problem Forbidden You don't have permission to access /manual/en/function.mail.php on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 29, 2001 1:40 AM Subject: Re: [PHP] Oh and addition to Emailing Files At 01:37 29-7-01 -0700, you wrote: email the file Read the manual: http://www.php.net/manual/en/function.mail.php Bye, B. -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: B. van Ouwerkerk [EMAIL PROTECTED] To: Kyle Smith [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, July 28, 2001 3:09 PM Subject: Re: [PHP] Oh and addition to Emailing Files At 22:15 28-7-01 -0700, Kyle Smith wrote: Also how do i make it so that when it sends the email the picture is an attatchment? I just don't get it anymore. First you ask about uploading files and now about sending files as attachment?? And this second (this) mail is supposed to make something clear?? Please explain what you want to do. Upload or send them via e-mail.. You subject is emailing files.. Browsing a few PHP helpsites should make everything more clear. Both subject can be found on that kind of website.. Bye, B. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Re: Free webspace with PHPMysql support
http://www.f2s.com its what im on but you can only use FTP which is a bitch to set up (no ads no nutting) -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666 - Original Message - From: Philip Olson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, July 29, 2001 1:14 PM Subject: [PHP] Re: Free webspace with PHPMysql support See : http://www.faqts.com/knowledge_base/view.phtml/aid/4058/ This faq needs to be updated soon but should help regardless. If anyone has suggestions for this faq, please suggest or implement them. Regards, Philip -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
[PHP] Emailing files
Ok i know this is a reheheheally simple question but can someone please send me the code for an upload file box which can only have gifs and jpgs uploaded so i may add it to a fanart section for my site -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Oh and addition to Emailing Files
Also how do i make it so that when it sends the email the picture is an attatchment? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Please Please Pleeeeaaaaaaaaaasssssssseeeeeee
Can everybody please send me a simple script they have made it doesnt matter what, i just need some material to learn from, i learn better hands on. -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Sorry To Repeat Repeat Repeat Repeat Re.......
Could you people please send me any scripts you have made which are not too complecated but are quite useful without the use of mySQL? To restore my faith in PHP Thanks in advance -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Tell me what you think
Sorry if this seems to be spamming but to anyone who is interested could you please go to my site (stated below) and when you have finished browsing click on the leave a comment part on the main page and tell me what you think Thanks people -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Learning PHP
Can someone please make a list of the best places to learn PHP as I have 6 weeks of school holidays and I want to put the m to good use (i have the PHP reference guide from www.oreilly.com and i have the big ass document files from www.php.net) -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] The BIG Question
Ok this is the big question, in-depth could someone tell me what PHP could be used for other than aking databases (which i canT do) Thanks -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] URGENT... NEED HELP!!!
What is wrong with this code? (note: the variables $email and $comments are sent from another page but i get the error message from this page saying Warning: Could not deliver email. You are over quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15 in which line 15 is the line under $message = $email. $comments; saying just ? ?php $kyle = [EMAIL PROTECTED]; $subject = Comments; $message = $email. $comments; ? ?php mail($kyle, $subject, $message); ? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] URGENT... NEED HELP!!!
What is wrong with this code? (note: the variables $email and $comments are sent from another page but i get the error message from this page saying Warning: Could not deliver email. You are over quota. in /web/sites/197/lk6/www.stupeedstudios.f2s.com/email.php on line 15 in which line 15 is the line under $message = $email. $comments; saying just ? ?php $kyle = [EMAIL PROTECTED]; $subject = Comments; $message = $email. $comments; ? ?php mail($kyle, $subject, $message); ? Thanks -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Another how do i question
I made this code for a simple for (the end of it) but what do i change in the $message variable so there is a new line between each other variable in $message (ive tried $name. br. $last_name and. happens) ?php $email = [EMAIL PROTECTED]; $subject = Mini survey; $message = $name. $last_name. $age. $system. $res. $cpu. $comments; ? ?php mail($email, $subject, $message); ? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Resolution
is there a code to show a users screen resolution and/or make a webpage go to a certain page of the site depending on the users screen resolution? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] D d d d database?
ok i dont know the first thing about data bases so could someone please guide me through the process of making a score board for a flash game i have made with the variables $name and $score?? (note: i have hosting at f2s.com so i have to use myADMIN) -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] PHP.... i suck at it
Ok this may sound really pathetic but how do i add a new line (like a space) to a code like this ?php echo IP ADDRESS; echo $remote_admin; ? cause when i try the code out it looks like IPADDRESS127.0.0.1 and i want it to look like IP ADDRESS 127.0.0.1 or IP ADDRESS 127.0.0.1 so what do i put in? Thanks for your time :)
[PHP] Automatic survey
I have made a small page containing the following PHP ?php echo Ip addressBR; echo $REMOTE_ADDR; echo BRBRPort numberBR; echo $REMOTE_PORT; echo BRBRSystem infoBR; echo $HTTP_USER_AGENT; echo BRBRLast page visited in this windowBR; echo $HTTP_REFERER; ? is there any way i can make the PHP file email me the info above without revealing the users address, if so, what should i add to the code? (dont worry im only using the code above as a tester, as you can tell im not a hacker) -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666
[PHP] Whats wrong with this code?
$message = $IP, $PORT, $SYSTEM, $PAGE; what should i change in the $message code so that it contains the words assigned to the variables? -legokiller666- http://www.StupeedStudios.f2s.com New address new site ICQ: 115852509 MSN: [EMAIL PROTECTED] AIM: legokiller666