| |
| |
| |
|
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
Comments:
<0> " Getting back on-topic :p" hehehe sorry about the subject :P <1> numist: Easiest way is xdebug, IMO <2> Wolfie7AU: you've asked three times already. If it's not available on php.net and google found nothing, then you'll have to do it yourself. <3> hrm :/ <3> kinda wanted to write a cl*** that could Just Run on most anything... <3> but you cant set up arbitrary callbacks, can you <1> You can't really intercept that way, no <3> :/ <1> Much more of the engine internals would have to be exposed to the userland <3> I was afraid of that... <3> ah well <1> xdebug is pretty good at it <1> I've used xdebug for precisely that to great value <3> yeah, but my friend wants to run this plotter I already wrote up on a production server <1> hm <3> so it doesnt really work for him to play with the modules while its up
<4> CryWolf, drat! Rather surprised there's not one easily available, PDF is far more universal than CHM etc, oh well! <3> well, at least I have posix_times, that is a bit of help <3> it really looks like most of his problem is the ob <1> Wolfie7AU: I'd disagree with your ***ertion that PDF is universal, when it comes to open source documentation <1> numist: Would be surprising <1> ob isn't particularly light <2> Wolfie7AU: pdf is for getting exact formatting, not necessarily for searchability. <3> adding gzip changed the runtime down by about 5x or so <1> PDF is for marketing materials <3> as if its waiting for confirmation that the data was recieved before continuing or something (!?) <4> CryWolf, yeah, but still handy :) <1> See Neilsen's Alertbox, "PDF - Avoid for On-Screen Reading", at http://www.useit.com/alertbox/20010610.html <1> Also "PDF: Unfit for Human Consumption <1> ", same site <4> TML, noway! Have plenty of ref manuals which are in PDF, so most certainly more wide-spread than "marketing" :) <4> Anyway, getting off-topic again <2> Wolfie7AU: I have them too. Kind of a pain to read through. Though maybe I just need something better than xpdf. <1> CryWolf: Try gv. At least it usually ****s a little bit less. <4> CryWolf, yeah, xpdf is litle more than a "viewer", not many tools <2> then again, lynx works perfectly fine for most html documentation <1> Exactly <4> Anyway, not finding what I'm looking for here, bye all <2> either gv doesn't select text and links, or this document doesn't have any. <1> CryWolf: I'm not certain, but I could swear I've selected text using gv <1> Then again, it's been a month or more since I even started X <5> select text? I might be missunderstanding, but gv rasterises the document then displays it .. there's no text any more just pixels <2> hrm...xpdf actually seems to have a couple more features than gv, from what I can see <2> not important enough for me to worry about <6> how can i refer to a variable that is in another php page. For example: pageA -> PageB -> PageC. I want to read a variable in pageC which is in pageA. <2> Cambridge13: session or form field <6> if i say: read the variable of that field (which is 2 pages back) will it recognise it? <2> Cambridge13: try it <6> how can i get the error of a query?? is it var_dump? <5> CryWolf: if you're using kde then use kpdf .. much better than xpdf <2> Cambridge13: you've been coming in here for several days, haven't you? <6> yes <2> I'm pretty sure you've been told how to get error messages. You've also probably been told how to use the php manual. <6> time consumption.....)/ <2> Such as, all of the mysql functions are in the mysql chapter. Which can quickly be reached at php.net/mysql <7> Anyone know how are we supposed to attach files when sending a message to the PHP mailing lists? <7> Think it is as a text file... <8> can someone help me really quick with this tutorial on what its asking me <9> tdd1984, dont ask to ask the question, just ask the question <8> lol okay at this website http://webmonkey.wired.com/webmonkey/99/21/index2a_page5.html?tw=programming go to the 7 or 8th paragraph where it starts out saying anyways lets get on with the database, and says i need to enter this stuff in dos well i did, but it didn't work like it says <8> it says this too The first thing we need to do is create the actual database. From the command line, type: <8> mysqladmin -u root create mydb <8> or should i just go to mysql, and create a new database called mydb <9> well did you type that in command promt? <8> yes <8> mysql database is on the server side <8> my hosting company <9> oohh okay <8> not on my pc <9> so you canot directly access it <8> through shell commands <8> ? <9> easiest solution is to get phpmyadmin set up on your server <8> okay i got phpmyadmin set up <9> then log on with that;) and there will be a link to execute querys <7> tdd1984: there is a SQL tab - if they just give yout he SQL to create the table <9> then you can just copy past it in, and it will work like your at the server side
<9> i mean at the server =\ <8> so i need to copy the mysqladmin -u root create mydb into the sql query? <8> or does that mean just create a database called mydb <9> when you log into phpmyadmin you will already start up and log in with your user, if set up correctly <9> so insted of calling the program with the user, you just need the create mydb part <8> k <8> i see <8> so just createa a database called MYDB <8> then i run this in the query CREATE TABLE employees ( id tinyint(4) DEFAULT '0' NOT NULL AUTO_INCREMENT, first varchar(20), last varchar(20), address varchar(255), position varchar(50), PRIMARY KEY (id), UNIQUE id (id));INSERT INTO employees VALUES (1,'Bob','Smith','128 Here St, Cityname','Marketing Manager'); <10> is it normal output for php-config -libs --> -lcrypt -lcrypt -lmysqlclient -lgd -lz -lresolv -lm -ldl -lnsl -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt -lxml2 -lz -lm -lxml2 -lz -lm -lxml2 -lz -lm -lcrypt <9> tdd1984, the command is acually CREATE DATABASE mydb <9> then type USE mydb <9> and then type that query in <9> following with ; for each statement of cource <8> do i run the create database mydb in the query window <9> yup run create database mydb; <2> tdd1984: a good book is "PHP and MySQL Web Developlement" <8> i did, but it said error database already exist cuase i was trying to enter that into the query of mydb database is that why it came up witha error <2> Development, even <9> tdd1984, not to be insulting or anything, but maybe it does already exists.. php is real easy to use. <8> i know that <8> well I created the database already <8> under phpmyadmin <9> tdd1984, i mean phpmyadmin is <9> ;) <8> yea <8> tama00; yea it seems easy just getting famaliar with everything <9> tdd1984, it should list your database to the left <9> tdd1984, in a drop down box <8> tama00: look what i get when i entered this statement http://pastebin.com/724104 <9> before you type in create table put in USE mydb; so it knows what database you are using.. its complaining about '0' being an invaild default varaible <9> try removing the quotation marks <9> because then it wil be the string 0 not the integer 0 <8> i removed the quottation marks, but i get the same error <9> ahgg , im not pro with mysql but maybe the defaul 0 is not likeing the auto_increment <11> any easy examples that doesn't invole some crazy cl*** to upload a file with a nifty progress bar? <9> try removing default <12> i'm havnig trouble understanding Example 1 on php.net/fgetscv. can someone help <8> dangit now im getting this error http://pastebin.com/724108 <12> i'm trying to build a while statement that will grab each row from a csv one by one & allow me to access each field based on the position.. <9> tdd1984, yeah because you have a random 0 there <9> tdd1984, the 0 was a vaule of default and you removed default without removing is value, so now what does that value mean to mysql? <8> so remove the 0 too <8> okay i did, and it just successfully excuted the query <9> tdd1984, yay party! <8> yup well heres the code i posted http://pastebin.com/724113 <8> or i mean query <9> okay in the future when you want to create tables with querys, always remeber to include USE database; (replace database with databse name) to mke sure your making a table in the correct database.. <13> hi <8> tama00: does varchar(20) mean they can only type 20 char. in <8> okay tama00 <9> tdd1984, yup <8> k cool <8> whats php3 <9> tdd1984, you should really read up more on mysql database if you wanna get more into it <9> tdd1984, php version 3 lol <8> it said lets connect to the database on this tutorial, but use .php3 why can't i use just .php <9> tdd1984, who said you couldnt just use php <9> i mean '.php' <8> Tama00: well thats what im doing now is reading, but I want to create a cl***ified ads website, but i need a database cause im gonna have it where the user can post a ad, and another page will pull it from the database, but i'm gonna charge them 3 bucks to place there ad for 7 days, and i want the database to automatically delete the ad after 7 days <14> .php3 is deprecated <8> deprecated? <14> yes, deprecated <9> lol <14> you might need a cron job for the auto delete <8> yea yea i know <8> flaccid: what do you mean cron job? <8> lol <8> sorry <2> tdd1984: if you're looking at a tutorial that's referencing php3, you might want to start looking elsewhere. <15> unix equiv of windows scheduled task <15> regular job to delete records from the db that are 7 days old <8> yea, but i can set the database to automatically delete them after 7 days thow right <7> I'm out
Return to
#php or Go to some related
logs:
irc gaim nicksaid lasershot lbp 2900 ubuntu ubuntu modprobe i2c driver boot gentoo Recipient addresses must be specified on the command line #bash /etc/fstab global-write python file seek SEEK_END wikipedia lhrrwcc PHP_MODNAME Python Concatenate List to String
|
|