| |
| |
| |
|
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 29 30
Comments:
<0> I am trying to run a script on cpanel 2.5.0 with php 4.4.2 it is supposed to install a fully functioning website via the admin/index.php file however when I try to run the path it says Warning: main(../inc/header.inc.php): failed to open stream: No such file or directory Fatal error: main(): Failed opening required '../inc/header.inc.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') how do I get round this? <1> resntern: what are you trying to install? <2> Jymmm, I just glanced over them (I had to go eat dinner). I know how to get variables from the other page. I guess my question would be better worded as what value does a checkbox return if selected... 1? <0> a dating site <1> did you makeit or download it? <0> downloaded it <3> Nexus only checked items are returned <1> we dont support it, sorry <2> I was just about to write some code to figure it out, but if you have a quicker answer, then <2> So they just have a value of whatever you set the value for in the <input> tag? <1> ask on support forums, or a channel for it, but not here <2> So really if I can just use isset to see if the variable exists and that would probably be all I need. <1> empty checks if its set or empty :) <4> Could someone help me with this script I'm writing for my personal blog? I'm trying to list the number of blogs in a given month under a given year. I can get the years but I'm not sure what to do from there. <3> Nexus http://www.apptools.com/phptools/forms/forms3.php <2> I haven't ever used empty. Course I'm not really a programmer either. :)
<2> Jymmm, Wow. Now that looks like the info I was loooking for. Excellent. Thank you, oh bastion of knowledge. :) <1> wow <3> Nexus thank google <5> What the **** <5> Someone just thanked Jymmm? <5> Are you out of your MIND, Nexus?! <1> Jymmm: ? <2> :) Maybe but he's helped me every time I've needed help in here. <6> anyone know why i keep getting this error with fputs? Notice: fputs(): send of 24 bytes failed with errno=11 Resource temporarily unavailable in /usr/bin/loadurl.inc on line 71 <6> the number of bytes varies every time... but it never sends the whole thing <5> Jymmm: You're so threatening :P <1> nforbes: hes just gunna do it one day.. <5> I know. <5> :D <7> can anyone give me a hand understanding php5 soap extension ? <1> what? soap? that still <em>exists</em> ? <7> well excuse me ... what do you use then? <7> json? <7> csv ? <8> axe body spray <1> i just didn't know that existed.. <4> haha. <1> or used anymore <1> i havnt heard it mentioned since... a ververy long time go :) <7> right, washing for me is a non issue ... please excuse me if it didn;t get the geek joke! <1> eeww <3> lepine_h : it's for the other end, thought you might need some lube to remove the stick up your butt. <7> oh <1> hehe <9> oooO theres the irc astroglide reference for the day <7> but, uhmmm ... seriously, anyone uses php5's soap ext ? <4> Could someone help me with this script I'm writing for my personal blog? I'm trying to list the number of blogs in a given month under a given year. I can get the years but I'm not sure what to do from there. <10> Billy, what do you have so far? <11> anyone use Pear::SOAP ? <4> Can I post the code snippet in here or an external source? <10> check date funcions in mysql <7> tonester: , have i seen you as the only person in #soap earlier? <7> :P <10> Billy, pastebin.com <4> I can grab the year <4> s <11> lepine_h: sadly, yes <4> using the right SQL <4> mysql_query("SELECT blog_year FROM ****ing_blogs") or die(Error("Can't Get Blog Years")); <4> but from there I'm not sure on how to sort them out. <7> billy, something like this select count(id) from blogs group by extract_year(date) (don't know the exact command) <7> but mysql has decent data manipulation functions <4> Hang on let me give it a try. <1> odd.... <1> sessions seem to not work on my website for login.. <1> some websites just need to be shot and rewritten <12> http://developer.yahoo.com <--- You know you want it <1> wait wait wiat.... what? <1> thats neat.. <11> ok SOAP bites <11> I'm considering never showering again
<1> generally inanimate objects (specificly coded ones that dont exist outside of binary) dont really bite.. <13> how can we avoid "undefined indexes" notices on when a condition don't needs them? or.. is that a problem? that would only outputs on error_reporting(E_ALL); <12> I think he referring to emulsafactants <1> hehe <12> PrinceI: Don't use a variable if you don't know it's set. <12> s/variable/index/ <14> anyone see the Yahoo Maps <14> that uses FLEX <14> very cool <12> nmatrix: yeah, like, four months ago <1> s/s\/variable\/index\//s\/variable\/variable and index\/ <12> Welcome to 2006 <14> Pollita: hey Baby I went back in time <14> give a time traveler some respect <1> has anyone used AOLServer? <15> itrebal: For about 15 minutes back in the '90s <1> TML: awfull? <15> yeah <1> i thought about downloading it just to take it for a spin <16> hi <2> So I'm trying to send info from a textarea through a form and retain the formatting. What's the best way to do that? I tried nl2br, but for some reason it's putting in 2 <br /> per newline. <15> itrebal: It may have gotten better. <17> what would casue a session to not be held from page to page is the first line is session_start(); <15> Nexus: Because the string contains '\r\n', both of which are converted to a single <br /> <1> TML: meh, knowing it ****ed back then satisfies my craving to try it <2> TML, I guess that would make sense. Suggestions on how I'd keep the formatting across a form? It's a user feedback form type of thing. <1> bah! google has foiled my plans <15> Nexus: <div style="white-space: pre"> <1> as <pre> been depreciated? <2> TML, Cool. I didn't know there was a white-space css element. <3> <pre> works just fine in html 4.01 trans <13> Pollita, sorry, i had to leave for a bit. i need the variable. the only situation it's not viewed when a condition is done. <2> Hopefully it works fine in XHTML1.0 trans <1> uhh.. <18> I get a 'User Notice' even if I call a function with an '@', should it be like that? <16> how to match any string in <a href=""> _HERE_ </a> ? <16> _HERE_ may be html code, or any chars <1> regex? <16> yes, i know <1> ok <1> lessee.. <16> but i don't know how to make a pattern <1> i havnt done this in a while... /<a href="(.*?)">(.*?)<\ <1> /a>/ <18> gulldarek: '/(<(?:[^<>]+(?:"[^"]*"|\'[^\']*\')?)+>)/' <1> that works too <19> Pollita, to better explain, this -> if (!$errors['ficheiro']) { <- that variable will never be ***igned if there are no errors <1> though wouldnt that match any HTML tag? <16> astrocowboy: :| wtf? :D <16> thank you both <18> yeah it would <20> hi, whats the php function to extract the year from a date variable... that is from mm/dd/yyyy return yyyy <18> gulldarek: then use prge_split and check the array for elements not starting with '<' <21> cdmbhs: combination of strtotime() and date() <18> Isn't '@' supposed to suppress error messages and notices? <21> warnings <21> not errors <18> I use it like this: while (@ob_end_clean()); and get a 'User Notice'... <21> cdmbhs: $year = date("Y", strtotime("03/21/1982")); <19> astrocowboy, seems you aregood at regular expressions. is it easy to do one to replace all non [alnum] on a file.name? (not extension though, that is validated other way) <18> Pincel: not that good but, I don't understand really, what do you want to replace and to what? <19> astrocowboy, i got a way to avoid messy file names that could do something wrong on the shell by replacing it by the ip of the uploader. but still i wonder how to make that expression and possible use it. <1> cant you do like preg_replace('/^(.*?)$.(.*?)/e', 'replace_function($1).$2', $str); <1> i am probably absolutly wrong though <1> :) <22> preg_replace_callback or if you want to get icky, the /e modifier. <19> astrocowboy, this filename will get you in trouble for a while if you don't have access to the shell or don't know how to escape it the way it were supposed to be before -> test;#{\'`@test.txt <18> Pincel: all non-number/letter chars? <19> yes astrocowboy <23> hey.. i'm looking for code or documentation on creating a php page like whatismyip.com <19> astrocowboy, non [[:alnum:]] or [[]] , i guess ... :) <22> Ugh, ereg is icky. <19> astrocowboy, those do the same i know, but i get stuck on everything else
Return to
#php or Go to some related
logs:
ubuntu kdetv fglrx #fedora #egghelp #linux #css Association request to the driver failed Ubuntu ndiswrapper gentoo-sources genpatches 404 not found #perl sendmail smart relay host sendmail.cf aix libxine1-main + ubuntu
|
|