Re: [PHP] using wget in shell for download(snort)

2011-07-10 Thread Torsten Rosenberger
Hello Try wget 'url' BR -- Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

Re: [PHP] PHP session replication

2011-03-18 Thread Torsten Rosenberger
transfer the session id in the browser URL and not by cookie. BR/Torsten tedd tedd.sperl...@gmail.com schrieb: At 3:53 PM + 3/18/11, Stuart Dallas wrote: Hi Tedd, Long time no chat, hope you're well. On Friday, 18 March 2011 at 15:44, tedd wrote: At 3:18 PM + 3/17/11, Stuart Dallas

Re: [PHP] PHP session replication

2011-03-18 Thread Torsten Rosenberger
Stuart Dallas stu...@3ft9.com schrieb: On Friday, 18 March 2011 at 16:19, Torsten Rosenberger wrote: Hello First you need to decide which type of cluster you choose. If you use LVS you can tell the director do bind one client to one server so you do not need to replicat session. As I

Re: [PHP] PHP session replication

2011-03-18 Thread Torsten Rosenberger
If i am right then you have 1.44KB per request ? BR/Torsten Stuart Dallas stu...@3ft9.com schrieb: On Friday, 18 March 2011 at 17:36, Nathan Nobbe wrote: On Fri, Mar 18, 2011 at 11:19 AM, Stuart Dallas stu...@3ft9.com wrote: On Friday, 18 March 2011 at 17:14, Torsten Rosenberger wrote

Re: [PHP] php File upload

2008-08-08 Thread Torsten Rosenberger
du -h /tmp/phpMmAGdN 663M/tmp/phpMmAGdN So i think your script is wrong maybe you trie to read the hole contend from the upload file in a variable so you reach the memory post your script ro see if its is correct. BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe

Re: [PHP] php File upload

2008-08-08 Thread Torsten Rosenberger
Am Freitag, den 08.08.2008, 09:00 +0100 schrieb Luke: Maybe there is some configuration in the server somewhere causing it to incorrectly use the tmp? normla config php.ini ; Whether to allow HTTP file uploads. file_uploads = On ; Temporary directory for HTTP uploaded files (will use system

[PHP] docs.google.com how do the export ?

2007-10-24 Thread Torsten Rosenberger
Hello I watched docs.google.com an wonder how they can export the WYSIWYG created content in pdf, word, ... Are they working with COM() functions on Windows ? to generate the docs and pdf or is it possible to create them with XSLT BR Torsten -- PHP General Mailing List (http://www.php.net

[PHP] move_uploaded_file permission problem under php5

2007-09-27 Thread Torsten Rosenberger
and it is not a bug ? http://bugs.php.net/bug.php?id=41255 BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Set a timeout on file_get_contents?

2005-02-15 Thread Torsten Rosenberger
but with a timeout BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Delete all files in DIR every 20 days

2005-02-14 Thread Torsten Rosenberger
($key)) { $ok++; } else { $err++; } } if there is an error ist is not able to delete the directorys // the first directory (in deep) must the last one sort($data[0]); foreach ($data[0] as $key) { if(rmdir($key)) } BR/Torsten

[PHP] need help parsing named.conf file

2005-02-13 Thread Torsten Rosenberger
' . . BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Multi-language in script

2005-01-26 Thread Torsten Rosenberger
Hello take a look a gettext in the manual BR/Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Date()

2005-01-15 Thread Torsten Roehr
); // add 4 days $lastDayTs = $firstDayTs + (4 * 86400); echo date('F', $firstDayTs) . ' ' . date('m', $firstDayTs) . '-' . date('m', $lastDayTs); Not tested. Maybe there's an easier way to do this. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: [HAB] Remove empty cells from an array

2005-01-15 Thread Torsten Roehr
'; unset($a[4]); Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Feature request for print_r() and var_dump()

2005-01-15 Thread Torsten Roehr
the type of the variable *does* make sense. Best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Get name of extending class with static method call

2005-01-12 Thread Torsten Roehr
::$className If I ommit the definition of $className in Porsche the return value is 'Car' not 'Porsche'. Arrrgh! Will keep on trying. Best regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Get name of extending class with static method call

2005-01-12 Thread Torsten Roehr
); } ? Hi Jason, thanks for taking a look but there *must* be a way to achieve this without passing any parameters around. Otherwise I could just do: Porsche::drive('Porsche'); Best regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: Get name of extending class with static method call

2005-01-12 Thread Torsten Roehr
Torsten, I also found the following link to be helpful. Check out the user notes from michael at digitalgnosis dot removethis dot com (he did something similar to what I have already suggested, i.e. call_user_func) http://www.php.net/manual/en/language.oop5.static.php Hi Jason, thanks

Re: [PHP] Re: Get name of extending class with static method call

2005-01-12 Thread Torsten Roehr
concept - without it, PHP 5 seems rather lame. How does one go about making a feature request? There has to be a way to get this implemented into PHP 5... Cheers, -Morten Hi guys, I guess it's time to risk asking on php-dev ;) I will try my luck. Let's see what the gurus say! Regards, Torsten

[PHP] Get name of extending class with static method call

2005-01-11 Thread Torsten Roehr
need the name of the calling class here // in this case it should be 'Porsche' } } class Porsche extends Car { } Porsche::drive(); Any help is greatly appreciated! Thanks and best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] Re: Get name of extending class with static method call

2005-01-11 Thread Torsten Roehr
Jason Barnett [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] M. Sokolewicz wrote: try using __CLASS__ Torsten Roehr wrote: This is a good suggestion but I wonder... Torsten do you have a large heirarchy of parent classes or just one parent? E.g. Car - Sports Car - Porsche

Re: [PHP] Get name of extending class with static method call

2005-01-11 Thread Torsten Roehr
have. Any more ideas? Thanks in advance! Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to read the path of the current document's url

2005-01-09 Thread Torsten Roehr
please point me in the right direction with this. Thank you for your time. Tim http://de3.php.net/manual/en/function.basename.php Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PEAR Spreadsheet_Excel_Writer

2005-01-06 Thread Torsten Roehr
no me olvidaré de ti Isa 40:27 = Atte Pedro Irán Méndez Pérez Wrong list ;) Anyway, take a look at the documentation: http://pear.php.net/manual/en/package.fileformats.spreadsheet-excel-writer.p hp Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Propel Persistence Layer

2005-01-06 Thread Torsten Roehr
Hi, I'm considering the Propel DB Persistence Layer for an upcoming project. Does anyone have experience (good or bad) with it? Any things to watch out for? Haven't found much in the list archive. Any comments are much appreciated! Best regards, Torsten Roehr -- PHP General Mailing List (http

[PHP] Re: creating multiple sessions

2004-09-11 Thread Torsten Roehr
the session in the original window, which I want to keep intact! So put simply, is there anyway to 'force' a new session? Thanks, John Hi John, this problem was discussed some days ago on this list. Please search the archives. If those messages don't help come back again. Best regards, Torsten Roehr

[PHP] Re: help-fetching-url-contents

2004-09-10 Thread Torsten Roehr
and then parse the file, with the date and time function...to do this. pls help. thanks in advance vijay http://de3.php.net/curl Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: how to redirect ?

2004-09-10 Thread Torsten Roehr
('location: http://www.yoursite.com/page.php'); exit; Pay attention to the exit. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to access one class from another

2004-09-10 Thread Torsten Roehr
() { $users = $GLOBALS['coreLists']-UserList(); } 3. Pass the variable it to the class constructor and assign it to a class property: var $coreLists; function Data($coreLists) { $this-coreLists = $coreLists; } Best regards, Torsten Roehr -- PHP General Mailing List (http

[PHP] Re: multi dimension array

2004-09-10 Thread Torsten Roehr
WHERE customerID = ' . $row['customerID']); while ($tempRow = mysql_fetch_assoc($result)) { // output order data if required echo $tempRow['orderID']; } } Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

Re: [PHP] php|works in Toronto - anyone going?

2004-09-10 Thread Torsten Roehr
! Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: referencing a class

2004-09-08 Thread Torsten Roehr
a call like this. Thanks in advance! What do you mean with screwy? Change $_SESSION['database'] after your second line and print out $this-db to see if that was changed too. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

[PHP] Re: referencing a class

2004-09-08 Thread Torsten Roehr
a call like this. Thanks in advance! What do you mean with screwy? Change $_SESSION['database'] after your second line and print out $this-db to see if that was changed too. By the way, you mean referencing an object (not a class). Regards, Torsten Roehr -- PHP General Mailing List (http

[PHP] Re: Is ob_gzhandler interfering with dynamic zipping???

2004-09-07 Thread Torsten Roehr
just in the script where you need it). Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: interface problem in PHP5

2004-09-05 Thread Torsten Roehr
think you have to also define the arguments you want to use for item() in your interface: function item($a_iIndex); Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session again !!!

2004-09-05 Thread Torsten Roehr
or not. Another idea would be using a ready made authentication/permission package like PEAR::LiveUser: http://pear.php.net/package/LiveUser Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session again !!!

2004-09-05 Thread Torsten Roehr
: ../../index.php'); exit(); } else { // output contents } Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: !!Urgent .. Session Problem

2004-09-04 Thread Torsten Roehr
of the upper two lines. Excerpt from the manual: Caution If you are using $_SESSION (or $HTTP_SESSION_VARS), do not use session_register(), session_is_registered(), and session_unregister(). Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Drop directory with PHP

2004-09-04 Thread Torsten Roehr
the directory itself will not be deleted. Just call it like this (without trailing slash!!!): clearDirectory('/path/to/directory'); // or on windows clearDirectory('c:\path\to\directory'); Hope it works for you. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net

[PHP] Re: function problem

2004-09-04 Thread Torsten Roehr
the safety of my system. grtz thanks DragonEye I'm not completely sure if I understand your question but PHP will process one function after the other. Without seeing some code I'm afraid we can't help you much. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net

[PHP] Re: interface problem in PHP5

2004-09-04 Thread Torsten Roehr
was not found * @access public */ function item($a_iIndex) Are you sure you need '' here? Shouldn't PHP5 pass all variables by reference on default? Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Help

2004-09-03 Thread Torsten Roehr
. Thanks ConbuD Insert your new item, then delete the oldest one: DELETE FROM table ORDER BY date asc LIMIT 1 Whereas 'date' is your date column. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Function Get Error

2004-09-03 Thread Torsten Roehr
); } } It will delete all direcotries and files *inside* the specified directory. So the directory itself will not be deleted. Just call it like this (without trailing shlash!!!): clearDirectory('/path/to/directory'); Hope it works for you. Regards, Torsten Roehr -- PHP General Mailing List

[PHP] Re: Sessions and Logins

2004-09-03 Thread Torsten Roehr
** using this PHP 'thang' :-) Dennis Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: trying to do too much with functions?

2004-09-02 Thread Torsten Roehr
an associative array would be the way to go (your first example). You might consider splitting it up into several functions if it takes that many arguments. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Session understanding

2004-09-02 Thread Torsten Roehr
be that you would not have to rely on your user's cookie setting being enabled. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Large database, slow search times

2004-09-02 Thread Torsten Roehr
the experts would suggest for managing a database this size and getting the search times down to something manageable. Thanks in advance for your advice Ade Have you put an index on the column? Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Handling XML output in a slim way

2004-09-01 Thread Torsten Roehr
Markus, take a look at this package: http://pear.php.net/package/XML_Tree Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: $_SERVER['HTTP_HOST'] without the 'www.'

2004-08-31 Thread Torsten Roehr
but if the user leaves out the 'www.' then substr($_SERVER['HTTP_HOST'], 4) would return 'main.com', is there a better function to use in this instance? Thanks for your help Does your Apache provide $_SERVER['SERVER_NAME']? For me it outputs the domain like google.com. Regards, Torsten Roehr -- PHP

[PHP] Re: PHP- Dependant dropdown based on Mysql queries

2004-08-30 Thread Torsten Roehr
-submit the first three selects when the user has selected a value. Best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Storing image in database

2004-08-30 Thread Torsten Roehr
-8859-1 /head body Why not putting your PHP code at the top of the page? The blank line between /head and body might cause the error. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: List of cities

2004-08-29 Thread Torsten Roehr
complaints that certain towns are not listed. Ask the UK postal service (or whatever it is called). They should have such a list/directory containing all cities with zip codes in digital form (probably on CD-ROM). Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: newbie questions

2004-08-29 Thread Torsten Roehr
to functions by reference is standard. $this-db is the PHP equal to this.varName. You access property db of the current object. Methods are called this way: $this-methodName() Hope this clears things up a bit. Best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net

[PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Torsten Roehr
['factura_id']; Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Torsten Roehr
and we might be able to help. Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-27 Thread Torsten Roehr
=imprimir_factura.php?factura_id?php= $_GET['factura_id']; ? name=mainFrame Then in imprimir_factura.php you can acces the variable via $_GET['factura_id']. This should work. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Is javascript enable?

2004-08-26 Thread Torsten Roehr
JavaScript immediately to page2.php?js=on If JS is enabled the second redirect will be processed, if it's off the first one will. Then on page2 you'll have $_GET['js'] with on/off as the value. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] crypt()

2004-08-26 Thread Torsten Roehr
); but it still doesn't work. On php.net manual I can find WHAT I have to do and reasons but not HOW. Thanks for any help! Afan Please don't hijack other people's thread: Try this at the top of *every* script: ini_set('register_globals', 0); Regards, Torsten Roehr -- PHP General Mailing List (http

[PHP] Re: crypt()

2004-08-26 Thread Torsten Roehr
is generally a good idea. You can use md5() as an alternative to crypt(). MySQL itself has an MD5 function you can directly use in your SQL statements. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Exporting Dbase to CSV

2004-08-26 Thread Torsten Roehr
... Please specify what you mean with one step further? You can assign the contents to a variable and write it to a file. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: XML_sql2xml

2004-08-26 Thread Torsten Roehr
the archive and extract it to your PEAR directory. Best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] sharing records with assigned users

2004-08-26 Thread Torsten Roehr
that happen? Any suggestions? Thanks. I guess you need to create a table that maps users to records with two columns $userID and $recordID. Then you look up in that table if the user is allowed to edit/see this record. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net

[PHP] Re: paste values for one pop-up. And this pop-up is one frame

2004-08-26 Thread Torsten Roehr
', '300','no','left');return false\ onfocus=\this.blur()\ img src=\images/imprime.gif\ width=\31\ height=\31\ border =\0\/a; And in the pop-up I do like this. echo$_REQUEST[factura_id]; Thanks for the help... What you described should work, so *where* is your problem? Regards, Torsten

Re: [PHP] Destroying a Session

2004-08-25 Thread Torsten Roehr
you tried resetting $_SESSION instead of unset()?: $_SESSION = array(); Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PHP Login Script

2004-08-25 Thread Torsten Roehr
;) Best regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: delimiter question?

2004-08-24 Thread Torsten Roehr
Hi Steve, try setting the file permissions of gogo.php to 705. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Image Width Error

2004-08-24 Thread Torsten Roehr
--- Am I missing something in the PHP config? What should I be looking for. Oh! I am on PHP5.0 - that should help. Thanks in advance! Read the manual: http://de.php.net/manual/en/function.imagesx.php You need an image resource to get the file size. Regards, Torsten

[PHP] Re: Clear HTTP POST value

2004-08-23 Thread Torsten Roehr
- it works for me (PHP 4.3.8). You could also do $_POST = array() to reset all values. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do I open Save As Dialog Box?

2004-08-23 Thread Torsten Roehr
I need to use the header (Content-type: application/octet-stream); But I don't know how. Can anyone help? Thanks. Take a look at PEAR's HTTP_Download: http://pear.php.net/package/HTTP_Download This package is exactly what you are looking for. Regards, Torsten Roehr -- PHP General Mailing

[PHP] Re: WAHT is my error???

2004-08-20 Thread Torsten Roehr
the values by their column name: $registo['column1'], $registo['column2'] etc. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Is this the right way to increase the amount of time session variables are dropped

2004-08-20 Thread Torsten Roehr
the exact syntax is. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: download file question...

2004-08-19 Thread Torsten Roehr
searching google/php.net for this... thanks What about pointing a link to the file?!?: a href=/path/to/your/file.pdflink/a If the file is outside of the webroot root or in a protected directory you can use PEAR's HTTP_Download: http://pear.php.net/package/HTTP_Download Regards, Torsten Roehr

Re: [PHP] arrays() current() next() who to use

2004-08-19 Thread Torsten Roehr
. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: php question

2004-08-18 Thread Torsten Roehr
, regards. Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: I need unique max number

2004-08-18 Thread Torsten Roehr
array element with a value of 1 exit from the loop with break. Hope this works for you. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] I need unique max number

2004-08-18 Thread Torsten Roehr
will get 200, 100, 50, 30. you shoule write a custom function :) Hi Ni, he needs to ignore duplicate values so array_unique() won't help. Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] OO Theory Question

2004-08-18 Thread Torsten Roehr
: $_SESSION['object'] = $object; (You don't need the ampersand in PHP5.) Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] The_'_character_and_Hidden_(POST)_form_fields...

2004-08-17 Thread Torsten Roehr
quotes in your strings won't be a problem. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problems with sessions!!AAH

2004-08-16 Thread Torsten Roehr
Angelo, where's your session_start()? Also you can use isset() instead of session_is_registered(): if (isset($_SESSION['login'])) Regards, Torsten Roehr I have not used the session_register function as the manual says the following: If you want your script to work regardless of register_globals

[PHP] RE: [PHP-DB] Re: Basic MySQL Query Question

2004-08-16 Thread Torsten Roehr
not happen every time. I get no error when the user registers (inserting O'Neal into the table), but when I insert the same name into the tickets table, it fails. Chad, please always answer to the list. Echo out your queries and compare them, there must be a difference. Regards, Torsten -- PHP

[PHP] Re: Cache

2004-08-16 Thread Torsten Roehr
this for you. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] problems with sessions!!AAH

2004-08-16 Thread Torsten Roehr
. I do have session_start(); at the top of the new page. I cant think why its not working?!?! Are you using cookies? What are your session configuration values? Regards, Torsten TIA Jay Blanchard [EMAIL PROTECTED] 8/16/2004 4:46:16 PM [snip] Ok here is what I do: $_SESSION['login

Re: [PHP] problems with sessions!!AAH

2004-08-16 Thread Torsten Roehr
session_write_close(). Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PEAR

2004-08-16 Thread Torsten Roehr
to your questions on http://pear.php.net. Or post your questions to the pear-general list. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: How to determine if date/time is with DST or not ?

2004-08-15 Thread Torsten Roehr
, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Problem with submit form if type is image

2004-08-14 Thread Torsten Roehr
. This will show you all submitted values. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session Problem PHP version 4.3.8

2004-08-13 Thread Torsten Roehr
your pages and write your links this way: a href=page2.php??php echo SID; ?to page 2 /a Hope it helps, Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Changing MySQL Date Format

2004-08-12 Thread Torsten Roehr
this? You should put formatting issues into your application and rely on the ISO format in your database. Regardsm Torsten Roehr Has anyone else managed to do this or use any workarounds I could use perhaps...? I'm just getting a little hacked of having to explode the damn things every time

[PHP] Re: Load data and Insert

2004-08-11 Thread Torsten Roehr
*what* data you want to load *from where* and insert into *what*. Then we may be able to help you. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Load data and Insert

2004-08-11 Thread Torsten Roehr
Torsten Roehr [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Juan Pablo Herrera [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Hi! i need do two querys in one. First query is a load data and the second query is insert into. My idea is to concatenate

Re: [PHP] Incorrect trans-sid placement in PHP Version 4.3.6

2004-08-10 Thread Torsten Scheck
Justin Patrin wrote: On Mon, 09 Aug 2004 10:02:23 +0200, Torsten Scheck [EMAIL PROTECTED] wrote: Hi, I just stumbled over a problem after I had updated PHP, and I thought I should share my experience: I use PHP Version 4.3.6 with '--enable-trans-sid' and deactivated cookies: [...] And when I

[PHP] Re: Image and variable

2004-08-10 Thread Torsten Roehr
, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Incorrect trans-sid placement in PHP Version 4.3.6

2004-08-09 Thread Torsten Scheck
version, please report it. Thanks. Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Function Mail

2004-08-08 Thread Torsten Roehr
the message specified in message to the receiver specified in to . Multiple recipients can be specified by putting a comma between each address in to. This should answer your question. Otherwise take a look at the manual page: http://de2.php.net/manual/en/function.mail.php Regards, Torsten Roehr

Re: [PHP] Local version works - production breaks

2004-08-08 Thread Torsten Roehr
() -- showcentre() , as well as the connect() function. Hi Andre, make sure to use require_once for all includes. This will make sure to only include each file once and will trigger a fatal error if the file cannot be found because of a wrong path or whatever. Hope this helps, Torsten Roehr Since its

Re: [PHP] Need Some Direction

2004-08-07 Thread Torsten Roehr
do this for any type of file. Set the aprropriate headers and then use readfile(): http://de2.php.net/manual/en/function.readfile.php Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Session problems under heavy load???

2004-08-07 Thread Torsten Roehr
solve this problem. Regards, Torsten Roehr -Original Message- From: BOOT [mailto:[EMAIL PROTECTED] Sent: Friday, August 06, 2004 1:26 PM To: [EMAIL PROTECTED] Subject: [PHP] Session problems under heavy load??? My server was under a heavy load (rebuilding software raid 1

Re: [PHP] looking for a solid/good basic registration/loginapp/script

2004-08-07 Thread Torsten Roehr
good experiences working with it. http://pear.php.net/package/Auth -Robby LiveUser is also worth a look: http://pear.php.net/package/LiveUser Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: regex help and file question

2004-08-07 Thread Torsten Roehr
line and applying a function or whatever - fread() requires a file handle that you have to create with fopen(), so file_get_contents() is kind of a shortcut for fopen()/fread() Hope this helps. Regards, Torsten Roehr -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Re: Getting data from table as a tree

2004-08-06 Thread Torsten Roehr
... ;) Regards, Torsten -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

  1   2   3   4   >