| |
| |
| |
|
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> 4 <1> Shaba1, use date() and filectime() <0> will that work of files created in windows? <1> Shaba1, TIAS <0> what I am trying to do is take a set of image files and order them by the date and time they were created <2> I don't believe it works on remote files. <0> what is TIAS? <2> remote servers, even. <2> Try it and see. <1> Zule, not in php4, no. but in php5, yes. <2> He's using v4. <2> It will work on Windows, though <0> Not a windows server <0> with windows files uploaded to a server <0> which I think is running on FreeBSD <3> <Stormchaser> and others What I try to do is very similar with : http://forums.digitalpoint.com/showthread.php?t=85646 ! Just a paragraph to read ! Do you have an answer for this ! Is very php related I think
<2> ctime only ever returns change time rather than creation time. all the filextime functions should work fine on windows, but getting details from a remote location/url when you're running php4 is more tricky. <0> Ok let me rephrase this <4> hello, i'm trying to setup php_value open_basedir in my apache configuration but it is being completely disregarded...nothing in the apache error log and ini_get shows it as null <0> I have a website that runs php <0> I want to make a photo gallery <0> I have all the php code. <0> but what I want to do is upload my picutres to that server <0> all the code for display is fine(I think) <0> but I want the pictures displayed in the order they were taken <0> so I need a php funtion that will get the picture file's (jpg) time and date. <0> Is that clear enough <2> Possibly :D <3> you can create a table which keep log of each uploade image <3> than simply order as you want <0> I thought of that ace_me just making a file and with the file dates and time and names and uploading it with the picture <3> or you can rename the files by adding a date or time as filename YYMMDDHHMMSS.JPG <0> but that would seem like something that should be done by php itself <5> hello <6> is there an ad hoc function to change the keys of an ***ociative array <5> how can i get users' ip?? <7> hello! where i can register domain? <3> register.com <8> godaddy.com <8> dotyou.com <1> kioto, how do you mean : "change the keys" ? <6> $myarray['a_key'], and after the manipulation $myarray['the_key'] <1> you want to do the same manipulation on every keys ? <6> no, <1> ok, so what ? <9> you can copy them, $array['new'] = $array['old'] ? <6> i need to replace the key, exactly translate the key <1> $array['key2'] &= $array['key1']; unset($array['key1']); <1> =& <6> ok <9> i only know a function to change the case of the keys, but i guess thats not exactly what you need =) <10> morning all <11> D13GU___: Don't register with godaddy.com you'll regret it :) <6> yes array_change_key_case <12> lo <13> anyone know of an open source library do to tradtional zip files? I can't use gzip unforunately <12> zlib <13> the GuShH <14> smaxor: is read-only okay? <12> Smaxor http://www.zlib.net/ <12> Smaxor depends on how are you planning to use the lib and where... <14> gushh: he said not gz <12> But you can "do" zip with zlib... <13> umm I'm writing a zip to be taken by another program <12> you just need to write your own helper routines. <12> Or get a toolkit. <13> toolkit? <12> a toolkit is just that, a set of helper functions to make your lazy *** happy. <13> hahaha <12> I wouldnt go to that direction, but since you seem to want it served on a silver plate.... <13> hahaha <13> I'm a noob, so the simpler the better <14> http://pecl.php.net/package/zip <12> But you want a cl*** for php or you're at C++ or other programming language? dont mix scripting with the latter... <12> For php there are cl***es out there. <11> :) <12> If you're under any programming language that lets you either link a lib / obj or a dll.. then you should go for zlib and write your own helpers, that'd add 60KBs to your exe though plus the helpers size.
<12> Which is not possible to estimate. <15> I'm struggling to see the advantages of using XSLT for templating of a website over standard CSS...anyone care to enlighten me? <11> Tankshell: XSLT is really cool :) <14> XSLT has one more letter <11> Tankshell: XSLT makes sense if you already have data in XML format that you need to display on a webpage. <12> And soon you'll find toilet paper that is xml compliant <16> i've got the following code: http://pastebin.com/739440 i'm setting a session in one sub-domain and redirecting to the other..i can't read the sessions variables..i have the cookie domain set to the higher lvl domain..thoughts? <11> Tankshell: XSLT could also make sense if you need to provide the same data but present multiple different ways (for example, an HTML page, a 'printable HTML' page, maybe a comma delimited report or something, an excel spreadsheet, etc) <11> Tankshell: And usually it's never a choise between CSS and XSLT they are really different :) <11> Tankshell: CSS is for layout and markup... XSLT is really for generation of HTML <17> what would be the best way to deal with a p***word? I would like to send it cryptographied from the brownser to my server. what would be the best way? <16> Azuos001--> from the browser to the server? use SSL <12> or work with a hash? <16> Azuos001--> or have fun with Javascript <14> Azuos: http digest authentication <11> Azuos001: The best method would be put it on an HTTPS secured server. You can also use standard authentication (basic HTTP auto, apache .htaccess, etc) <14> No, not standard http auth. That's cleartext. <11> Azuos001: Whatever you do, don't encrypt or protect anything with JavaScript or client side Java. Both of those are IN THE HANDS OF THE ENEMY. <11> Pollita: not if it's on an HTTPS server right? <12> You guys ever sniffed said proccess.... you should figure it out... <14> true, if it's on ssl, it's not an issue <17> I will save the p***words in mysql, so I won't use apache authentication. <14> Azuos: mod_auth_mysql <18> http://pastebin.com/739447 <-- more simplified, can anyone tell me why when all fields are filled in the error handling still comes up <14> but that's beside the point <14> just use ssl <14> and quicherbitchen <17> I am thinking about working with session. If I decide to use SSL(https) in the future will something change in my code? <14> no <14> your code won't notice the difference <14> except for having a couple extra $_SERVER vars lying around <19> Azuos001, there is a method without ssl, that is similar to CHAP, but it requires javascript on the clients browser <17> that will be something between the browser and apache, Am I right? <19> who you talking to? <17> javascript is not reliable <19> no its not <20> anyone had problems with PHP5 and image uploading ??? <19> but this way is <16> is it possible to use a parent domain session cookie to hand off $_SESSION variable between sub-domains? <20> i've debugged my WHOLE script we just changed from PHP4 to PHP5, and it just doesn't work <19> just don't let anyone without javascript authenticate <19> many argue its safer than ssl <19> rhavenn, http://us3.php.net/manual/en/function.session-set-cookie-params.php <19> you can control the domain of your session cookie with that <17> I have never worked with SSL, do I need to worry about it now or I can see it when my system authetication is finished? <16> cyth[sleep]--> yeah, so look at this: http://pastebin.com/739440 this doesn't work? <21> Alright, i need some help with making secure ftp work on windows, under PHP5.1.0, when i use the manual listed constant CURLOPT_FTPSSLAUTH, i receive SYSERR that the constant is undefined. cURL with HTTPS works perfectly fine (so openssl is installed correctly). Ideas? <21> Correction, 5.1.2 <21> Overwhelming repsonse. :P <17> I saw some example people using md5 to cryptografy the p***word. What do you guys think about it? <17> I saw some examples, people using md5 to cryptografy the p***word. What do you guys think about it? <19> good practice probably safer to use sha1 tho <17> to use what? <22> Azuos001: http://en.wikipedia.org/wiki/SHA1 <23> is it possible to call a python script from php and get the results? <24> REdOG, yes <23> Jy: how might I go about doing so? <24> http://us2.php.net/manual/en/language.operators.execution.php <23> tyvm <24> or http://us2.php.net/manual/en/function.shell-exec.php <19> rhavenn, you got me :/ <21> Let's try an easier question: Does anyone have PHP 5.1.2+ and cURL that can see if the constant CURLOPT_FTPSSLAUTH is defined? <19> maybe you could try setting it in php.ini rhavenn <20> anyone had problems with PHP5 and image uploading ??? <19> kennebel, nope <21> dimitri1: Works great for me, just make sure your memory limits are big enough. <19> dimitri1, nope <20> our server just got upgraded <20> and everything works <20> except the image uploading script we have <20> there is an <input for name="image" <20> but $_POST['image'] is null <20> <form method="post" action="pixup.php" name="pixup" enctype="multipart/form-data">
Return to
#php or Go to some related
logs:
grub-install hang FC5 sda don't use doctype
ubuntu server hel use EOT in php #suse postfix disable bounces #php emerge verbose yellow use flag cheela motherboard #qemu
|
|