Home Page   #c  #ruby-lang  #cisco  #mysql  #apache  #javascript  #java  #perl  #php  #openmoko   Wallpapers Girl
Reliable $1 Web Hosting by 3iX

Channels


#php

07 October 2007


Total 36 pages. You are browsing page 1/36.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last

--- Log opened Sun Oct 07 00:00:27 2007
--- Day changed Sun Oct 07 2007
00:00 <****> yes, if get display form , if post process data
00:00 <****> Ah, right.
00:00 <****> if (!empty($_POST)) exit; <-- that should do it.
00:01 <****> thanks
00:03 <****> or better I guerss, if ($_POST) { do something
00:04 <****> hello http://degjomuzike.com/fre/setup.php how can i install this
00:04 <****> carefully
00:05 <****> does php 5 work differently to php 4 in reference to the "echo" function? i just upgraded and something in my code is going a little crazy just trying to eliminate options. Its most likely my codig hehe
00:05 <****> hello http://degjomuzike.com/fre/setup.php how can i install this
00:05 <****> no the echo function didn't change :)
00:06 <****> kk didn't think it would, my echos aren't coming on screen so imguessing my code is to blame hehe
00:08 <****> please active error_reporting and you will discover a lot of things... error_reporting(E_ALL)
00:08 <****> If you don't care about PHP support, error_reporting(E_ALL | E_STRICT).
00:09 <****> yes Ooble, you right
00:09 <****> where do i put that soeet
00:09 <****> soeet == sorry
00:10 <****> damn laptop
00:10 <****> how can i read a text file into a variable?
00:10 <****> Hello, I've adapted a script in php, and was wondering if it was possible to do the following things...1) create a checking system that will look on my website for a newer version (script already has UNIX dates as version) and 2) Create certain points along the script that will cause the die; if values are edited..I have an MD5 code in the variable of $key if it's any help. to verify that the script hasn't been changed
00:10 <****> hey guys
00:10 <****> RockerMONO, php.net/file_get_contents
00:10 <****> RockerMONO, file_get_contents
00:10 <****> ok, thanks
00:10 <****> matt1982, the upper you can,
00:11 <****> I've got the following problem... I have a contact formular with a captcha. That works perfectly, but everytime I send the formular and press the "back" button of the browser, the captcha image is still the same. How can I avoid that?
00:11 <****> is there no getcookie function? do you just access the cookie by doing $_COOKIE['name'] ?
00:11 <****> yep wug
00:11 <****> Oh
00:11 <****> client side : javascript:history=null
00:12 <****> hm is there another way? :/
00:12 <****> gerogy, your page must not be cached
00:12 <****> by your browser
00:12 <****> I take it that's a no then...?
00:13 <****> pershaps adding header (" content no cache ... or something like that")
00:13 <****> yes, I tried meta-tags and header("Cache-Control: no-cache, must-revalidate");
00:13 <****> nothing helped
00:13 <****> what headers do sites that use captchas use?
00:14 <****> why do you take care about that ? is it a problem that it's the same ?
00:14 <****> headers?
00:14 <****> GBenemy, md5() ?
00:14 <****> yes it is. if the user entered a wrong captcha code and gets back, he has to refresh the page to get a new captcha code. and that clears all the fields inside the form
00:15 <****> Wolfy[drawing] I'm weighing in on the gerogy discussion
00:15 <****> I want some that will check the MD5 is the same as what is defined
00:15 <****> and have several along the way
00:15 <****> if he enter a wrong captcha he don't have to get back you have to tell him and propose a new captcha to enter
00:15 <****> but somehow hidden
00:15 <****> Javases, I just realised I missed out the "4" way back up there.
00:15 <****> I assume you knew what I meant. :)
00:16 <****> :)
00:16 <****> 3 ways are enouth
00:16 <****> GBenemy, hidden?
00:17 <****> gerogy http://www.fuzzyopinions.com/article/technology/tutorial-improving-security-with-a-php-captcha/
00:17 <****> well... javases I don't really know what you wanna tell me :/ let's say the user fills in the formular, enters the captcha and on the next page he sees that it was wrong. what should he do now?
00:17 <****> hello http://degjomuzike.com/fre/setup.php how can i install this
00:18 <****> mischa_ i'm not sure how to describe what i want, i just know i don't know how to do it
00:18 <****> so, is TinyMCE a framework?
00:18 <****> is it ok to redirect like this "header( 'Location: /' );"
00:18 <****> it's not /that/ important, i'd prefer the first idea to be impleted
00:19 <****> gerogy, why does he have to click Back to go back to the form?
00:19 <****> gerogy, if the Captcha is wrong you have to tell him and to propose a new captcha
00:19 <****> Why not just show the form on the new page if it's wrong?
00:19 <****> GBenemy, so what is the problem? md5()?
00:19 <****> gerogy, user will never has to use back and next browser button
00:19 <****> hmm that's an idea ;)
00:19 <****> The user should never have to use the Back and Forward buttons on their browser.
00:20 <****> thx Ooble
00:20 <****> :)
00:20 <****> alright ty :)
00:20 <****> setcookie('language', 'eng', time() + 30*24*60*60, '/');
00:20 <****> what about md5 ?
00:20 <****> ^ There anything wrong with that?
00:20 <****> mischa_, no
00:21 <****> wug what say your parser ?
00:21 <****> does someone know how I can fix this ffmpeg / php-ffmpeg error: http://nopaste.info/fadd395c46.html. Or where I can find some hints about it?
00:21 <****> I did a print_r on $_COOKIE and don't see it
00:21 <****> and i did a page info and I don't see it either
00:21 <****> language variable in $_COOKIE should be set to eng
00:21 <****> nop
00:21 <****> i'm not sure
00:22 <****> GBenemy, and what is?
00:22 <****> Wug, no it's wrong
00:22 <****> imagine what do the php parser
00:22 <****> OK
00:22 <****> what's wrong
00:23 <****> what did i do wrong
00:23 <****> setCookie // ok i'm gonna send some informations for the client browser
00:23 <****> Wug, is error reporting on?
00:23 <****> print_r($_COOKIES) // euu wait i' don't have send cookie to browser yet i'mgonna do it
00:23 <****> my print_r is after the set cookie
00:23 <****> did you understand ?
00:23 <****> i have in my script, $hiddenversion="1191625200"; basically, i want a script to add to my script, that will check my website for a later version than 1191625200 and inform the user that there is a new version
00:24 <****> E_ALL
00:24 <****> I quote: domain
00:24 <****> The domain that the cookie is available. To make the cookie available on all subdomains of example.com then you'd set it to '.example.com'. The . is not required but makes it compatible with more browsers. Setting it to www.example.com will make the cookie only available in the www subdomain. Refer to tail matching in the spec for details.
00:24 <****> http://rafb.net/p/g1mTJy99.html
00:24 <****> yes but php don't send you information while parsing, only at the end (ob_function not use here)
00:24 <****> Ohh
00:24 <****> its my conditional


Total 36 pages. You are browsing page 1/36.

First :: Prev :: [1] [2] [3] [4] [5] [...] :: Next :: Last


Tutti i nuovi CAP Italiani. Come ottenere il database completo