[PHP] Compile APC in PHP 5.2

2012-12-12 Thread Alexander Diedler
destroy the configure file. I try also http://www.linuxask.com/questions/how-to-compile-apc-module-for-php but if I add extension=apc.so and restart, it will not be shown in phpinfo. Best regards Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

Re: [PHP] read smb drive

2010-11-05 Thread Alexander Holodny
Small and maybe useless note about privileges required to exec 'mount' command via php's system(): root is not required if 'user' option exists in /etc/fstab. It is true because mount cmd has always root privileges due to suexec bit and it decides whether calling user is authorized to mount somethi

Re: [PHP] PHP sessions - users being automatically logged out

2010-11-04 Thread Alexander Holodny
Inc session.cache_expire. You have only 3 minutes. This means browser will drop cookie containing session id in three minutes, or even less, of clients inactivity. I prefer to set expire-time to zero. So, browser will never forget session id. In other case, if security requires, i usually set it to

Re: [PHP] Problems converting strings with 0 to integer

2010-11-03 Thread Alexander Holodny
To exclude unexcepted behavior in case of wrongly formated input data, it would be much better to use such type-casting method: intval(ltrim(trim($inStr), '0')) 2010/11/3, Nicholas Kell : > > On Nov 3, 2010, at 4:22 PM, robert mena wrote: > >> Hi, >> >> I have a text file (utf-8 encoded) which con

Re: [PHP] "My truth comes out" [1]

2010-10-21 Thread Alexander Schrijver
On Thu, Oct 21, 2010 at 08:15:40PM +1000, Russell Dias wrote: > Whats wrong with an if *construct* ? I understand that the ternary > operator is another way of doing it. Using it in such a small scenario > is perfectly justifiable. Its ridiculous to use in more complicated > scenarious because of r

Re: [PHP] Weird Behavior

2010-10-21 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:02:49PM -0400, ad...@buskirkgraphics.com wrote: > Hm > > I guess the little person inside, just hates the long way of doing > something. > > > My suggestion > > $CD = 1287583899; > $q1s = 1283313600; > $q1e = 1291093200; > $q2s = 1291179600; > $q2e = 1298869200; >

Re: [PHP] Weird Behavior

2010-10-20 Thread Alexander Schrijver
On Wed, Oct 20, 2010 at 07:35:26AM -0700, Don Wieland wrote: > Little help please ;) > > $CD = 1287583899 > $q1s = 1283313600 > $q1e = 1291093200 > $q2s = 1291179600 > $q2e = 1298869200 > $q3s = 1298955600 > $q3e = 1306814400 > $q4s = 1306900800 > $q4e = 1314763200 > > Why does the following not

Re: [PHP] odd while behavior...

2010-10-16 Thread Alexander Schrijver
On Sat, Oct 16, 2010 at 11:12:03AM -0400, Jason Pruim wrote: > Okay so I'm just playing around with some stuff trying to learn more > and expand my knowledge and I ran into something I don't > understand... Take the following code: > > > echo ""; > $i ="0"; > while($i <="12") { > > $dat

Re: [PHP] References in Sessions

2010-10-14 Thread Alexander Schrijver
On Thu, Oct 14, 2010 at 05:36:29PM +0200, Sebastian Detert wrote: > Alexander Schrijver schrieb: > >Is my message unclear? or didn't anyone ran into this problem? > > > If you want an atomic solution, you need to save the session to your > database. How often do you nee

Re: [PHP] References in Sessions

2010-10-14 Thread Alexander Schrijver
Is my message unclear? or didn't anyone ran into this problem? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Scripts running twice

2010-10-12 Thread Alexander Schrijver
On Tue, Oct 12, 2010 at 07:52:46PM +0100, Ashley Sheridan wrote: > >On Tue, 2010-10-12 at 20:45 +0200, Alexander Schrijver wrote: > > On Tue, Oct 12, 2010 at 05:29:39PM +0100, [1]...@ashleysheridan.co.uk wrote: > > That's probably it then! Some browsers make multip

Re: [PHP] Unknown Table i field list

2010-10-11 Thread Alexander Schrijver
On Mon, Oct 11, 2010 at 03:09:35PM -0400, Gary wrote: > I have used this same script a number of time, this is the first time I am > getting this error did you also check the db name is correct? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

Re: [PHP] References in Sessions

2010-10-11 Thread Alexander Schrijver
On Mon, Oct 11, 2010 at 04:43:06PM +0200, Sebastian Detert wrote: > Why don't you write a small function checking for invalid IDs and > delete them and referenced subIDs? If you guess it's to hard/slow to > find out all referenced subIDs you could change your Session array > to an multi-dimensional

[PHP] References in Sessions

2010-10-11 Thread Alexander Schrijver
ever, the PHP session abstraction makes it very difficult to implement this properly. (I looked at session_set_save_handler) How do you guys deal with this problem? Thanks, Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

AW: [PHP] stdClass - A newbie question

2009-07-30 Thread Bouz Alexander
Hello Márcio, stdClass is simply an empty class, without any properties or methods. The object in the code sample is used to return multiple values at once. He could also have used an associative array to achieve that, but by choosing an object, he shows his affinity to the object oriented prog

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 1:15 PM, Colin Guthrie wrote: Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 12:02 PM, Robert Cummings wrote: On Wed, 2008-09-03 at 11:55 -0700, alexander lind wrote: For anyone that might be following this thread because they also have a memory problem (on a 64 bit platform or not), here is some advice on how to alleviate it: - Use a bytecode

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
from Ubunutus repository), consider re-configuring it manually to drop extensions you don't need. - If using Doctrine, always use its free() method to free up memory after you are done with each object. Alec On Sep 3, 2008, at 6:28 AM, alexander lind wrote: Hi All I just tested my PH

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 11:21 AM, Colin Guthrie wrote: Colin Guthrie wrote: Therefore, depending on your structures and how much use of pointers you use, the size will always be more, but should always be *less* than half. Erm, that should read "*less* than double." If you only ever user your

Re: [PHP] Re: PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 8:19 AM, Shawn McKenzie wrote: alexander lind wrote: Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 6:42 AM, Per Jessen wrote: alexander lind wrote: I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a

Re: [PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
On Sep 3, 2008, at 7:13 AM, Robert Cummings wrote: On Wed, 2008-09-03 at 14:52 +0100, Hélio Rocha wrote: But why does that happens? 64 bit systems use larger intgegers for accessing the stack and memory. This enables 64 bit systems to access more than the traditional 4.4 gig memory limit

[PHP] PHP on 64bit Ubuntu

2008-09-03 Thread alexander lind
Hi All I just tested my PHP app on Ubuntu 64bit, and found that all my php scripts would consume about 5x more RAM memory there, compared to how much they use on my macbook pro (which to make things a bit more confusing also runs a 64bit OS). A page that would take up around 2.5 MB on the m

[PHP] trigger_error() problems

2007-09-27 Thread Alexander A Miroch
Hi, my php is 5.2.4 compiled in apache1.3.37 as module I have some trouble with trigger_error function code I get 500 error status (Internal server error) and a record in my error log. And this returns 200 and I have no message in my error log. is it ok ? Thanks. -- Alexander A Miroch -- PHP

Re: [PHP] Aggressive PHP Smart Caching

2007-06-26 Thread Alexander Romanovich
to be some way to handle a cache of a script that has since been deleted. Note that if 24 hours is not acceptable for some reason, this script can easily be modified to increase that without negatively affecting anything else. On Jun 24, 2007, at 11:55 PM, Nathan Nobbe wrote: Alexander,

[PHP] Aggressive PHP Smart Caching

2007-06-18 Thread Alexander Romanovich
I'm a PHP developer looking for feedback on a caching approach I put together recently. It's informed by thoughts people have shared on this newslist and other places over the years. My goal was to come up with an extremely lightweight flat file caching system which solves various concerns about p

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Depends who is doing the uploading... One also could imagine a write-only account, either in FTP or SCP setup. I know I've seen this in FTP, and I don't see any reason SCP couldn't. the reason why scp is different is it needs an system account with a valid shell. FTP does simply not (but

Re: [PHP] uploading really big files

2007-06-02 Thread Alexander Jaeger
Angelo Zanetti schrieb: clive wrote: Angelo Zanetti wrote: Dear all We need to develop a system where we can upload really big files. IE 15 - 25 Mb. I know its not a php answer, but if you have ever uploaded a file with facebook then you will have seen the little applet they push down t

Re: [PHP] Error logging

2007-05-31 Thread Clark Alexander
Upon review, I also discover that fatal error entries are being made as well. On 5/31/07 5:14 PM, in article [EMAIL PROTECTED], "Jochem Maas" <[EMAIL PROTECTED]> wrote: > Clark Alexander wrote: >> We have the following php.ini settings: >> error_reporting =

Re: [PHP] Error logging

2007-05-31 Thread Clark Alexander
Yes, it does write to the file, but the only things going in there are notice type entries. Also, for further information, it is php 5.1.2 using the Suse rpm. On 5/31/07 5:14 PM, in article [EMAIL PROTECTED], "Jochem Maas" <[EMAIL PROTECTED]> wrote: > Clark Alexander wr

[PHP] Error logging

2007-05-31 Thread Clark Alexander
quot;); ini_set("error_reporting", E_ALL); ini_set("error_log", "logs/error_log"); Parse errors are not being written to their personal log file, though. Why not?? About the only going in there are NOTICE level entries. Thanks. Clark W. Alexander -- PHP General Mailin

[PHP] Re: [ANNOUNCE] TODO parser

2007-04-28 Thread Alexander Elder
Æ5ÏÐ P.S. While you're there, I'll give a plug to my DHCP web tool. Perfect for seeing who's on your LAN. http://daevid.com/examples/dhcp/ It would be nice if you added a flag for parsing 'FIXME' entries too. Quite a lot of source I've read contains 'TO

Re: [PHP] sortind arrays

2007-01-25 Thread Alexander Sagen
Ford, Mike skrev: On 25 January 2007 10:55, Alexander Sagen wrote: Roman Neuhauser skrev: # [EMAIL PROTECTED] / 2007-01-25 08:12:14 +0200: How can I sort an array like this so that it would be ASC ordered by the [1] key in subarrays? I need to maintain only the subarray key - value pairs

Re: [PHP] sortind arrays

2007-01-25 Thread Alexander Sagen
Roman Neuhauser skrev: # [EMAIL PROTECTED] / 2007-01-25 08:12:14 +0200: How can I sort an array like this so that it would be ASC ordered by the [1] key in subarrays? I need to maintain only the subarray key - value pairs. (Do I make sense?) Array ( [0] => Array ( [0]

Re: [PHP] Converting C# Hashing Routines to PHP

2007-01-02 Thread Jason Alexander
o the new data model. Thanks for the help! Greatly appreciated! -Jason On 1/2/07, Jochem Maas <[EMAIL PROTECTED]> wrote: Jason Alexander wrote: > Hey there, > > > I'm currently working on converting an ASP.NET, C# site/application to > PHP, and I've run into a sm

[PHP] Converting C# Hashing Routines to PHP

2007-01-02 Thread Jason Alexander
Hey there, I'm currently working on converting an ASP.NET, C# site/application to PHP, and I've run into a small snag. The login algorithm hashes the user passwords like so: MD5 md1 = new MD5CryptoServiceProvider(); byte[] buffer1 = new ASCIIEncoding().GetBytes(stringToHash); byte[] buffer2 = m

[PHP] Newbie question

2006-03-17 Thread Alexander Bauza
Hi there, I'm on WinXP, I got IIS installed, I downloaded and installed PHP 5.1.2 installer, I edited the php.ini file, I got documentation, I've been red and I'm kind of FRUSTATED!!! because I can't run PHP code. I need help please!!! Thanks for any help Alexander --

Re: [PHP] xml first special char

2005-09-16 Thread Alexander Toney
http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Alexander Toney

[PHP] RM file - play time

2004-11-24 Thread Alexander Kleshchevnikov
Can I get the information about paly time of the RM file by PHP? Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] help with html through php

2004-11-21 Thread Todd Alexander
Hello all, I am a complete newbie to php so apologies for what I'm sure is a simple/dumb question. I want to use php to include another html doc in an existing set of documents. In other words "123.html" will use php to call on "abc.html" so I can make changes to abc.html and have it update on al

Re: [PHP] I don't understand why !!!!

2004-09-12 Thread Alexander Kleshchevnikov
http://www.php.net/manual/ru/faq.databases.php#faq.databases.mysql.php5 --- Alexander Kleshchevnikov, DirectEDI Developer email:[EMAIL PROTECTED] icq: 153617972 --- "Nicolae Serban" <[EMAIL PROTECTED]> wrote in mes

[PHP] Re: Evaluating form posts

2004-09-12 Thread Alexander Kleshchevnikov
You should chech for configuration of magic quotes gpc. Use get_magic_quotes_gpc() function: $foo = get_magic_quotes_gpc() ? stripslashes($_POST["foo"]) : $_POST["foo"]) ; Do it with all GET and POST variables. -- Alexander. "Php Mailing List Account" <[EMAIL

[PHP] Re: create and read array

2004-09-12 Thread Alexander Kleshchevnikov
Yeah, thanks. Good idea! It is good to code that: $authors = array(); while ($authors[] = mysql_fetch_assoc($news)); "Chris Martin" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Alexander Kleshchevnikov wrote: > > Maybe you want this: > > >

[PHP] Re: create and read array

2004-09-11 Thread Alexander Kleshchevnikov
Maybe you want this: while ($data = mysql_fetch_assoc($news)) { $sql += "INSERT INTO newtable VALUES ($data['AUS'], $data['id']);\r\n"; } If you nevertheless want save the data in array you can use a two-dimensional array $authors: $authors = array(); while ($data = mysql_fetch_assoc($news))

[PHP] Re: how to redirect ?

2004-09-11 Thread Alexander Kleshchevnikov
Hey! I think you used header() after put out some data or php installed on server as CGI. Because send header possible only if php installed as apache module. You can use custom function which use javascript for redirection. But it works if browser of client support javascript: function redirect

[PHP] Re: how to redirect ?

2004-09-11 Thread Alexander Kleshchevnikov
Hey! I think you used header() after put out some data or php installed on server as CGI. Because send header possible only if php installed as apache module. You can use custom function which use javascript for redirection. But it works if browser of client support javascript: function redirect

[PHP] Locate compiled PHP (Zend) Scripts

2004-09-02 Thread Alexander Rehbein
Hi, does anyone know, how I can easily determine which websites are using compiled PHP-Scripts. I have to check our webserver, based on BSD and Apache, for these Scripts. Would appreciate any suggestions from you! Thank you Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe

[PHP] Re: post file from one server to other

2004-08-24 Thread Ustimenko Alexander
see php.net/base64_encode user comments in POST protocol all content must send in, as i memorize, application/x-www-urlencoded form . then try combination like == guy at bhaktiandvedanta dot com (01-

[PHP] Re: ... extendet library ...

2004-08-24 Thread Ustimenko Alexander
1) find php.ini 2) uncomment ;extension=php_bz2.dll 3) restart apache 4) if it`s suck, then see event viewer for info 5) may be "Bzip2 library" wants to some additional dll`s to system32 from bzip2 site "Marko Rastislav" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ: news:[EMAIL PR

[PHP] Re: Where clause

2004-08-24 Thread Ustimenko Alexander
read mysql manual: you must replace ' to ` ' to `` in your $sql so $sql = "SELECT id_from, id_to FROM ids WHERE id_from =`$current_id` OR id_to=`$current_id`"; or more intelligent without ``` in your $sql so $sql

[PHP] Re: links extract from a string

2004-08-23 Thread Ustimenko Alexander
use http://php.net/preg_match "Syed Ghouse" <[EMAIL PROTECTED]> $B'c'`'`'R'k'Z'](B/$B'c'`'`'R'k'Z']'Q(B $B'S(B $B'_'`'S'`'c'd'q'g(B $B'c']'V'U'e'p'k'V'V(B: news:[EMAIL PROTECTED] Hi all i m doing a project in which i m displaying the statistics of clickcounts of links send thru a messa

Re: [PHP] Crazy Serialize/Header/$_POST PHP Error - Is this a bug?

2004-08-23 Thread Ustimenko Alexander
curt, it`s a bug. on my machine [Apache/2.0.48 (Win32) PHP/4.3.8] all works fine - as expected "Curt Zirzow" <[EMAIL PROTECTED]> ???/ ? ?: news:[EMAIL PROTECTED] > * Thus wrote Peters, Eric: > > I think I've boiled my problemfor some reason I can't header() a seria

[PHP] Local_value Extension_Dir

2004-05-16 Thread Alexander Hachmann
Hello, I have the problem, that Modules located in the directory which ist set as the local_value, do not work. The normal Directory for Example is /usr/share/extension. Now I set in the Virtualhost settings the Directory to /usr/share/extension/user. You can see in the php_info(); that the new Dir

Re: [PHP] Apache Installation Query

2003-12-06 Thread zhuravlev alexander
DirectoryIndex index.php index.html in your httpd.conf -- zhuravlev alexander u l s t u n o c ([EMAIL PROTECTED]) -- PHP General Mailing List (htt

Re: [PHP] query_data

2003-12-06 Thread zhuravlev alexander
query_data["a"]; > etc.. > > is there a way to do this is in a loop so I do not have to do all that > typing? use list (http://www.php.net/list) list ($a, $b, $c, $d, $e) = mysql_fetch_row($result); -- zhuravl

Re: [PHP] Local PHP installation conflict

2003-12-06 Thread zhuravlev alexander
running different versions of PHP? Create directory tmp on disk C: (c:\tmp). -- zhuravlev alexander u l s t u n o c ([EMAIL PROTECTED]) -- PHP General Mailing List (ht

Re: [PHP] getting an variable value from an array entry

2003-11-30 Thread zhuravlev alexander
$temp degree. % cat temp.php "; eval("\$result = \"".addslashes($code)."\";"); echo $result; ?> -- zhuravlev alexander u l s t u n o c

[PHP] fgetcsv

2003-11-16 Thread zhuravlev alexander
Hello. I wonder if PHP has fgetcsv() function why doesn't PHP has fputcsv ? -- zhuravlev alexander u l s t u n o c ([EMAIL PROTECTED]) --

Re: [PHP] Include an encoder into PHP distribution?

2003-11-15 Thread zhuravlev alexander
oss multiple platforms. I've successfully installed turck-mmcache-2.4.6 from FreeBSD Ports collection. cd /usr/ports/www/turck-mmcache/ make install -- zhuravlev alexander

Re: [PHP] Alternet row colors

2003-11-15 Thread zhuravlev alexander
ult); > $id = $myrow ['id']; >$artist = $myrow ['artist']; > $title = $myrow ['title']; > $label = $myrow ['label']; > $price = $myrow ['price']; > replace > printf(" bgcolor='#00

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
stock amount. -- zhuravlev alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 06:12:28PM -0300, Ing. Gustavo Edelstein wrote: > Ok, but what about the different stock amounts for every size ? M=+5 mean product cost + 5 dollars for middle sized t-shirt. just try ... -- zhuravlev alexan

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 05:28:49PM -0300, Ing. Gustavo Edelstein wrote: > Thanks Alexander, I've already saw this demo, but what happens with the > stock amount and the price for that size? How do I rest the amount bought > from the right size and show the right price for that size ?

Re: [PHP] preg question

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 03:17:14PM -0500, Jake McHenry wrote: > What else would I need to check for? I'm tired.. Running on 2 pots of > coffee.. All I can think of is the @ and at least one . After the @, > then at least 2 characters after the last . > > I haven't had much experience with regular

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 04:39:35PM -0300, Ing. Gustavo Edelstein wrote: > Hi Alexander, > > Lets say i'll sell T-Shirts. They comes is differents sizes (S, M, L, XL...) > and I've different stock amounts for each one of them and different price. > When the user finds t

Re: [PHP] X-Cart

2003-11-13 Thread zhuravlev alexander
On Thu, Nov 13, 2003 at 02:54:35PM -0300, Ing. Gustavo Edelstein wrote: > Hi list members, > > Has anybody been working with the software X-Cart ? Yes, we are. Which question do you have? -- zhuravlev alexander -- PH

Re: [PHP] Help with scripts to add records to a database

2003-11-11 Thread zhuravlev alexander
$_POST['phone'].",".$_POST['mobile'],",".$_POST['fax'].",".$_POST['email'].",".$_POST['web'].")"; and so on ... > mysql_query($query); > > mysql_close(); > ?> > >

Re: [PHP] PHP Documentation procedure

2003-11-05 Thread zhuravlev alexander
http://phpdocu.sourceforge.net/ -- zhuravlev alexander u l s t u n o c ([EMAIL PROTECTED]) -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] How do i replace table names?

2003-11-03 Thread zhuravlev alexander
X BY ANOTHER!!! sed -i.bak -e s'/BAS_/DUMMY_/g' your_sql_file.sql -- zhuravlev alexander u l s t u n o c -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session_regenerate_id()

2003-10-30 Thread Alexander Mueller
to worry about it. I see, but then I would rather call it a bug in 4.3.2 than an enhancement in 4.3.3. I would expect a function which creates a new session id to do all necessary steps to have client and server synchronised. Anyway, thanks John for the explanation. Alexander -- PINO - The free C

Re: [PHP] session_regenerate_id()

2003-10-29 Thread Alexander Mueller
Curt Zirzow wrote: > > how is it not comatible with Opera? With 4.3.3 it works for IE and Mozilla, however Opera still has some problems with recognising the new id under certain circumstances. Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General M

Re: [PHP] session_regenerate_id()

2003-10-29 Thread Alexander Mueller
does not make much sense IMHO. > > What are you trying to do? Changing the session id upon a login to prevent referal attacks. Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Posting variable in url

2003-10-29 Thread Alexander Mueller
this? > > Frank Either validate the values on each page or create a session and store them there. Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Query explanation

2003-10-29 Thread Alexander Mueller
ing on in the FROM statement. "Areacode" > and "state" are table names. That I understand. What's with the "a" and "s" > following the table names? Is this where the variables are initiated? Exactly. "a" and "s" are

[PHP] session_regenerate_id()

2003-10-29 Thread Alexander Mueller
did it in 4.3.2? Somehow it seems its not working prior to 4.3.3 and even now its not fully compatible with Opera. Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: SESSIONMANAGEMENT -- gute php mailing list / gute leute

2003-10-29 Thread Alexander Mueller
ot;umschreiben", daß die SID enthalten ist. Bei PHP < 4.2 muß man das beim Kompilieren aber manuell angeben mit --enable-trans-sid. Mehr Information dazu unter http://at2.php.net/manual/de/ref.session.php#session.idpassing Alexander -- PINO - The free Chatsystem! Available at http:

Re: [PHP] is_uploaded_file() security

2003-10-23 Thread Alexander Mueller
olely uses $_FILES (but should probably nevertheless for any possible bugs - as Marek mentioned). Did I miss anything? Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Page Reload with after POST request

2003-10-23 Thread Alexander Mueller
ting site to its history. In this case a redirect is really a good idea :). Thanks for this hint Robert and Marek. Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is_uploaded_file() security

2003-10-23 Thread Alexander Mueller
Raditha Dissanayake wrote: > > This does not work with multipart/form-data you need www-urlencoded (or > just don't set an enctype attribute in your form) What would happen in this case? The given filename would be passed to the script?! Alexander -- PINO - The free Chatsystem

[PHP] Page Reload with after POST request

2003-10-23 Thread Alexander Mueller
essage in IE. I understand IE's reason to show the message but noticed browsing the history (under usage of the same POST transfer mechanism) works with other PHP scripts (eg: vBulletin) in IE without this message. Any idea which "trick" they use to avoid that? Thanks, Alexander --

Re: [PHP] is_uploaded_file() security

2003-10-22 Thread Alexander Mueller
gt; > ---John Holmes... Thanks John, but only in the case global variables are active (as Marek mentioned), right? Alexander -- PINO - The free Chatsystem! Available at http://www.pino.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] is_uploaded_file() security

2003-10-22 Thread Alexander Mueller
there in case a bug > will be introduced. > > Alexander Mueller wrote: Thanks for the explanation Marek. When I fully entered PHP's arena the global variables werent really an issue anymore, therefore I am more familiar with the $_* arrays and wondered about this paragraph. So i

[PHP] is_uploaded_file() security

2003-10-22 Thread Alexander Mueller
IK the browser only sends the content of the chosen file and cannot specify in any way a local filename which should be worked on. Furthermore PHP creates a temporary file containing the uploaded file content and passes this filename as 'tmp_name' variable. How can then a "malicious user

[PHP] ereg

2003-09-12 Thread alexander sundli
I use this expression to remove oneline comments: iereg_replace("//([^\n]*)\n",'',$code); I need to make a check if this expression is inside a string. If it is, its not a comment. I think it has something to do with context.. Anyone who could help me? thanx -- PHP General Mailing List (http:

[PHP] Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0?

2003-08-14 Thread Alexander Merz
Greg Beaver wrote: What do you think of allowing shortened syntax, since @package is implied. In other words, all packages have to have a @package tag for all classes, so we can safely assume that a package will throw a package_error or a package_warning, etc. then, if we encounter: I doesn't

[PHP] Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0?

2003-08-14 Thread Alexander Merz
Greg Beaver wrote: We are thinking of standardizing the format of @throws for phpDocumentor 2.0. The possible format we'd like to use is: @throws constant|classname [description] @throws error_class::constant description ie @throws PEAR_Error::NOT_FOUND -- PHP General Mailing List (htt

[PHP] Re: [PEAR-DOC] standardize @throws for phpdocumentor 2.0?

2003-08-14 Thread Alexander Merz
Greg Beaver wrote: @throws:pear would be a sub-tag of @throws, so that we could have a loose spec for @throws (allowing constant or classname or classname::constant) and a rigid spec for @throws:pear (only classname::constant) +-0 I see the advantage, but the problem here is "the learning by e

[PHP] PHP-mySQL-opensource-shop - solution

2003-07-22 Thread Alexander
Hi to all, I'm looking for a PHP-mySQL-opensource-shop - solution. Any suggestions or experiencies that could be usefull. Wich TIA Alexander -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] 0x0A after download using a PHP script

2003-07-12 Thread Alexander Vilens
Hi there. I had to use ob_clean() function to discard the contents of the output buffer which had this byte 0x0A. Thank you, Alex. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP list posting confirmation for vilens.a@anv.nu

2003-07-12 Thread Alexander Vilens
[confirm: d4f4e96b28db80982ba1cdf3572dbcee [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] ereg_replace

2003-07-01 Thread alexander sundli
I'm trying to replace singel line comment with empty string. tried ereg_replace("//.+\n",'',$string); but this replaces all text after //. anyone now what to do? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] HTTP or HTTPS

2003-04-05 Thread Alexander Weber
For sure, and this port changes every time I make a new request. Alex "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > No, the destination port will not change. You must be looking at the > source port. > > -Rasmus > > O

[PHP] Re: error while quering from MSSQL server from a Linux box

2003-04-05 Thread Alexander Weber
Tell us more about your script please. Cheers, Alex "Dhaval" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Hi All, > > I m trying to build a drop down dynamically. I m quering fields from MSSQL > 2000 Server. Now look wat is happning when i run my php from a Win2K PC and >

Re: [PHP] HTTP or HTTPS

2003-04-05 Thread Alexander Weber
e/reliable mechanism. > > -Rasmus > > > > On Sat, 5 Apr 2003, Alexander Weber wrote: > > > But SERVER PORT is not always 80 using HTTP (not HTTPS). So this way is not > > really secure. > > > > Alex > > > > "Rasmus Lerdorf" <[EMAIL

Re: [PHP] HTTP or HTTPS

2003-04-05 Thread Alexander Weber
But SERVER PORT is not always 80 using HTTP (not HTTPS). So this way is not really secure. Alex "Rasmus Lerdorf" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > I usually just use $_SERVER['SERVER_PORT'] > > -Rasmus > >

[PHP] Re: file upload

2003-04-05 Thread Alexander Weber
Seems correct to me, try to upload the file with different browsers. Opera, Netscape, M$. e.g. Rich Text could be: application/MSword, text/richtext, and some other "nice" applications ;-) Cheers, Alex "Anders Thoresson" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Am

Re: [PHP] HTTP or HTTPS

2003-04-04 Thread Alexander Weber
Unfortunally is not set. It's like the variable does not exist, because when I extract the varaible $_SERVER with foreach I don't get HTTPS as key, only SERVER_PROTOCOL. I'm using PHP 4.3.1 as Apache2 Module on Win2k SP3. register_globals OFF safe:mode OFF stunnel 4.04 on x86-pc-mingw32-gnu WIN32

Re: [PHP] HTTP or HTTPS

2003-04-03 Thread Alexander Weber
Hi Burhan, sorry but this tells me only HTTP/1.1 but not if the connection is secure or not. Alex "Burhan Khalid" <[EMAIL PROTECTED]> schrieb im Newsbeitrag news:[EMAIL PROTECTED] > Alexander Weber wrote: > > Hi! > > > > anybody knows how to find out the c

[PHP] HTTP or HTTPS

2003-04-03 Thread Alexander Weber
Hi! anybody knows how to find out the connection type (http or httpS)? Tried out $HTTP_SERVER_VARS. Thanx a lot! Alex -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Importing emails

2003-03-27 Thread Alexander Weber
Alexis, if the users data are informations about the user you can use this: if you ar talking about files should use data upload instead. you can start with the database. I dont know how many adresses and what more you want to have in the DB. 1. create the DB (eg. mySQL), 2. design a FORM where

  1   2   3   4   5   6   7   >