@# Quotes DB     useful, funny, interesting





Google
 
Web www.quotesdb.info
Undernet  |  EFnet  |  Quakenet  |  Freenode  |  Dalnet  |  Ircnet  |  Galaxynet
Page: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19



Comments:

<0> heh, true
<1> 2^62
<1> 2^63 even
<1> my calculator can't display it
<1> but it's a limit
<1> :D
<1> heh... 92233700000000000000000000 ... that's a lot of 0's
<0> I'm sure you can fill that in a year :D
<0> in a big loop
<1> this project is horribly m***ive
<1> heh
<1> I hope they're expecting a mid-to-high XXXX quote
<1> because that's what they're going to get
<2> sk8ing: do you have 5 min for me please i need your help i can't handle
<0> shoot
<2> well can i provide you what i've done until now, and can you add the code for delete content



<2> as i said i'm a bit or a bit more stupid :(
<0> I can give you hints
<0> I solved problems the entire week :)
<2> ok but you have to see the file and what i'm looking for
<2> just a min to see you a image
<2> show *
<2> http://petrucercel.uv.ro/admininterface.jpg
<2> please take a look over it
<2> i've made everything and it works fine, but i can't make the remove button/script
<0> ...
<2> have you seen the pic
<0> yeah
<0> and it has nothing to do with the code
<0> :)
<2> just a min i will upload the site
<0> <form action="mydeletescript.php<?php echo $MYLINE_NUMBER; ?>" method="POST"><input type="submit" value="delee me!!"></form>
<0> this would be the code for the deletion thing
<0> $MYLINE_NUMBER represents the line number inside the file
<2> but how i create that file ?
<0> wich file?
<0> it's the line number from store.txt
<2> yes in store.txt
<0> ...
<2> i have a single line
<2> please wait just a min to upload the site
<0> and you wanna delete it? :D
<0> ok
<3> anyone could guide me please how to enable require_once in php ?
<4> um
<4> Its enabled by default?
<2> sk8ing: still thwere
<5> 183
<6> hi
<7> 'sup, sahn?
<6> am trying to send sessions variables
<6> but i can't
<7> that ****s.
<6> i just write in the first script: $d= 4; $_session['a'] = $d;
<6> and in the second script i write: echo $_session['a'];
<6> shouldn't this work as well
<6> ?
<7> did you ever start the session?
<6> yes i did
<6> i always write at the top: <? session_start() ?>
<6> sure with the semi colomn
<7> first of all, php needs to start with <?php session_start(); ?>
<7> <? is xml
<6> yes that is what ido
<6> i do
<6> so in general what i do is right ?
<7> secondly, i'd throw in <?php error_reporting(E_ALL); ?> to make sure you're not missing some sort of error message
<7> and use all caps in $_SESSION[]
<7> other than those, yes what you are doing is correct
<6> where to put this : <?php error_reporting(E_ALL); ?>
<7> at the very top of your script
<6> rdw yes they are written in capital
<6> ok
<6> even before the session_star(); ?
<7> yes
<7> you can put stuff before session_start() as long as it doesn't output anything to the browser



<6> okay
<6> hmmm still it's giving me the same error
<7> what's the error?
<6> can it be because of the firewall
<6> ?
<7> ?
<6> Notice: Undefined index: sad in h:\easyphp1-8\www\tr2.php on line 11
<7> {}naz: why on earth didn't you tell me this before?
<7> that tells you exactly what is wrong
<6> lol, ok here am telling you
<6> this is the the eleventh line : <? echo $_SESSION['sad']; ?>
<6> what is wrong with this
<7> if you know your breaks are out when you take your car to the mechanic do you make him guess for an hour before you tell him the dashboard said the brakes were out?
<7> gd
<7> {}naz: put the whole script on pastebin.com and let's end this circle-jerk
<6> okays
<7> i'm about to suspect you for a troll and ban your *** if you don't bring up the quality of this help session soon
<5> how do i copy characters i through j of a string to a new string?
<6> rdw ok i just posted the two scripts
<6> i put them under each other in one page
<6> under the name {}naz
<7> link?
<6> http://pastebin.com/571857
<5> nm substr
<6> [xt] rather than solving your problem try to solve my problem first lol
<7> {}naz: the code looks fine to me. if you check your temp folder are sessions being created in it?
<7> {}naz: well, i mean it looks fine other than the short tags. you need to make <? <?php
<6> can that be the problem
<6> where is this temp folder ?
<6> am new to programming world
<7> {}naz: you'll have to check phpinfo(); and see where the temp folder is set
<7> on my linux box, it's /tmp
<6> ok
<6> i use windowsxp
<5> {}naz sorry man my php experience is currently 3 hrs
<7> it's possible php doesn't have permission to write the session temp files on the filesystem
<6> rdw someone told me that zone alarm (firewall) can prevent them to move from a page to another
<7> {}naz: no, your firewall is irrelevant in this case
<8> hi rdw
<7> here's what's happening: you are getting a notice from php saying the index 'sad' is not found in the array $_SESSION
<7> it's not an error, just a notice
<7> which means the session isn't keeping your value from one page to the next
<7> 'sup, vardhan
<8> n/m
<8> finally got around to coding PHP last night
<7> {}naz: i don't see any obvious errors in your code, which leads me to believe maybe php isn't writing the session temp files to the hard disk, and therefor loses your session values from one page to the next
<8> guess what i made
<7> vardhan: cool
<7> what's that?
<6> TEMP C:\DOCUME~1\Nazzal\LOCALS~1\Temp
<6> TMP C:\DOCUME~1\Nazzal\LOCALS~1\Temp
<6> which one to look in ?
<6> oh they are the same lol sorry
<7> {}naz: is that where phpinfo said it was storing your sessions?
<6> yes
<7> ok, run your script and look in there and see if it's putting files in there
<7> they will look like: sess_b91cde953c8cecda3770cb62eee5ebff9
<6> ok
<6> rdw they should start with sess ?
<7> they do in linux. probably do in windows as well.
<8> .. so you aren't gonna guess?
<7> vardhan:
<8> i made a scraper
<7> you made an ajax based customizable geico gecko that does the robot?
<8> rdw: close!
<7> oh.
<7> lol
<8> it scrapes through bash.org and indexes all the quotes with over 1,000 votes
<8> leaves out all the crappy ones
<7> nifty
<7> scrapers can be fun to write
<6> rdw lol nothing like that
<8> out of 19,000+ quotes, it indexed around 950


Name:

Comments:

Please enter the result of the sum 63 + 46 (to avoid spam):






Return to #php
or
Go to some related logs:

#linuxhelp
strclass.cpp
#c
better than wrt54g
#linux
#linux
#linux
glicoza
paviaanit runkkaa
#skype



Home  |  disclaimer  |  contact  |  submit quotes