@# 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 20



Comments:

<0> yea i suppose but i wanted a automated method and all the examples involves running querys before the site works
<1> nam: i missed it
<1> Kingsy101: so use a text file
<1> and auth against the text file
<2> i need to know how to enable pseudo terminal support for proc_open in php
<1> It would take me ~90 seconds to write one.
<2> the manual says it's supported in php5, but i can't find a way to enable it
<1> Nam: What do you mean? what are you trying to do
<0> do you have any examples of a site that works like that? sorry... i am a bit new to this
<2> i have php 5.0.2 on a machine right now, and it doesn't support it
<2> for the proc_open command http://ca3.php.net/manual/en/function.proc-open.php you can ceate a pty pipe to interact with shell commands
<3> hey im still here!
<1> Nam: interesting.
<1> Nam: how do you know it isnt working?>
<1> nam: did you see the comment? "The pty option is actually disabled in the source for some reason via a #if 0 && condition. I'm not sure why it's disabled. I removed the 0 && and recompiled, after which the pty option works perfectly. Just a note."
<2> because if i set the array pipe list to pty, it says it isn't supporting pty support



<0> myconid - what would be the difference from using a mdb and a txt? you can still read both of them
<1> Kingsy101: you can read a text file, you cant reaed a mdb file.
<2> no, i didn't see that comment
<2> who wrote that?
<1> nam: andrew dot budd
<1> nam: why would you want a ptys created in php?
<2> because i need to interact with shell programs
<0> you can read a .mdb file through php cant you? I have seen a site that does it
<1> Kingsy101: mdb is a microsoft access file.
<2> i need to run sshfs to mount a remote system through automation
<1> you need microsoft access to open it
<1> nam: make a shell script that does it?
<1> and call the shell script from php
<2> and when i run it, since the shell isn't a pty, it can't interact with it and do it
<2> i thought i would run into the same issue because it's being run from a non pty shell
<3> guys
<1> hrmm.. wierd
<3> https://www.fadehost.com:2087/scripts2/wwwacctform i want to enter that page with php
<3> guess it requires openssl cert
<1> chillyd: use wget or curl
<3> woot?
<1> english?
<3> no african
<1> figures
<3> lol
<3> wget for linux/unix you mean?
<3> or some php cmd
<0> http://pastebin.com/598920 that accesses a mdb file doesnt it?
<1> chillyd: wget is a command line util, curl is an extension to php
<1> Kingsy101: yep
<0> so you can do it?
<1> Kingsy101: I already told you that you could, and I told yuou exactly how.
<4> actually curl is a command line program for *nix. the php extension simply wraps it IIRC
<1> lig: .. the difference is trivial.
<0> you said <1> you need microsoft access to open it
<0> sorry if i am being stupid
<4> maybe - but wea re programers and details are our job
<0> i am a newbie tho
<1> Kingsy101: open it as a odbc connection
<0> ah right
<4> hehe - just ignore me
<0> hehe sorry
<1> lig: please stop nitpicking.. php implements the curl library, so it isnt a command line util, it is C code being called from php.
<1> it is called directly from the php process
<1> Kingsy101: setup a system dsn and open the mdb file through ODBC.
<5> whats going on?
<1> Kingsy101: wants to base his site on microsoft access.
<1> and lig is arguing specifics
<1> other than that, quiet night
<4> not much itrebal - yourself?
<6> Hi. how do i capitalize "foobar" to "Foobar" ?
<5> exausted in every way i know, and for no reason
<0> hmmm yea... i aint sure how to write a ODBC tho that would p*** the correct info...
<1> shevegen: preg_replace
<5> what sort of lashback will occur when i set my computer clock one hour back?
<7> shevegen: http://php.net/ucfirst
<1> is one way
<1> or that :)
<5> i always forget the uc commands
<1> me too



<5> i always thing sp... no, st... no..... etc
<1> i just use preg_replace
<6> thanks
<1> lig: nice unreferenced acronym
<0> it needs to get the l/p that the user enters check it and re-act according to the check reckon thats hard? is there an example of it somewhere that someone has done?
<4> uf - user friendly
<1> Kingsy101: use a text file.
<1> Kingsy101: google php authentication
<0> yea i suppose a text file would be easier
<1> I suggest you google 'php text file authentication'
<1> and use any of the first 100000 tutorials.
<5> myconid: the first 100000 ****... i recommend any in the second 100000
<8> kodekrash: Are you there?
<9> i recommend the swiss army knife-like php manual on php.net
<5> tws: havnt seen hima ll night'
<9> before you get any ideas, im talking about the zipper on my jacket
<3> itrebal is here whee :d
<8> itrebal: Ah, I see.
<5> chillyd: mostly, i'm pretty tired and out of it
<3> aiit but i got a question for ya
<5> whats that?
<5> (by the way, i got some prep-work for getting my wisdom teeth out, so i really do mean it - i'm a little out of it)
<3> I'm using webhost manager for cPanel to add new accounts and in order to do that i have to be "logged in" but I want to add a new account trough a php page, how do I do that? the forms for new account is in javascript and all thats, im pretty confused
<9> chillyd: you know that this login part is to make it SECURE?
<5> well you can use cURL to login to sites, in many ways (apache auth. post, get, etc)
<3> Fushuing, I was planning to do a login check for the php page too but I guess your to dumb to understand that
<9> then why not just use cPanel?!
<3> itrebal, ye i can get trough the page.. via post and so on but how do i do the form part? i cant use same form names and post method cuz the cpanel part is in js and not html/php =p
<3> because im working on a "reseller" function
<9> cPanel has that built-in :S
<3> no ****
<9> i thought
<3> but resellers for reseller accounts
<3> something like that
<5> uhh... you could probably sort through the javascript,a nd figure out how it really works deep down, and recreate it
<9> reselling...resellers
<9> i can see an awesome loophole here
<3> Fushuing, a reseller of ours has started a company that is quiet successfull and ive offered him dedicated servers but he refuses and he wanted a reseler system for his own reselling part.. dont ask me why :p
<5> chillyd: you should put into your agreement that if they make *insert profit ammount here* anually, they have to get a dedi
<3> well
<3> im getting much more payed so screw that :D
<5> hehe, sounds good
<3> jop :D
<5> hehe, this is clever
<3> :P
<5> a friend of mine is writing a bot on the OSCAR (AIM) protocol, and he uses Gaim, and has setup an action that when is bot logs offline it automagically commits his repository, and part of the post-commit-hook is starting up the bot
<5> (starting/restart)
<5> and.. chillyd, i have no idea... sorry
<10> itrebal: clever.
<9> test one two
<3> hehe thx anyways
<5> (thats only because when the bot closes, its because of a segfault/something else
<10> chillyd: whats the prob ?
<5> " I'm using webhost manager for cPanel to add new accounts and in order to do that i have to be "logged in" but I want to add a new account trough a php page, how do I do that? the forms for new account is in javascript and all thats, im pretty confused", "itrebal, ye i can get trough the page.. via post and so on but how do i do the form part? i cant use same form names and post method cuz the cpanel part is in js and not html/php =p", "itrebal, ye i
<10> httpclient, a stored cookie with the login, and posts to the cpanel page ? :P
<11> How can I include the html output of a php file in an html .tpl file?
<5> output buffering, as well as str_replace could be very usefull
<12> I'm having problems printing latin characters....
<12> I have text in utf8 and htmlentities is broken them...
<12> can someone help me?
<10> javimansilla: your prolly having problems displaying them in html. you might want to set the page encoding. that has more to do with html.
<5> http://www.muffinnation.com/crackmuffin/bodymod1.jpg
<13> itrebal: You?
<5> hell no
<13> lol
<10> itrebal: sickening. :P
<5> yea
<5> http://www.crackmuffin.com/html/Body-Modifications.html
<13> He looks like one of those white supremacist nazis
<5> yea
<5> those *cant* be good for you


Name:

Comments:

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






Return to #php
or
Go to some related logs:

#physics
#ubuntu
#perl
4400c dapper
#gaim
#linux
totem subtitle_font gconf
hansaresearch
#linux
timeoutd not giving warning



Home  |  disclaimer  |  contact  |  submit quotes