RE: [PHP] Great Opportunity for all group members!!!

2003-04-05 Thread daniel
lol this would have to be the first i got from this list, i get dozens of korean spam everyday , the encoding is all wrong and all comes out is gibberish characters , how do i stop this ? >= Original Message From "Sebastian" <[EMAIL PROTECTED]> = >hehe. i should get me one of those ;) > >

RE: [PHP] Timing test of the parser... Makes no difference

2003-04-05 Thread daniel
here is the trick the solaris guy showed me , i've intergrated it into a webpage for showing the results time php somebenchmark.php > /dev/null time will show u the results of the compiling , the microtime version has to allow time for running through apache :) >= Original Message From "Dae

[PHP] Variables don't pass... *sniff*

2003-05-28 Thread daniel
ne. Actually I used the same scripts fine on my old config. This was on XP however, so I'm not sure if it's got something to do with the OS. I'm hoping it's a configuration issue. Any ideas are VERY much appreciated =). Thanks, Daniel » There are 10 kinds of people - those

Re: [PHP] Variables don't pass... *sniff*

2003-05-28 Thread daniel
es in a scripts, so you don't have to go... $var1 = $_GET[var1]; $var2 = $_GET[var2]; ...if that's what you wanted? (Not sure I want to, but just to know) Again, thank you! =) Daniel - Original Message - From: Petre Agenbag To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]

Re: [PHP] Variables don't pass... *sniff*

2003-05-28 Thread daniel
Hehe, guess I'm not the first to ask! =) I did actually read a lot, but at first it seemed to be my sessions that were destroyed, and indeed the session handling has changed, so... Forgot to read again I guess =) - Original Message - From: Chris Hayes To: [EMAIL PROTECTED] Sen

Re: [PHP] Variables don't pass... *sniff*

2003-05-28 Thread daniel
27;ll just have to check if either $_GET[aVar] or $HTTP_GET_VARS[aVar] is set and get the value from the existing one? Again, thanks for the help =) Daniel - Original Message - From: Petre Agenbag To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, May 28, 2003 12:

Re: [PHP] Variables don't pass... *sniff*

2003-05-28 Thread daniel
Thanks all! I think that I'll check for both variables to be absolutely 100% sure. I could easily imagine future version of PHP slowly getting rid of deprecated stuff like this to improve speed or something... Besides, the word "deprecated" scares me ;) Daniel "There ar

Re: [PHP] Variables don't pass... *sniff*

2003-05-29 Thread daniel
I did this: if (!empty($_POST)) { extract($_POST); } else { extract($HTTP_POST_VARS); } And have it in an include file, "extract_post.php". This way I can just include it and all variables are available, just like if register_globals had been on. Daniel. - Original Message -

Re: [PHP] Variables don't pass... *sniff*

2003-05-29 Thread daniel
> However, both of these "solutions" create the same security issue that > turning RegisterGlobals on took care of in the first place. :) Howcome? I don't think I understand that... Is the security issue not with the fact that you're POSTing og GETing variables rather than the way you do it? Woul

Re: [PHP] Variables don't pass... *sniff*

2003-05-29 Thread daniel
Okay, that makes sense, but I would never write a script like that in the first place ;) Not unless I'm really tired or something, in which case it's good to have this thing turned off by default =) Cheers - Original Message - From: Wendell Brown To: [EMAIL PROTECTED] ; [EMAIL PROTECTE

Re: [PHP] sending email

2003-05-29 Thread daniel
add this in the header section Content-Type: text/html; charset=\"iso-8859-1 also for html body use this $message = chunk_split(base64_encode($message)); > hi > > i want to send html format type of emails > using mail( ); function? > > is there a how to where can i start learning > that type of

[PHP] trikky authentication question

2003-06-01 Thread daniel
hi guys i have an authentication class , there is one last big issue to fix , i am trying to prevent multiple logins , it does this ok except , the first login gets kicked instead of the second one , i have a last_login date entry to work with , what else should i have so on the login check if the

Re: [PHP] trikky authentication question

2003-06-01 Thread daniel
doh silly me , i'll have to set a logged out flag , will help me in the long run :D thanks dude > hi, > this is only a very fast response :)) > is solved this kind of problem like that: > (quick solution for a chatboard - user cannot login for x seconds - > maxidletime) > /***two funct

RE: [PHP] trikky authentication question

2003-06-01 Thread daniel
What if I accidentally close my browser and come back to log > in? The system will not let me because I'm still "logged_in" until X > minutes pass. Also with this method, you need to keep track of these > attempted log ins and somehow alert the first user. good question i'm checking this out atm :

Re: [PHP] trikky authentication question

2003-06-01 Thread daniel
so wot do i check upon , (NOW() - last_login) > max_idletime ? what do i do with the other check for logged_in=0 ? > hmmm, > for me these few line are working well, user cannot login before > max-idletime is reached (i check the list every time an action is > taken on the board, if no user is o

RE: [PHP] trikky authentication question

2003-06-01 Thread daniel
wots the best solution then ?? "SELECT username FROM users WHERE logged_in=0 AND username='".$this->post ['username']."'" thats my current one but yes i get blocked out , what else can i add to it ? > > And you call that a viable solution? That's ridiculous. > -- PHP General Mailing List (

RE: [PHP] trikky authentication question

2003-06-01 Thread daniel
ok here is the latest sql query SELECT username FROM users WHERE (logged_in=0 OR (NOW()-last_login) > 300 AND username='".$this->post['username']."'" there is the idle time added but what after the idle time they log bak in and then kiks the first login out ? there must be a better solution ??

RE: [PHP] trikky authentication question

2003-06-01 Thread daniel
ok well i just noticed my sql statement is a bit flakey as its not a true idle time to get a true idle i'd have to keep a record of the time every request to the pages when logged in, this is checking when they lasted logged in so the user may still be logged in 300 seconds later , this isnt reall

[PHP] mirror search is going to google !!!

2003-06-01 Thread daniel
the idiot mirror search is going to google instead and not giving me results http://www.google.com/search?q=manual%2Fen%2Ffunction.connection- aborted.php+site:www.php.net&l=en -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] RE: connection_aborted was [PHP] trikky authentication question

2003-06-01 Thread daniel
how can i get this to work ?? if (connection_aborted()) $this->db->query("UPDATE users SET logged_in=0 WHERE userID=$this->userID"); > ok well i just noticed my sql statement is a bit flakey as its not a > true idle time to get a true idle i'd have to keep a record of the time > every request to

[PHP] user login idle timeout feature

2003-06-02 Thread daniel
ok so i worked out the connection_status and connection_abort will only work if the script is actually running and a request to the server , so i wont be able to tell if someone had closed the browser or not , what i'd like to know is , how can i tell if a user has not accessed the script for a cer

[PHP] preventing your php search to goto google

2003-06-02 Thread daniel
if you have been making a search and press enter it will goto google and not return any results, i found making the search and pressing the arrow stayed on your mirror , hope this helps -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Cookie security

2003-06-03 Thread daniel
ves in cookies and server sessions respectively, e.g.: Username = Admin-> Cookieusername = Ad, Sessionusername = min Password = Secret->Cookiepassword = Sec, Sessionpassword = ret ...and then do database connections with ... Any thoughts on this approach? Good idea or bad idea?

[PHP] fulltext mysql search formatting and preg_replace question

2003-06-03 Thread daniel
hi there i am creating a fulltext mysql search engine, i am generating the sql query from form inputs , within a fulltext text field , i can input exact matches like so "something1 something2" "something3 something4" , although there is a problem with this , the server defaults space between words

Re: [PHP] fulltext mysql search formatting and preg_replace question

2003-06-03 Thread daniel
i'll be less vague here is my regex $value = preg_replace("/\\\"[A-z]/","+\"$2",$value); i just need the quote before a character as i dont want a plus before the last quote :\ this chops off the first character and itsnt returning it > hi there i am creating a fulltext mysql search engine, i a

[PHP] splitting text

2003-06-04 Thread daniel
hi there , i am building a fulltext search engine which will use the mysql boolean search features , although it defaults to OR with words between spaces you have to explictly put a + in front of words so say i typed "some word" word2 ,to get both i have to do +"some word" +word2 how can i split

[PHP] project users manual howto

2003-06-08 Thread daniel
hi there i have nearly completed a project in php and need to find different approaches in creating user manuals , is there any tutorials or howtos out there and i am not talkin about phpdoc this is code doc level i need to find a good approach at creating the users level documentation let me know

Re: [PHP] Re: Warning Spammer

2003-06-10 Thread daniel
> That was a good suggestion about filtering headers.Thanks. > > Perhaps this password protected archive should be > impletmented. Who is really the idiot in these > circumstances the few idiots that sends spam or the > thousands that just put up with??? > yes well i dont know how they do it , bu

RE: [PHP] Re: Warning Spammer

2003-06-10 Thread daniel
i dont know u tell me, all i know is thats how i'm being mail bombed >> so do they get the emails from the archive ? ?if so password protect >> please !! > > Which one? This list is archived on numerous sites. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://ww

Re: [PHP] Re: Warning Spammer

2003-06-10 Thread daniel
And, to be honest: don't you want to "impress your girlfriend"? *ducking away* -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Warning Spammer

2003-06-10 Thread daniel
i dont know , i wasnt suggesting that , its silly , but all i know is i got hit pretty hard with spam once i joined the list , i have proof because i started getting the same @ my work email :|, any suggestions for a good filter maybe on the server side , i've tried to get my mate to install one i

[PHP] checking is session_start is already set

2003-06-11 Thread daniel
dumb question but how can i check if i have loaded the session_start function without actually checking for a particular session variable , i need to know as to prevent it being called twise within my DB class which is seperate from my authentication class where session_start is set so then the DB

Re: [PHP] Re: two php installations

2003-06-16 Thread daniel
hmm to spare the pain i run another instance of apache on a different port , one runs php4.3 one runs php5 :D > If you bug the PHP team some, they might rename the PHP5 module so you > can use both... I have PHP3, 4 and 5 (can someone please give me a > working binary PHP1 and PHP2 for windows? PLE

Re: [PHP] Multiple choices for e-cart

2003-06-16 Thread daniel
ok each product could have a category but also a group attatched to it, so each group red, blue, green has an id so each product is joined to a group with the primary key of the group like products.php?productID=1&groupID=1 for red products.php?productID=1&groupID=2 for blue etc ... and for gett

[PHP] Problems passing variables from Javascript to PHP

2003-06-17 Thread Daniel
characters in my query, right? What to do? I need to find a way so that the string can be encoded in Javascript and decoded in PHP and not get garbled. Thanks in advance, Daniel -- There are 10 kinds of people: Those who know binary and those who don't. -- PHP General Mailing List (

Re: [PHP] Problems passing variables from Javascript to PHP

2003-06-17 Thread Daniel
They're escaped with backslashes. Weird thing is, I did make a Javascript functions that converts every character to Unicode hex values preceded by %, but for some magical reason, when I use rawurldecode on the string, the apostrophes are still escaped! At the moment, this is beyond my grasp, but I

Re: [PHP] MySQL Connection

2003-06-17 Thread daniel
this is a mysql specific question i think u have to go flush privileges; after you do that > Hello, This seems not to be working, I am using win2000 and a newbie. > please simplify this process. > > ERROR 1045: Access denied for user: '@127.0.0.1' (Using password: NO) > mysql> GRANT ALL PRIVILEGE

[PHP] Re: one corrupted image and imagecreatefromjpeg

2003-06-19 Thread Daniel
Since it seems noone has an easy answer for this, I thought I'd give advise to find it manually a little quicker. How about moving half the images to another directory and check if the bad jpeg is among the remaining half, then remove half of those, then half of those, etc. You should be able to f

[PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Daniel
ARGH! I'm losing my marbles here! I'm developing a small CMS for IE, but IE is teasing me! It insists on using its cached files instead of those I'm working on. I've set the cache size to 0, "Check for newer versions of stored pages:" to "Every visit to the page", and even put this at the top of m

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Daniel
Thanks for the advice, but that would mean I'd have to change the way the code works, and that would a bit much, I think... I was hoping for some registry editing or a little utility or something... But thanks =) Daniel "Awlad Hussain" <[EMAIL PROTECTED]> wrote in message

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-19 Thread Daniel
Okay, I think I'll have to kill myself... I can't believe I am this stupid, but it turned out I was working on a copy of the file, not the real one. D'OH!!! Sorry, guys! Daniel "Daniel" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thanks for t

Re: [PHP] Help me compose myself... I'm about to kill Microsoft....

2003-06-20 Thread Daniel
LOL =) "Steve M" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Thu, 19 Jun 2003 13:21:07 +0200, Daniel wrote: > > > Okay, I think I'll have to kill myself... > > > I can't believe I am this stupid, but it turned out I was work

Re: [PHP] PHP Certification

2003-06-26 Thread daniel
I find the value of such certification programs > extremely questionable. here here :D -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] PHP Certification

2003-06-26 Thread daniel
yeh well these exams come in modules , and are extremely pricey , i think good web examples, screenshots and experience should be enough, sadly i have not done uni so am frowned upon when looking for work but have experience in the work force, 4 years in IT now ok thats not enough but i have fine t

Re: [PHP] Re: cookies

2002-07-11 Thread Daniel
Surely it would be better to use Sessions in this case? "Danny Shepherd" <[EMAIL PROTECTED]> wrote in message 08c501c22825$932917c0$0200a8c0@DANNYS">news:08c501c22825$932917c0$0200a8c0@DANNYS... > No, I just tested it myself - if you set a cookie with no expire date it > exists until the browser

[PHP] Character Array

2002-07-11 Thread Daniel
Is there an easy way to get an array of characters from a string? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Crystal Reports and PHP

2003-08-29 Thread daniel
Has anybody managed to intergrate Crystal Reports to work with unix and php ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] parent classes

2003-09-01 Thread daniel
I think i know what you mean, when you are using a sub class and you want to use functions of a base class i find i have to do this to make it work in the sub class constructor parent::HTTP_Register; > I want to iterate through parents of some class. > The function get_parent_class is not enough

[PHP] loading classes and efficiency

2003-09-10 Thread daniel
Hi there i was wondering is it more efficient to load class files and objects when needed per page or is it ok to include them in my main include file ? I dont this for specialised classes for a few pages but other globally used classes i include in a main include file. Let me know thanks. -- P

Re: [PHP] loading classes and efficiency

2003-09-10 Thread daniel
> $foo_object = CreateObject('FooObject'); :D How would it look you reckon ? function CreateObject($class) { include('$class.".php"'); return new $class; } ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] loading classes and efficiency

2003-09-10 Thread daniel
woah function create_object($class_path,$class_name) { include("".$class_path."/".$class_name.".php"); return new $class_name; } -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] loading classes and efficiency

2003-09-10 Thread daniel
i'mn about to learn some java, maybe swt in the eclipse environment, it would be nice if php could have the classes or the path precompiled in, so all you need to do is load the object ? > woah > > function create_object($class_path,$class_name) { > include("".$class_path."/".$class_name.".php

Re: [PHP] loading classes and efficiency

2003-09-10 Thread daniel
> function &create_object() { > [..] > } > > $some_object =& create_object('some_object'); > This is really funny i've been doing php for a good while now but what is the reason to use the & symbol on the function ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: h

[PHP] referer on javascript location.href

2003-09-10 Thread daniel
hi there, i have a delete button which uses a javascript location.href to switch to a delete action in the same script as the form action handles something different, if i switch to that page the referer gets lost in the mix so i cant tell how to redirect back to that page on error. if someone has

Re: [PHP] referer on javascript location.href

2003-09-10 Thread daniel
please excuse me, there is tonnes on google :\ > hi there, i have a delete button which uses a javascript location.href > to switch to a delete action in the same script as the form action > handles something different, if i switch to that page the referer gets > lost in the mix so i cant tell how

[PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
hi there i have noticed a bug where mysql_error is not returned on a transaction, why is this ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
hmm this is tricky, on an innodb table if i do a rollback when i find an error then trigger the error handler which dies to the screen it wont show the message, but i commented out the rollback and it was find, how could i execute the rollback properly then ? > hi there i have noticed a bug where

Re: [PHP] mysql_errror bug on innodb table

2003-09-10 Thread daniel
ok i managed to set the generated error screen to a variable, do the rollback then die > H, > > The mysql_error() fucntion returns the error that took place for the > last call to the db. If you do a roll back that would be considered > another call and mysql_error() would then return the error (is

RE: [PHP] loading classes and efficiency

2003-09-11 Thread daniel
thats how i saw it includes it once so it prevents say functions being reincluded > Dan Anderson >on Wednesday, September 10, 2003 5:44 PM said: > >> require_once() or include_once() >> >> The files containing the class files before you need them. They will >> only

RE: [PHP] loading classes and efficiency

2003-09-11 Thread daniel
will never be parsed (and resources used). woah u kiddin me ? i'm sure i edited a function in a functions file which wasnt executed and it still got parsed (spat out errors) that would be a kool resource saver if it did though -- PHP General Mailing List (http://www.php.net/) To unsubscribe, vi

RE: [PHP] Re: URGENT BUSINESS RELATIONSHIP

2003-09-11 Thread daniel
how can we get this cunt, he obviously has a massive database, a friend and i found a db password in a spammers cgi script, i couldnt help myself i had to drop a few tables, i dont know how far my mate got though. i wish i could fight back they are obviouslly using spamming tools from the security

RE: [PHP] Re: URGENT BUSINESS RELATIONSHIP

2003-09-11 Thread daniel
he even found my work email obviouslly from the mysql list > What are you talking about? This is a once in a life time opportunity! > who hasnt dreamt of receiving 15 million for doing absolutely nothing > > contact me benny boy !! my number is 0055 all night long O_o > >> -Original Message---

Re: [PHP] Re: URGENT BUSINESS RELATIONSHIP

2003-09-11 Thread daniel
lol The Lodge hey check this out http://www.potifos.com/fraud/ and this http://www.nigerian419fraud.freeserve.co.uk/ i did find a link from this list about a site where the guy actually sent false details and the guy believed him, i think he sent a passport of himself as captian kirk LOL > No!

RE: [PHP] Re: URGENT REMOVAL

2003-09-11 Thread daniel
enough or mr Larry E. Ullman will kick some butt -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] issue with sending a request_uri in a url

2003-09-11 Thread daniel
Hi there, i have come to a solution, due the fact that the client does not store the http_referer on a javascript location.href, is to send the refering url into the url, there is an issue though say it looks like something.php?action=delete&return_url=someother.php?action=edit&id=1 it will come

Re: [PHP] issue with sending a request_uri in a url

2003-09-11 Thread daniel
Aplogies, that was my app although i am having more issues now, i use switch statements on a get action variable. here is the full link manage.php? action=deleteconfirm&asset_modelID=82&table=asset_models&return_url=/assets/ manage.php?table=asset_models&ID=82&action=edit it now things its a edi

Re: [PHP] issue with sending a request_uri in a url (ignore)

2003-09-11 Thread daniel
back to urlencode it worked this time, really sorry -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Calling functions from Button actions

2003-09-13 Thread daniel
wont they both be set ? i generally use a button type and onclick document.location.href to enforce an action in the get variable like something.php?action=something > Example: > > > > > > > action.php: > function action1() { > echo "Hello, I'm action1"; > } > > > function action2() { >

Re: [PHP] Text into a url

2003-09-13 Thread daniel
$query = "SELECT name,url FROM clubs WHERE url>'' ORDER BY name"; ?? could it not be $query = "SELECT name,url FROM clubs WHERE url !="" ORDER BY name"; > Hi > I am havening a problem retrieving url from a mysql database. I have > the url's stored as text and am using the following code to retr

Re: [PHP] Calling functions from Button actions

2003-09-13 Thread daniel
apologies i generally use this system for deleting records, i give a confirm box if they press ok it goes to another action, i suppose i should change this system to submit the form instead and check for the post var ? i guess at least it could store the http_referer then :\ > [EMAIL PROTECTED] wr

Re: [PHP] Calling functions from Button actions

2003-09-13 Thread daniel
my form action usually looks like this some.php?action=update&ID=1 my update will look like update table set *** where _rowid=$_GET['ID'] so therefore its globally used. i'd use the id from the get var but i guess in the delete function i could place this within the update action so case 'upda

[PHP] innodb + php caching issues

2003-09-13 Thread daniel
Hi there i have experienced a wierd bug , where after i commit a query in innodb that change wont be viewable until i refresh the page , this doesnt happen in a similar system framwork using myisam tables the change is viewable, what could be the problem ? should i just give nocache headers for a q

[PHP] mysql_query not returning true on innodb

2003-09-15 Thread daniel
Hi there i have a random issue where mysql_query is not returning true sometimes on an innodb table which will trigger a custom error, this happens randomly if i go back to that page its fine ?? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] mysql_query not returning true on innodb

2003-09-15 Thread daniel
i am doing a straight mysql_query without an autocommit=0 should i be doing an autocommit=0 if i am doing a read ? > Hi there i have a random issue where mysql_query is not returning true > sometimes on an innodb table which will trigger a custom error, this > happens randomly if i go back to that

[PHP] innodb and persistant connections

2003-09-17 Thread daniel
Hi there why is it that innodb is playing up with persistant connections i turned it off and it seems fine for now , also sometimes mysql_query on innodb tables dont result true even though the query is fine, so therefore if ($this->query()) { do something } else { die error } sometimes dies an

[PHP] program_root in phpdoc

2003-09-17 Thread daniel
Hi there any phpdoc heads out there know how to set the program_root to show the exact path to the files, there is no setting for this in the config files, let me know cheers. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] precompile php scripts

2003-09-18 Thread daniel
Hi there i was wondering if there was an open source port of a php script compiler for the server. Will this make alot of difference in performance at all. I know this may have been asked many times, is the encoders also a compile i dont particularly need to encode/decode code but compile for perfo

Re: [PHP] precompile php scripts

2003-09-18 Thread daniel
The projects are heavily databased, fulltext searching results, editing/inserting records, logging in and out, templating parsing. Its running on a dual P4 2G dell server. Will i see much performance ? There would prob be 20 people at a time using the systems. But alot of headroom would be good. >

Re: [PHP] Classes Tutorials

2003-09-21 Thread daniel
Although i dont code for pear standards, i must recommend learning the pear code, its how i taught myself classes. > Hi, > > I'm want to master the art of programming in Classes and worked through > some elementary tutorials. > > Are there perhaps a bit more advanced tutorials than Devshed? > > Th

Re: [PHP] php classes

2003-10-06 Thread daniel
pear dude, check it out .. > Anybody know of any real world php class tutorials?, so far ive read > ones about building car and cake classes but i tend to learn better > from actually follow a tutorial and building something though it and i > done know jack about building cars lol. > > -- > PHP Ge

Re: [PHP] recompiling libphp4.so because of modssl??

2003-10-11 Thread daniel
lol from the php source, it compiles the so module into the destination apx (apache) directory, try ./configure --help in the source of php for more > Hi there, > > I have just installed modssl and recompiled apache. When I start > apachessl, I do get following warnings: > > Loaded DSO libexec/libp

[PHP] Sending htaccess auth information through php

2003-10-15 Thread daniel
Hi there, i was wondering if there was a way to send htaccess auth information through php. My application is loading a parent flash movie which externally loads flash videos within a directory i want to password protect with htaccess. I was wondering how could it be possible to send headers to tha

[PHP] generating nested xml from mysql

2003-10-16 Thread daniel
Hi there i am having a problem generating nested xml from mysql My class is ok with one loop. But there is a problem when i want to do a query and within that loop result do another query. More specifically i want my xml to look like this. where

Re: [PHP] error reporting

2003-10-16 Thread daniel
on the topic of error reporting, am i able to catch fatal/parse errors yet ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] error reporting

2003-10-16 Thread daniel
> ---John Holmes... > > Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ > > php|architect: The Magazine for PHP Professionals – www.phparch.com > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Heh yes umm i know this. But how i

Re: [PHP] Re: 4.3.1 for Debian Woody?

2003-10-19 Thread daniel
> as far as i know there are no DEB packages for 4.3.1 for Woody. > I'm using the unstable (Debian SID) and i have PHP 4.3.3 > Scuse the off topic, but is debian the way to go ? i have found great pain to work with redhat even with rpm's. I just seriouslly cannot believe all this dependancy bullshi

Re: [PHP] Re: 4.3.1 for Debian Woody?

2003-10-19 Thread daniel
>> as far as i know there are no DEB packages for 4.3.1 for Woody. >> I'm using the unstable (Debian SID) and i have PHP 4.3.3 >> > Scuse the off topic, but is debian the way to go ? i have found great > pain to work with redhat even with rpm's. I just seriouslly cannot > believe all this dependanc

Re: [PHP] Re: turck-mmcache compiled loader

2003-10-19 Thread daniel
does a loadmodule not work in this case ?? > Do you mean you want to install a php module (TurckLoader.so) on your > host company server? This won't work, you need to have root access to > the server to install modules. > > [EMAIL PROTECTED] wrote: >> Hello, >> >> Thank you for replying. Unfortuna

Re: [PHP] session hijacking

2003-10-19 Thread daniel
registered globals off ? > Hi, > We have a site that runs a kind of membership section. > When a person logs in we have his username + 3 variables in session, > the 3 variables are used for background processing and are never > disclosed to the client, all 3 variables contain 1 or 2 digit numbers.

Re: [PHP] Session hijacking

2003-10-19 Thread daniel
i setup my sessions to be transparent, can it still be hacked ? > --- Chris Wanstrath <[EMAIL PROTECTED]> wrote: >> Lots of great information in this thread as far as solutions go, but >> what I'm wondering is the concept behind how someone actually can >> hijack a session if register_globals is o

[PHP] fsock sending bad request

2003-10-22 Thread daniel
Hi there the following code doesnt seem to work, i am getting a bad request sent back from the server, what could be the problem of something so simple ? $header .= "POST test.php HTTP/1.0\r\n"; $header.= "Host: host\r\n"; $header .= "Content-Type: application/x-www-form-urlencoded\r\n"; $header .

Re: [PHP] fsock sending bad request

2003-10-23 Thread daniel
$req = "&field=1"; its the data i need to post > Hi, > > Thursday, October 23, 2003, 7:58:19 AM, you wrote: > deo> Hi there the following code doesnt seem to work, i am getting a > bad request deo> sent back from the server, what could be the problem > of something so deo> simple ? > > deo> $heade

Re: [PHP] Ways to break up XML into Arrays????

2003-10-23 Thread daniel
> Try looking through http://pear.php.net for something. > check out the xml functions, its an xml parser -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Session Timeout

2003-10-28 Thread daniel
Hi there, i am experiencing a session timeout problem with one of my projects. One of the users had left their machine for less than 15 mins, maybe a bit more and it logged them out when posting data. This isnt good as they lost their data. I was wondering how i can dynamically set the session time

RE: [PHP] Session Timeout

2003-10-28 Thread daniel
right of course, 1440 is only 24 minutes. > On Tuesday, October 28, 2003 6:46 PM wrote: > >> Hi there, i am experiencing a session timeout problem with one of my >> projects. One of the users had left their machine for less than 15 > mins, >> maybe a bit more and it logged them out when posting da

[PHP] Showing high and low flash clips

2003-11-03 Thread daniel
Hi there, i'm stumped on a problem, i am trying to create an admin tool, which will database files which are ftp'd to the server first. A drop down list of flash files are viewed, and they are seperated into high and low clips with a language key joined to them. They are stored in the database like

[PHP] Usings functions and variables from a base class

2003-11-12 Thread daniel
Hi there i am having problems using a functions from a base class in a sub class. I am using a perticular function from the base class which is private in a public function in the sub class which is checking for a variable which is set in a function in the base class. Anyway, its doesnt seem to reg

Re: [PHP] spambothoney: script to pollute spammer's databases

2003-12-08 Thread daniel
Hi, i'll definately have a look, maybe the PHP list should intergrate a protection system, as i definately got bombarded with spam as soon as i joined, funny enough never happened when i was using the newsgroup ?? > Hello PHP-list, > > I proudly announce the first release of my first PHP script: >

[PHP] PHP5

2003-12-10 Thread daniel
Hi i am trying to instigate across the board software upgrades, i was wondering when PHP5 will be released ? I am thinking its best to wait for it to come out, or i'll prob wont see it on the servers until the next commet passing. Please let me know thanks. -- PHP General Mailing List (http://www

Re: [PHP] Re: rss/rdf feed classes

2003-12-11 Thread daniel
May i ask what the difference is between rss and xml ? Also will these classes generate it from the database ? > Hello, > > On 12/11/2003 04:41 PM, Rolf Brusletto wrote: >> I'm looking for a class that returns a rss/rdf feed with each of the >> items as an array, or suggestions on how to items into

<    1   2   3   4   5   6   7   8   9   10   >