| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
Comments:
<0> i get this error <1> im a bit butchy today - so im not going to brag on about how thats not an excuse. <0> http://pastebin.com/552338 <- that is the error <0> i suppose i have only missplaced or missed a linke to the file <0> but i dont know where to put it <0> i am using Windows XP with XAMP to have php and apache but i am a bit lost right now... <2> I want to genrate a Image with a curved text on it Using GDI can some one help me how can i do it <3> hey all <3> my boss just told me that the site needs to be in the form of https:// ... <3> does it have to do with anything regarding php? <0> MBzle: noop <0> it is a serverside setting that should redirect to the https and then just code as usuall <3> Petfrogg, how can i enable it on the server? <0> if you got https installed just access you pages using https://maypage <3> alright... thx.. <0> then let the server dude mess with the httpd.conf to redirect any access to http://maypage to https://maypage
<4> is there a way to make php automaticly display the modified data in a file with out having to press refresh?? The reason i want to know how to do this is to make a chatscript. having to hit refresh to see the new messages would be kind of stupid. Does anyone know how to do this? <3> Petfrogg, aight.. <3> thx <5> re <6> Nameless12: php is a **** language for a chat script <6> Nameless12: the answer to your question is no <7> aidan but it can be done quite easily though <8> If I want to create a 160bit random string/number, how could that easily be done? <6> sandstrom1: http://aidanlister.com/repos/v/function.str_rand.php <6> echo str_rand(160, 'numeric'); <8> aidan thanks! <8> aidan wow, really nice function! thanks again :D <9> hello all <9> guys, how can I callback function p***ed as parameter ? <10> hi there <6> Java-er: call_user_func perhaps, I'm not sure I understand what you are asking <11> $parameterName() ? <9> aidan, yea I think thats it <9> insin, would it work like this ? <12> Are there any limitations on what I can index by cl*** with? (value of $key) $emails[$key] = new $emails; <12> I want to have some text ***igned to $key <6> Smegzor: in english? <12> well $emails[1] = new $emails; is valid.. what about $emails['user@isp.com'] = new $emails; <13> also valid <6> Smegzor: .. man worst way to ask a question <11> Smegzor: any string will do <12> I tried :) Well it isn't working with a string that contains spaces. <12> but that might not be the problem.. <13> it should.. <12> I just wondered because I could bash this problem all day only to find my key isn't valid. better to ask here as well. <12> I looked up cl*** in the manual <12> anyway.. back to the brick wall :) <13> array keys can be any integers or strings.. you'll only have problems if you use some other data type, in which case php will try to convert it to integer <12> the @ in my key won't bother it? <13> it's a string, so no doesn't matter what's in the string <12> thanks <6> Smegzor: it has nothing to do with cl***es <12> this is what I am getting.. "Cannot instantiate non-existent cl***" <6> Smegzor: your question is, "what can I use as the index in an array" <6> Smegzor: that has nothing to do with the array <6> man, people have the strangest preconceptions of where their errors are coming from <6> Smegzor; read the error message ... what do you think it's referering to? <12> well I have a cl*** which I am ***igning to at the time.. <12> I'll throw together a brief sample of my code and pastebin it <13> php is telling you theres no cl*** by that name <9> hi, <9> can I declare static functions in PHP? <9> so I can invoke them without the need of instantiating an object ? <12> yes I discovered that. I am using a new editor and I did a find and replace, checked that it had worked, it had, but it didn't replace on my foreach.. <12> I've got rid of the error.. for the moment :) <13> Java-er: you can statically call a function like this: $object::method(); <9> should I declare the function as static ? <13> Java-er: i don't think it's necessary, but you could <9> but I don't want to careate an object, how can I invoke it ? <9> $cl***Name::method(); ? <13> Java-er: sorry, i meant cl***Name:method() <9> aha ok thanks <13> Java-er: if you declare the method as static then you won't be able to call it with ->, only with :: <14> do you have to declare session_id(); <9> aha no problem I won't create an object :) <14> like so it lessens the chance of session fixation ?
<13> schnoodles: no, it's generated automatically <14> oh ok <14> so i dont actually have to call session_id(); <13> schnoodles: you don't have to.. but you can :) <15> could someone help me with deleting an entry please? my code is http://rafb.net/paste/results/whlcId92.html <14> if using sessions for a user system <14> "i was just using session_id()" as the authentication session but looking into it <14> is there any routine you should use <14> to restrict getting hacked ? <9> guys, I want to parse bb code in text. anyone knows a good a algorithm to parse texts ? <13> schnoodles: i think the default session id system is secure enough, but i'm not 100% sure <13> Java-er: look up perl compatible regular expressions (PCRE) <9> ok thanks <16> hi. I am trying to turn on E_ALL and E_STRICT on the command line. Can someone please tell me how to do this? <6> ph8ory: ***ign the result of mysql_query to $status, then use that in your boolean <16> i tried alias php="php -d error_reporting=2047&2048 -f " but that gives me the error: [1] 16808 -bash: 2048: command not found <15> thanks aidan <6> keiron: single quotes, alias php='php -d error_reporting=4095 -f ' <16> great thanks <6> keiron: that's really a #bash question though <17> is session_name() referring to changing the "PHPSESSID" or to something else? <16> ok. thanks <17> because when i call session_name() it doesn't change the PHPSESSID <18> Hello. <17> Weird. <18> How do I convert the real path to relative path? <19> DtTvB: you mean absolute path to relative path ? Then say your include directory was one directory below the directory of your script, then instead of /var/www/mysite/include/config.php you would have ../include <20> hello <21> hey all, how would one go about finding a null byte terminated string within a binary string <21> using unpack <21> eg. the binary string contains several null-terminated strings in a row, and i need to seperate them <22> how can I print out my IP address? <22> description: echo MYIP <23> $_SERVER['SERVER_ADDR'] should be it <21> hmm. does anyone know if the pack/unpack "format" can be used to unpack arbitrary length strings at all? <21> eg. in my case, strings which are an arbitrary length, but always null-terminated <22> Raumkraut, thx <21> hmm. i think it cant be dont. curses <21> done* <24> sidd: What can't be done? <21> use unpack to find and seperate null-terminated strings <21> within a binary string <21> the null-terminated strings can be any length, and as far as i can tell, unpack can only work if you know the size of each element <24> ah <21> any suggestions without using unpack? <21> to put it in perspective, im trying to unpack a udp packet that has quite a variety of datatypes <24> Pfft... I hardly understand about null-terminated strings or anything, but its possible you could use exec() to run a unix system command to do what you're looking for? <21> yeah, no doubt there is <21> null-terminated strings are just strings that are any length and always end in the byte "0x00" <21> i guess i can just use exec, but it would be nicer if it was all php <25> dare I suggest a preg call on the string? <21> ooh. now there is an idea. <21> i think i would have to bin2hex() the string first though <21> or find some other way of making <21> \x00 a readable character to php <25> you could just strip them after you've preg_matched all the null terminated strings, surley? <21> maybe, but when i tried to use split(), it didnt like me using a null character as the splitter thing <21> it said REG_EMPTY at me :( <21> so i think it wont like me using it for regex eitehr <22> how can I print the IP for a remote machine like whatismyip.org? <23> sidd: you could use explode() with a chr(0) maybe? <21> ill try that ramkraut <26> dbe: echo $_SERVER["REMOTE_ADDR"]; <22> Jy, thx =) <21> Raumkraut: nah, didnt work. returned an empty array <21> actually,an array containing a string "" <21> oh wait, wtf. i just refreshed and it seems to have worked :P <23> lol <27> I have been using TFMail (perl) for web email forms now for years. Is there a good php replacement? <28> squirrelmail is the standard issue for the most part. I use nutsmail to pretty it up and it's worth the $$ <27> I think those are webmail clients. I embed email forms (using templates) in commercial websites, hiding destination and controlling the format and other aspects of email traffic. TFMail is the big brother to formmail (the email applet that was very unsecure). <28> mnoir: you're right, sorry didn't read carefully enough. <28> mnoir: I personally use PEAR's mail package to create custom mailing scripts. I am not sure what the best is out there for fully created scripts <29> Is it possible to port a mysql-using application to postgresql just by changing all instances of "mysql_" to "pg_", or are there hidden gotchas?
Return to
#php or Go to some related
logs:
theory of database normailzation scanelf ati get number from string * php ubuntu apsusb1 printf python how to think like #css grub loading error 18 vmware
rmmod snd_intel8x0 is in use ubuntu #perl #gentoo
|
|