| |
| |
| |
|
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Comments:
<0> Koda, "the file is not being uploaded properly on the remote site" is sort of vague, what exactly is happening? <1> forget the other site, get it working on a local test form <1> that way you can log what you're receiving or something <2> Koda: I don't see any use of $_FILES or you mime encoding it to your post fields <3> i am a linux user, can anyone tell me a good php/html editor ? ( not emacs or vim plz ) <4> !tell kaydara about editors <5> kaydara: i use nedit <6> eclipse <7> gvim ;D <3> im work a lot with emacs but emacs dont make the php/html code right aligned <3> vim i have to make the tabs myself <4> kaydara: look into the php-mode.el extension <8> kaydara: both emacs and vim will auto indent. <3> so i am the noob <3> :s <3> let me check for that
<8> kaydara: If you're into the whole GUI thing, Zend Studio isn't that bad, but also not free. <3> i will check emacs first, im very used to it <9> kaydara: www.php-editors.com <10> so how is everyone? <10> :) <11> Can anyone help me with an issue compiling on Mac OS X 10.4 "Tiger"? <12> kapishonas: that was it!!! <11> I'm using ./configure --enable-embed --enable-maintainer-zts --with-pgsq=/usr/local/pgsql --with-readline --with-apxs=/usr/local/apache/bin/apxs <13> I have a DOM/XSLT problem (php5); internal entities in XPath expressions should not be substitued, can someone help me? http://pastebin.com/642943 <12> I got rid of all those methods and crap and just did some core statements, and now it works beautifully!!! Thanks a bunch!!! <14> espresso, good, plus use error_reporting(E_ALL); <15> The error I'm getting: http://pastebin.com/642950 <16> Is there a function that gives you the current files directory as in "/forum" or "/articles" ? <17> quick question: how do i instantiate a cl***, given it's name in a string? <17> OrbX: dir() and it's ***ociates :) <16> Okay thanks, new to php :) <18> Hello, I'm writing a php app, and I'm using PEAR DB. I don't know if the server I'll deploy it has pear or not, so, can I embed with my application ? <2> steve: $foo = 'bar'; $bar = new $foo() <19> stevarino: new Cl***Name(args..); <19> oh, didn't read <2> guigouz: depending on licensing, yes <17> ||cw: perfect!! i was missing the parens in my tests. thanks! <17> tempest1: :P <20> i'll try to run the pear installer on my applications' root then <2> guigouz: you'll also need to set the include path <21> hey guys, I'm not a php expert, but I was ***igned to relocate a php site from one IIS server to another, and since the code was very poorly written, it has a lot of relative paths in it, and IIS is now complaining about stearms whenever fopen, or a similar function is used, any idea how I can fix this? <2> MohShami: search and replace <21> ||cw: :'( <21> even the guy who did the site is unwelling to check it for the time being <2> and while you are at it, make them a define() so you won't have aproblem next time <2> i used a tool called xreplace on windows once upon a time, was pretty handle for search and replace in bunches of files <2> duno if it's still around <21> the has to be re-written, but the server is about to crash, and I need to relocate the code to a temp server while the web developers work on the code <21> any quick fixes? <16> stevarino: With dir you have to enter a path first, is there a function that retreives the files current path? <22> a funny 4o4 msg :) <17> OrbX: from what? the current script? <16> stevarino: I am just looking to find the folder that the file is currently in. <23> I am trying to round a number to the nearest 0.5 - does anyone know a quick way of doing this? <16> stevarino: Yes the path of the current script <22> ibob, what about round() <17> OrbX: check out $_SERVER["SCRIPT_FILENAME"] <17> ibob63: multiply by 2, floor it, then divide back <23> stevarino: like your thinking - thanks <17> ibob63: you might want to round instead of floor... play and see <16> stevarino: That is what i sort of want, but not all of it.. I need the current folder, for example: "/forums" , "/members" <17> OrbX: ........ array_pop( explode('/', $_SERVER['SCRIPT_FILENAME'])); <21> ||cw: any ideas? <24> is theere a way in php to determine the absolute path to said php file <2> MohShami: if it's broke, fix it. i don't know what you want <16> stevarino: Thanks very much for the help! <25> instruction Google Adsense--> http://planet.nana.co.il/hartk2003/en.htm Download free Firefox --> http://planet.nana.co.il/hartk2003/Firefox.htm <23> stevarino: settled on round instead of floor. Thanks <17> OrbX: no prob, but make sure to check out the manual, especially on strings and arrays <16> stevarino: Yeah thats why I like using php, got a huge library of functions to work with. <17> OrbX: after time you'll see that it's phps biggest problem ;) <24> any ideas? <21> ||cw: I'm truely sorry to bother you, the website is working on the old IIS server, but it keeps giving me errors on the new one, I know it needs to be re-written from scratch, but I need a quick fix so I can start working with the developers to get this site up again with fresh code <2> ther is NO quick fix for sloppy coding. <17> ReT: _SERVER['SCRIPT_FILENAME'] - check out php_info()'s output <24> thanks steve
<2> never has been, never will be <2> either fix it, or duplicate the old server <2> which i shoulnd't even have to say... <21> ||cw: that is true <24> woah elite stevarino, it worked perfect <21> I don't know php myself, but one of the developers told me there is an option in php.ini to do this, but he didn't remember what it was, I've been looking for it all day :s <17> ReT: i just recommended the same basic thing to OrbX.. ;) <13> I have a DOM/XSLT problem (php5); internal entities in XPath expressions should not be substitued, can someone help me? http://pastebin.com/642994 <24> hehe that's what made me remember that question <24> lol <2> MohShami: to fix paths? <21> ||cw: to make php or IIS accept the relative paths they are using <2> php has nothing to do with relitive paths <21> ||cw: this is the warning I keep getting: fopen(cache/2006-04-05_HomePage_leftNews_0): failed to open stream: No such file or directory in ... <25> instruction Google Adsense--> http://planet.nana.co.il/hartk2003/en.htm Download free Firefox --> http://planet.nana.co.il/hartk2003/Firefox.htm <2> MohShami: could it be permissions? <21> ||cw: that was my first guess, I even tried giving full access to everybody, but it still didn't work <2> if it's still the same relitive path, and used to work, i don't see why it would fail... unless for some reason your php has the default feature where / is translated to \ turned off <24> lol @ firefox7 <2> i don't even know what that option would be though <24> features fabulous additional in the browser pyerpoks: blocker pop noses loud <24> LOL <2> ReT: you clicked it? you need your head examined <21> ||cw: I'm checking for that option <24> ||cw: Was bored haha <2> "i'm bored, guess I'll try and catch a worm, or at least crash my browser" <24> version improved of pyerpoks with ruler tools of google! <24> ah I see <24> wouldn't that target IE users tho <2> firefox has DoS holes <24> only remote code execution exploits are JPG <24> that I am aware of <2> hardly worth anyomes time, but you never know <24> Firefox DoS holes crash ff, big deal <24> lolz <24> remote code execution is a bit more worrisome <26> how do i check if the file "a.txt" exists in the same dir? <2> yeah, that's what I don't get "linux has just as many security advisories as windows" except lin is "DoS, DoS, DoS" and windows is "remote exec,remote exec,remote exec" <2> ak47: you'll never guesss.... <24> lol <2> file_exists() <26> fileexists() <26> lol <24> omg lol <24> that's a hard one <26> dont worry ill get past it <24> you'll recover from this humiliating experience <24> LAFF...I'm sure you'll carry it on your shoulders for the rest of your life <27> hello! <28> hello! <27> :P <27> Simple question, USING PHP, I want to make a status bar that shows progress of an uploaded file. <27> How is this possible :P <29> It isn't. <27> really? <29> At least, not without some seriously hideous hacks. <27> ok mattmcc :P how about overriding the defualt php.ini upload file limit <27> Is that possible AT ALL, maybe with .htaccess? <29> Sure. <30> Can any of you recommend a specific MVC framework to use? I need one that doesn't need to be installed system wide, and would prefer one that is object oriented rather than procedural. <31> surfdue: seems like you need the browser to communicate with the server without disturbing the ongoing upload <30> I've looked at PHP on Trax, Symfony and Cake <27> ? <30> But I'm having a difficult time deciding which one to use. <31> did you google? <29> malverian: So try them out. <10> mattmcc, sometimes people want to hear recommendatations / personal experiences ;) <30> Yes, that's what I'm after. <30> I've looked at the API docs and some of their tutorials.. <29> That's fine, but they should really test things for themselves too. <31> http://www.raditha.com/php/progress.php <30> I like the file structure Symfony uses (similar to Rails) <29> Personally, I would say Django, but it's not PHP. :) <30> Yeah.. many hosts don't have python..
Return to
#php or Go to some related
logs:
#perl No accelerated IMDCT transform found VLC Failed to execute child process network-admin #php multigroup ct_sync isobuster in linux kubuntu jpg problems konqueror thumbnail fixmbr without windows #perl #fedora
|
|