| |
| |
| |
|
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
Comments:
<0> lig, ah but I don't use smarty <0> TBNolan, yes :) <1> whats a better solution? <0> TBNolan, can lead to many problems (concurency, for example) <2> whats an easy way to print out an array in human readable form? <3> TBNolan: using a text file or DB to hold the news <3> madgoat: print_r <0> TBNolan, store your news in a db or flat file, and translate them to html dynamically <1> so instead of news.html it will be news.php :) <3> hey darlin Stormchaser <0> TBNolan, you got it <1> i wish i knew how to use mySQL a little better- i can't help but think i'm making a database in .txt files with all this work i'm doing:)
<4> hey guys <4> just a quick question <5> lig: you are one perverted woman :) what would your husband say ? ;) <4> i can't seem to connect to my mysql database on my hosting <2> how do I make an empty array <2> ? <2> $c = array(); ? <0> madgoat, array() <3> Meltir: he likes me a little off center <4> I can't contact them, can i run a script that would tell me the right server ? <5> Skwid_: pl.php.net/mysql_error <4> Meltir: i just get a 'cannot connect to database' <5> get more info on the error. you should have some administration panel for your account - use that to determine the proper db info <4> no info there <5> then pester the support :) <3> Skwid_: you may have a problem connecting to the Db if you used upper and lower case letters in your DB name... I sumetimes have that problem so just use lower case now <2> can I use array_splice($myarray, $index, 1, array()) to delete the element at $index? <2> seems a stupid way to do it, <3> unset madgoat <2> ah! ok, <2> I just unset that element 'unset($myarray[$index])' ? <4> lig: ill try that <4> lig: nop ... <4> but the weird thing is i can use phpmyadmin <4> but if i try to connect on localhost with the same user/p*** as phpmyadmin <4> it doesnt work :S <3> maybe a problem with your grants then... *shrug* - talk to your support <4> lig: i wish ... <0> Skwid_, try connecting to 127.0.0.1 instead for a change <4> Loevborg: trying <0> finding an error with mysql connexion problems is immensely irritating and infuriating, I know <4> it is :S <4> nope ... <3> sounds like it is time for you Skwid_ to try #mysql <4> lig: ok well thanks guys <4> I'll wait for some support guy to answer ... <4> MySQL Error: Could not connect to the database server. <4> :S <6> I get this when I uploaded a script to a host "Warning: main(): SAFE MODE Restriction in effect. The script whose uid is 939 is not allowed to access /usr/local/php/share/pear/DB.php owned by uid 0 in ..." <6> how would I solve this <6> the script just doesn't work in safe_mode <7> is there a php equivalent to perls 'next'? <7> n/m. <7> sigh. <3> CraZyLeGs: php cron script using PEAR? I had to point my scripts to a local copy of PEAR <6> well, they are providing PEAR, but in the same time they have safe_mode to restrict access to it ? <6> I just don't get it <8> hello are the people in this channel familiar with sql <6> it's hostway btw <8> who knows a good channel for sql queries questions <3> bladhasd: maybe #mysql <3> CraZyLeGs: yeah - my host did the same thing... odd <6> I'm gonna email them <9> Hi. I just installed PHP5, and when i start apache and try to get to a website, i keep getting segmentation faults in the error_log. <9> any ideas why? <10> I want to do a header redirect to a new window. Is that possible? I don't want to just give them a clickable link if I can avoid it. <3> Smegzor: php.net/header <11> Smegzor: header() sends HTTP headers, so it's server stuff. <11> Opening new windows is client stuff. You might need JS <10> hmm.. well its not essential that I do it this way. I have a button they click to export data and just want to avoid having them click twice. I'll just have to move that function out of the page.
<6> lig: what did you do for the fopen, mkdir, unlink, rename.. kinda functions ? <3> CraZyLeGs: didn't really have to do much with that - but the little I did was "legal" on my directories <9> did the php syntax change for the opening header? is it now required to do <?php instead of <? ? <12> Slade, no, but you should use <?php. <12> SOme severs have the option to use <? turned off. <12> <% can also be used, but it is not reccomended. <9> now it seems like PHP isnt turned on <9> because when i do a view source, im seeing the PHP code <9> did the configuration file php.ini change with php5? <3> Slade: how about the apache config? <3> hehe - http://www.unitedmedia.com/comics/dilbert/archive/dilbert-20060130.html <9> lig: i have php turned on in the apache config <9> and when i also enable the php4 module, i get segfault errors <13> lig: yep, that was a good one <9> anyone know how i can figure out why?? <14> Slade: You only have php5 module and addtype lines in apache config? <14> Slade: You cannot run 4 and 5 on same server instance. <15> Not both as modules anyway <15> You can run one as a module and the other as a CGI though <16> http://www.unitedmedia.com/comics/dilbert/news_and_history/html/dogbert_origin_strips.html <-- these are good, too ;) <14> Slade: Also check your php.ini file, short_open_tag is Off by default in 5... not sure what it was previous - I never used them! <9> got it <14> Stormchaser: LOL... giggling like a loon now! <16> GarethAdams: I laughed like insane ;) <9> ok that worked <3> LOL <14> Stormchaser: WhoTF is GarethAdams!?!?! <16> Here. YOU have the honour to kill them tab :) <14> he he. <16> :) <9> ok <16> GarethAdams: Thanks! <9> now php is working, but.... <14> lol <9> im using a form with the POST method <9> and when i try to use it, it's acting as if i never entered anything into a field. <9> as if register globals was off <9> but it's on <17> Slade: php5 might turn register_globals off by default too <13> ds-, yes. <9> got it <9> i forgot to restart apache after editing the ini file <14> Slade, register_globals is evil, recode your whole application to use $_POST <17> heh <17> Gargoyle: if only life were always that simple <14> Anyone see im(what's his face) message earlier about *.php.rar files being parsed as php? <17> Gargoyle: I've seen that happen with other extensions too <17> I think it has to do with one of those language mods in apache <17> I can't remember off the top of my head though <14> ds-: Yeah, but not all. I tried *.php.xyz and it just downloaded the file. <18> Hey, I can't get PHP to load the mysql extension. I have extension path correctly set extension_dir = "C:/PHP/ext/" and have uncommented the extension=php_mysql.dll and i've restarted apache. Also checked that i'm loading the correct config file.. any ideas? <14> ds-: Adding a line to mime.types fixed it, but would be a nighmare to try and check all extensions! <17> heh, yes it would be <14> Zyclops: Windows is evil. Recode you whole application to use unix! <17> I am not sure why it would do it to .rar <17> Zyclops: are you getting an error when you start up apache? <18> Garegoyle: it's a development machine <18> ds-: no, just going to check logs <19> hehe, why did bill gates cross the road?3 <8> does anyone know what this erro means in sql: <8> ERROR at line 7: <8> ORA-02256: number of referencing columns must match referenced columns <14> itrebal: To look through Apple's window for the next longhorn feature! <18> ds: no errors <19> Gargoyle: close! to crash all the computers on the other side! <17> have you checked phpinfo() <17> ? <3> bladhasd: is it an insert? <18> ds-: yes mysql does not show up in phpinfo()
Return to
#php or Go to some related
logs:
leek-girl #php wulfor gentoo #lisp python+load postscript
#osdev #python #css trouble with prelink -a ubuntu #mysql
|
|