Re: [PHP] need some regex help to strip out // comments but not http:// urls

2013-05-28 Thread Andreas Perstinger
On 28.05.2013 23:17, Daevid Vincent wrote: I'm adding some minification to our cache.class.php and am running into an edge case that is causing me grief. I want to remove all comments of the // variety, HOWEVER I don't want to remove URLs... You need a negative look behind assertion ( http://

Re: [PHP] Boolean type forced on string assignment inside if statement

2013-01-03 Thread Andreas Perstinger
have to look at the binary representation of the numbers to see what is happening: 2 decimal is 0010 binary 1 decimal is 0001 binary 2 & 1 == 0010 & 0001 == == 0 In your other examples you had 2 & 3 == 0010 & 0011 == 0010 == 2 and 4 & 3 == 0100 & 0011 == == 0 Does this help?

Re: [PHP] Unexpected behavior of max() function

2012-12-10 Thread Andreas Perstinger
53351020813', '9')) ); // will output: // string(1) "9" As the output tells you, you are comparing strings and the character '9' is greater than the character '1' (at the beginning of the two other strings). Bye, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] regexp novice

2012-05-18 Thread Andreas Perstinger
the 1 at the beginning). Using ^ avoids this because now only one digit is allowed before the :. Bye, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] PHP, PDO and MS-SQL ?

2011-12-09 Thread Andreas
Hi, could someone tell me what I need to install and how to configure everything so that I can connect with PHP and PDO to a MS-SQL server? I have an OpenSuse 11.4 installation. I added the Apache-PHP repository and upgraded to PHP 5.3.8. php-mssql, -php-odbc, libfreetds and the freetds-tools

Re: [PHP] Common way to store db-password of open session?

2011-12-04 Thread Andreas
Am 03.12.2011 23:54, schrieb Tamara Temple: If you give every application user a unique set of database access permissions, that means that any one of those users can access your data base WITHOUT going through your application if they manage to get access to your data base server. Is that clea

Re: [PHP] Common way to store db-password of open session?

2011-12-03 Thread Andreas
Am 29.11.2011 23:54, schrieb Tamara Temple: As I read it, the OP may be confusing application user logins and the credentials used by the application to access the data base. Individual application users should *NOT* have access directly to the data base by having their individual credentials i

[PHP] Common way to store db-password of open session?

2011-11-29 Thread Andreas
Hi, is threre a most advisble way to store db-passwords of an open user-session? As far as I get it, a common login strategy is to let the user login by name&password, check it, store a login=TRUE as php-session variable and later use a common dbuser+pw to query data provided "login" is TRUE.

Re: [PHP] Howto detect the hostname of the server?

2011-11-25 Thread Andreas
Am 26.11.2011 01:35, schrieb Simon J Welsh: On 26/11/2011, at 1:14 PM, Andreas wrote: how could I identify the server the script runs on? php_uname('n'); http://php.net/php_uname Great, that even works on a ssh-tunnel. I got derailed by the fact that my tunnel maps the remote

[PHP] Tutorial for the structure of an php-app ?

2011-11-25 Thread Andreas
Hi again, is there a tutorial for the structure of an php-app? There are more than enough books and online docs that teach the basics of PHP and of course the native mysql commands. I'd now rather need a help to figure out how to pull up a wee bit more complex app. I know how to connect to a

[PHP] Howto detect the hostname of the server?

2011-11-25 Thread Andreas
Hi, how could I identify the server the script runs on? I've got a testserver on Windows and a remote system on Linux that need a couple of different settings like IP and port of db-server or folder to store logfiles. I'd like to do something like: if ( $_SERVER['some_key'] = 'my_test_box' )

[PHP] Is there a decent design app ?

2011-11-25 Thread Andreas
Hi Is there a decent design app that can automatically update links within the pages of a php site whenever a referred file gets moved or renamed? Like you have /foo.css and for some reason or another you move it to /lib/css and rename it to bar.css. Now it'd be nice if an IDE was aware of al

[PHP] How to catch an irregular end of an application?

2011-08-25 Thread Andreas
Hi, what is the best practice to catch an irregular end of an application? The browser might crash or the user closes accidently the browser window decides to jump away to his favourite bloq without loging out of my application. Is there some way to let an javascript event trigger some ajax to s

Re: [PHP] Dealing with multiple form submissions

2011-08-25 Thread Andreas
Am 25.08.2011 11:01, schrieb John Black: True, a SESSION can be reset by closing the browser but I am not trying to deny a user from submitting different information again. I want to prevent them from submitting the same data again by accident (back button or refresh). what about storing an

[PHP] how catch a warning by file_put_contents() ?

2011-08-19 Thread Andreas
Hi, I wrote stuff with file_put_contents() in a try{} catch{} and it worked. Then I'd like to check what happens when some error occurs so I writeprotected the targetfile. Instead of getting my own message by the catch{} block I got a standard warning in the browser. Can't I catch those warni

[PHP] Can't create new projects with Netbeans as nonadmin

2011-08-18 Thread Andreas
Hi, Netbeans 7.0.1 on WinXP. I can't create new projects with Netbeans without being logged in as administrator. When I call file->new project I only get the category "Samples". The category "PHP" with the empty projects only appears when I'm logged in as Administrator. How can I create

[PHP] Newbie question. What is the best structure of a php-app?

2011-08-15 Thread Andreas
Hi, I'm fairly new to PHP but not to programming as such. Currently I sat up XAMPP with xdebug, Netbeans and Eclipse to get a feeling. I can write and run php-files but I am wondering how I should construct a more complex application that runs over several pages between a login and a logout.

[PHP] dependency check

2011-07-21 Thread Andreas Moroder
the files recursively for included/used files and lists them ? With this list I could delete the remaining files. Thanks Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] concatenating with "." or ","

2008-08-25 Thread Andreas J.
hi, here it is described in detail: http://blog.libssh2.org/index.php?/archives/28-How-long-is-a-piece-of-string.html Govinda schrieb: easy to find our about concatenating with "." in the docs... but not so with "," what is the difference? -- PHP General Mailing List (http://www.php.net/) To

AW: [PHP] scalable web gallery

2008-07-10 Thread Andreas J.
>> in 1 year, there going to be more than 1000 photo uploaded or more. That isn’t really much. A directory can held much more than a few thousand files. They use more than one Server because 1 Server can't handle the load. The don’t do that because of limited File system. But the file system may

Re: [PHP] XMLRPC and file_get_contents

2007-08-16 Thread Andreas Schlicker
Stut wrote: Andreas Schlicker wrote: Hi all, I'm writing an XML-REC client in PHP, based on the following example: array( 'method' => "POST", 'header' => "Content-Type: text/xml", 'content' => $request ))); $

[PHP] XMLRPC and file_get_contents

2007-08-16 Thread Andreas Schlicker
get_contents method doesn't returns null, and the script finishes. However, the XMLRPC server is not finished with the computation and gets a broken pipe since the client has already closed the connection. Is there some timeout? Am I doing something wrong? Kind regards, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] LDAP and character encoding

2006-12-14 Thread Andreas Dahlen
\85\C3\84\C3\96,dc=example,dc=com How do I convert $dn to a readable format? I've tried utf8_decode, but it doesnt work. utf8_decode works on the entries returnd by ldap_get_attributes. /Andreas This message was sent using IMP

Re: [PHP] how should MS Access DATETIME be handled in PHP?

2006-04-13 Thread Andreas Korthaus
e following example is useful for you: http://odbtp.sourceforge.net/timetable.html#list regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Extending a class with a static constructur (like PEAR::DB)

2006-03-10 Thread Andreas Korthaus
...] You have to do something like this: $dbtoy = new DBToyExt(); $db = $dbtoy->connect() $dbtoy->testext('testing'); $result = $db->query('SELECT...'); //[...] If you want to avoid that, you have to write a wrapper around DB. best regards Andreas -- PHP Gener

Re: [PHP] Extending a class with a static constructur (like PEAR::DB)

2006-03-10 Thread Andreas Korthaus
ly inherit from that class. Best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: simplify DOM api

2006-03-06 Thread Andreas Korthaus
Best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: create xml root-element with xmlns and xsd link (using DOM)

2006-03-06 Thread Andreas Korthaus
Rob wrote: That's how namespaced attributes, which is nothing more than you are creating, are supposed to be created in DOM. OK, thank you! best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] create xml root-element with xmlns and xsd link (using DOM)

2006-03-05 Thread Andreas Korthaus
Schema-instance', 'xsi:schemaLocation', 'http://example.com/test test.xsd'); echo $doc->savexml(); ?> Does DOM provide nothing else? Does anybody see any problems with this approach? Best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] simplify DOM api

2006-03-05 Thread Andreas Korthaus
h ($array_of_book_objects as $book_data) { $books->addBook($book_data); } echo $books->saveXML(); ?> I think this should be OK, or shouldn't I do it this way? Perhaps you have seen that I've used a "xml_entity_encode()" function. This function works like htmlspecialchars(), but replaces ' with ' and not '. Or do all of you use htmlspecialchars()? Does it work with Unicode strings? best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: DOMElement::setAttribute() manual example question

2006-03-05 Thread Andreas Korthaus
the syntax used. $node = new DOMElement("root"); is read only, while $node = $doc->createElement("root"); is not? Why? btw., I think this: http://news.php.net/php.internals/22117 is a very, very, very good idea! I hope the patch will make it into core soon! best

Re: [PHP] Coding Practice: Use global $var or pass in by refernce

2006-03-03 Thread Andreas Korthaus
or - use a factory/singleton, which is not so much better than a global variable (and again, what about config-data?). So what's the way you'd recommend and why? best regards Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] DOMElement::setAttribute() manual example question

2006-03-03 Thread Andreas Korthaus
ewhere to the DOM tree. The 1st example creates a new DOMElement object, appends it to the DOM tree, and adds the attributes not to the created object, but to another object (the DOMNode appended to the tree), which seems to be a reference to the original object. Why does the manual prefer the (I

Re: [PHP] XML-RPC problem with long running times

2005-12-29 Thread Andreas Schlicker
call takes longer than 5 minutes and there is no interrupt? Is there some "special" XMLRPC timeout? Any idea? Andreas Andreas Schlicker schrieb: Hi all, I'm using Apache/1.3.33 (Unix), PHP/5.0.3, mod_ssl/2.8.22, OpenSSL/0.9.6a. I wrote a dummy script that is called by a Java

[PHP] XML-RPC problem with long running times

2005-12-29 Thread Andreas Schlicker
that acted the same way when called by a browser. This worked perfectly (I tested it up to 20 minutes waiting time) even if I used set_time_limit(5) and sleep(500). Does anybody have an idea how to solve this problem? Thanks in advance. Andreas -- PHP General Mailing List (http://www.php.net

Re: [PHP] Convert fake Unicode to real UTF-8

2005-11-04 Thread Andreas Jakl
his call, I had a real unicode text in my output file. About the question where I saw it - both in phpMyAdmin and in my own PHP script. It seems to be really stored as an ASCII text in the DB, as a substr($row['text'], 0, 1) also simply outputs "&". Thanks for your help, An

[PHP] Convert fake Unicode to real UTF-8

2005-11-03 Thread Andreas Jakl
at I tried failed, as the text seems to really consist of the individual ASCII chars like "&", "#". Therefore, a normal to-unicode-conversion doesn't change anything. Thanks in advance, Andreas Jakl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Compiling PDO statically into PHP 5.0.4

2005-06-06 Thread Andreas Korthaus
command: ./configure \ --prefix=/my/phpbindir/ \ --enable-pdo \ --with-pdo-sqlite \ --enable-memory-limit It did not fail, but after make && make install there is no pdo-support compiled in. What is going wrong here? What can I do? kind regards Andreas -- PHP General Mailing List (

[PHP] Tomcat and php in Suse 9.2

2005-04-14 Thread Andreas Persson
? /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] php.net bug tracking tool?

2004-07-29 Thread Andreas Goetz
Curt, thank you. I like Mantis, too but wanted to check the php thing. I was confused there is no reference to it anywhere, as it's used by e.g. MySQL, too. Thanks, Andreas "Curt Zirzow" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > * Thus wrote Andr

[PHP] php.net bug tracking tool?

2004-07-28 Thread Andreas Goetz
Which bug tracking tool is php.net using? I know it sounds stupid, but even as I can look at the source on php.net, I can't find any documentation- is this package available for download somewhere? Thanks, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] php5: domDocument source encoding?

2004-07-26 Thread Andreas Goetz
Excellent, thank you. So I should read the document, the do a $doc->encoding = 'ISO-8859-1' before reading any nodedata values to obtain ISO characters?! As documentation hasn't caught up with $doc->encoding, how could I've found out myself? Thanks again for the quick

[PHP] php5: domDocument source encoding?

2004-07-26 Thread Andreas Goetz
I'm confused and google couldn't answer :( I'm parsing XML files using domDocument and XPath in php5. Works like a charm. But- how do I know if I need to apply and utf8decode to the data returned from the domDocument? Unlike xml_parser_create the domDocument does not seem to offer an parameter for

[PHP] How to use reflection API?

2004-07-20 Thread Andreas Goetz
zei.de/php/reflection_api/docs/language.reflection.class.reflection_function.html this should already work. Any ideas? Thanks, Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Conditional Include

2004-03-17 Thread Andreas Brunschweiler
ks a lot for any suggestions! Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Take post values

2004-03-17 Thread Andreas Brunschweiler
How I take te post values ? $_POST['field_name'] php.net is your friend... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] session expires

2004-01-13 Thread Andreas Magnusson
"John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Andreas Magnusson wrote: > > > Hi, I wonder if anyone knows of a way to detect if a session has expired > > (when your session.cookie_lifetime != 0). > > I've tried t

[PHP] session expires

2004-01-12 Thread Andreas Magnusson
he session has expired. Thanks in advance! Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: which Bugtracker for a PHP-project?

2004-01-02 Thread Andreas Korthaus
Andreas Korthaus wrote: > Suche nen netten/einfachen Bugtracker für ein PHP-Projekt. > > Welchen könnt Ihr empfehlen? Oh sorry, I it wasn't the german list ;-) But perhaps it's also a question for this group: I am looking for a nice/easy Bug-Tracker for my PHP-Project. What

[PHP] Welcher Bugtracker in/für PHP?

2004-01-02 Thread Andreas Korthaus
Hi! Suche nen netten/einfachen Bugtracker für ein PHP-Projekt. Welchen könnt Ihr empfehlen? Grüße Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Re: HTTP headers, IE and downloading

2003-12-23 Thread Andreas Magnusson
"John W. Holmes" <[EMAIL PROTECTED]> skrev i meddelandet news:[EMAIL PROTECTED] > Andreas Magnusson wrote: > > > And through PHP (my script) it is: > > > > Accept-Ranges: bytes > > Cache-Control: private > > I've had the cache-control

[PHP] Re: HTTP headers, IE and downloading

2003-12-23 Thread Andreas Korthaus
Hi! Andreas Magnusson wrote: > For a normal file (not through PHP) the headers are: > > Accept-Ranges: bytes > Connection: Close > Content-Length: 25600 > Content-Type: application/msword > Date: Tue, 23 Dec 2003 09:51:19 GMT > ETag: "08f72d578c3c31:8d0" > Las

[PHP] Re: HTTP headers, IE and downloading

2003-12-23 Thread Andreas Magnusson
ot_ be any > difference. How should your client recognize any difference? There _must_ be > a difference! Use a very small file to test it, so you can compare the whole > HTTP-Header + Body easily. Yes, there is a difference, I didn't say there wasn't, just that I couldn't see how that (to me) small difference would actually make such a big difference... Thank you very much! /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Andreas Korthaus
Hi! Andreas Magnusson wrote: >> Have a look at: http://pear.php.net/package/HTTP_Download > I looked at it and it's hard to see what it does differently from > what I do... Use Ethereal or your own tracer to find out! And compare to a direct request to a real file! AFAIK the

[PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Andreas Magnusson
've written my own HTTP header tracer in C++, but it hasn't been able to help me since the headers looks good to me... /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: HTTP headers, IE and downloading

2003-12-22 Thread Andreas Korthaus
Hi! Andreas Magnusson wrote: > I'm writing a script to view/download an email-attachment. If the file > happens to be an MS Word document and the browser IE (only tried with > 6.0), then the download fails. > If I choose to download (Content-Disposition: attachment; > fi

[PHP] Re: Magic Quotes

2003-12-21 Thread Andreas Magnusson
have the magic quotes you need. Write a simple form-page that simply displays what was posted, then post something like: "I'll be back" If the page displays: \"I\'ll be back\" then you're safe and don't need to use addslashes(). /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] HTTP headers, IE and downloading

2003-12-21 Thread Andreas Magnusson
I have googled for a solution for a long time and would be very happy if someone had one... Thanks in advance /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] [posibleOT] Forcing entering te site thru index.php

2003-12-21 Thread Andreas Magnusson
found in $_SERVER['HTTP_REFERER'] to check from which page the user comes from. /Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] /etc/passwd

2003-07-10 Thread Andreas Mendyk
Hi, > if the make script > and then just write > test.php?id=/etc/passwd , they see all the file. Well, FreeBSD provides a way to jail webservers: Jails 8-) http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/jail.html with best regards -- Andreas Mend

[PHP] Ticketing System?

2003-06-25 Thread Andreas Cahen
Hello List :) Is there any usefull ticketing system (Hotline/Support/etc.) written in PHP? I have found some on hotscripts.com, but I don't know which one is really got or not.. Any suggestions? Cheers, Andreas Cahen -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

[PHP] Opening remote files with "fopen"

2003-03-29 Thread Andreas Breitschopp
owser it work's fine... Hope, you can help! Thank you very much in advance Andreas Andreas Breitschopp - Softwareentwicklung und -vertrieb Leopoldstraße 116, D-80802 München; E-Mail: [EMAIL PROTECTED] Tel.: +49 89 38898588, Fax: +49 89 38898589 http://www.ab-tools.de, http://www

[PHP] Rather complex regular expression for the preg_match_all function

2003-01-22 Thread Andreas Sheriff
lete structure Instead, I want to find the tag with no closing tag, up to the next tag or a closing tag of any type that doesn't have an opening tag after the initial found (not including this orphaned closing tag) Andreas Sheriff -- PHP General Mailing List (http://www.php.ne

[PHP] Creating Extensions DLL with Delphi

2002-12-23 Thread Andreas Steibl
Don't know if this is the right place to ask this. I need to write a little extensions DLL in Delphi for PHP where can i find inforamtion for this ? thanxs in advance snoopy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Creating Extensions DLL with Delphi

2002-12-18 Thread Andreas Steibl
Don't know if this is the right place to ask this. I need to write a little extensions DLL in Delphi for PHP where can i find inforamtion for this ? thanxs in advance snoopy -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
on't know anything about SiteShield - can anyone else chime in please? > I'd also try to holler at the guys at Tempest... I have been trying that, but it looks like I have to run the query through our office in NewYork where the servers are hosted. My colleagues in NewYork will have the rig

Re: [PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
u're using some mod_rewrite rules on the target server, depending > on the user agent, so IE's would end up in a defunct installation? > > I'd check for this inn the first place. Well, guess what I did before writing this eMail ;-) At the end of my original eMail I said: On Frid

[PHP] Problem with sessions and Internet Explorer

2002-11-22 Thread Andreas Otto
ce between the other servers and the server in NewYork is that only the server in NewYork is protected with SiteShield. Which leads me to the conclusion that there might be a problem related to the combination of SiteShield, IE and PHP. If you have any ideas feel free to share your thoughts with m

[PHP] Multiple paths in safe_mode_exec_dir ?

2002-10-29 Thread Andreas Nordvall
Andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] right name for

2002-09-24 Thread Andreas Hasenack
Em Tue, Sep 24, 2002 at 08:53:16PM +0100, Chris Hewitt escreveu: > Andreas Hasenack wrote: > > >Someone at the apache list told me that the name would be sapi_apache2.c, > >because that's where the STANDARD20_MODULE_STUFF define is used. But > >sapi_apache2.c di

Re: [PHP] right name for

2002-09-24 Thread Andreas Hasenack
Em Tue, Sep 24, 2002 at 11:08:06AM -0400, Paul Nicholson escreveu: > What exactly is not working? The directives inside the branches are being ignored. Thus the include path is not being modified and my application doesn't work. I know, I can change the application to include the right path, but

Re: [PHP] right name for

2002-09-24 Thread Andreas Hasenack
Em Tue, Sep 24, 2002 at 08:59:54AM +0100, Chris Hewitt escreveu: > It looks fine to me (I'm no expert), but maybe its case sensitive? You > have rather than . Otherwise perhaps remove the > completely for a test to see if it is the causing > the problem. It's not the IfModule, already tried

[PHP] right name for

2002-09-23 Thread Andreas Hasenack
What is the right name to use in apache's (2.0.41-dev) IfModule directive to test if the php4 module is loaded? I'm including the file below via httpd.conf's Include statement but the part between the IfModule is being completely ignored: AllowOverride None order deny,allow Deny from

[PHP] read all files in directory

2002-05-11 Thread Andreas Indahl
Hi! How can I read all files in a directory, when I don't know which files are there? Sincerely Andreas Indahl -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] include text from a html-file online

2002-05-09 Thread Andreas Indahl
I want to include text from a html-file that is online at another website. To be more precise: I want to include my seti-stats from http://setiathome.ssl.berkeley.edu/ on my own homepage. Can I do this with PHP? Sincerely Andreas Indahl -- PHP General Mailing List (http://www.php.net/) To

[PHP] Re: error-catching

2002-05-09 Thread Andreas Indahl
use or die ("DB-server down"); at the end of you line. "Gert Mellak" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]... > Hi! > > When I open a database connection and i. e. the db-server is down, > I get a very long, long error message telling me that the server is down. > > What I wa

Re: [PHP] PHP-script in MySQL-table

2002-04-23 Thread Andreas Stehn
so that the script is executed? > Is it possible? > > Web inventor > Michael Cronstrom > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php Andreas Stehn http://www.stehn.co

Re: [PHP] Anyway to open a PHP file and view its code in the browser?

2002-02-14 Thread Andreas Gietl
then do a symbolic link On Thursday 14 February 2002 22:34, Kevin Stone wrote: > I'm glad you posted this. It's great to know. Unfortunately it's not > what I need to do. I'm uploading and updating my scripts all the time. > So I need to offer code views of *active* scripts. Changing the file

[PHP] compiling modues

2002-02-13 Thread Andreas Gietl
oint me at a documenation? I was not able to find a good one that worked for me. thanx andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] PHP not able to send email

2001-12-17 Thread Andreas Landmark
here's nothing wrong with PHP (read: this is offtopic). -- Andreas D Landmark / noXtension When I was in school, I cheated on my metaphysics exam: I looked into the soul of the boy sitting next to me. -- Woody Allen -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas D. Landmark
read I didn't start as I am subscribed to the list (how would I otherwise been able to reply?) -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then. -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Online editor that edits all pages

2001-12-13 Thread Andreas Landmark
ftp/ssh/frontpage-ext ? Can't think of a ootb solution that does what you want... -- Andreas D Landmark / noXtension On Monday mornings I am dedicated to the proposition that all men are created jerks. -- Avery -- PHP General Mailing List (http://www.php.net/) To unsub

Re: [PHP] Get Hours/Mins/Secs between two timestamps?

2001-12-12 Thread Andreas Landmark
is your friend... But a better way, is to subtract one from the other and then use gmdate() on the difference, that way you don't have to worry about differences in excess of 60 secs... -- Andreas D Landmark / noXtension Time flies like an arrow, but fruit flies like a banana. -- PHP

Re: [PHP] Class in PHP

2001-12-05 Thread andreas
On Wed, 5 Dec 2001 10:41:53 -0500 Wee Chua <[EMAIL PROTECTED]> wrote: >Hi all, >How many extension of subclass can PHP have? Can I extend subclass to more >different subclass? Do you mean how deep a inheritance you can have? e.g. A \ B | \ C D | \ E F

[PHP] Feauture request/proposal: import

2001-10-27 Thread Andreas Aderhold
Hi All, What do you guys think of a import feauture for php. This allows developers to use packages and a package trees for including files. We're using a php written import for the binarycloud app framework with grat success. It's extremly handy, easy to use, clear and straight forward. We curr

[PHP] Feauture request/proposal: import

2001-10-27 Thread Andreas Aderhold
Hi All, What do you guys think of a import feauture for php. This allows developers to use packages and a package trees for including files. We're using a php written import for the binarycloud app framework with grat success. It's extremly handy, easy to use, clear and straight forward. We curr

[PHP] session & class driving me nuts

2001-09-30 Thread andreas \(@work\)
e session WHATS GOING ON ? thank you andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

Re: [PHP] (RW) PHP installation problems

2001-09-26 Thread Andreas D. Landmark
7;s not in ld's config file (usually /etc/ld.so.conf)... But unless you have some reasons for not using the built in support, (bleeding-edge or whatever pleases you) go with the built in support... -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake t

Re: [PHP] WEB LOG

2001-09-24 Thread Andreas Gietl
This is the reason why i wrote it is just some security. On Monday 24 September 2001 16:15, Jeffrey Paul wrote: > At 10:09 AM 9/24/2001, Andreas Gietl wrote: > >Well. If you check the HTTP_REFERER on the target-site it would work and > > give you at least some "security"

Re: [PHP] WEB LOG

2001-09-24 Thread Andreas Gietl
On Monday 24 September 2001 16:04, Jeffrey Paul wrote: Well. If you check the HTTP_REFERER on the target-site it would work and give you at least some "security". However it is still not really secure. > At 07:08 AM 9/24/2001, Chris Herring wrote: > >OOPS, again, elseif isn't what needs to be

Re: [PHP] Getting IP address

2001-09-19 Thread Andreas Gietl
On Wednesday 19 September 2001 11:37, Andrew Semark wrote: $addr = getenv('REMOTE_ADDR'); > Can anybody tell me how to get the IP address of the remote machine looking > at the web page. I have two versions of PHP 4 On the box with version > 4.0.1 I can use $HTTP_SERVER_VARS["REMOTE_ADDR"], but

Re: [PHP] Code Speed & Optimization

2001-09-17 Thread Andreas Gietl
"bad" code. Just try it out. > The question really for me is this...are they caches of results? in other > words, slightly old information? Or can they still be used in the same way > as a "raw" script and still be improved? > > - Original Message - >

Re: [PHP] Code Speed & Optimization

2001-09-17 Thread Andreas Gietl
On Monday 17 September 2001 18:32, Alex Ranaldi wrote: i just gonna quote Yasuo Ohgaki who posted this morning: There are sevral cache modules. These are cache modules that I know. - Alternative PHP Cache (APC): http://apc.communityconnect.com/ - AfterBuaner Cache (bwcache) : http://bwcache

Re: [PHP] user auth

2001-09-14 Thread Andreas Gietl
On Friday 14 September 2001 17:01, you wrote: if you want to work with the passwords that originally are in the shadow-file your webserver needs to have read-permissions for the shadow-file, which is no good idea. you could parse out the passwords from the shadow-file and write them into an e

[PHP] Re: WELCOME to php-general@lists.php.net

2001-09-13 Thread Andreas Sartori
number in /usr/INFO/web-docs/test.php on line 3 please help me :) ---- andreas sartorihellbrunnerstrasse 34 Datenbankadministration & unix support 5020 salzburg, austria zid - universitaet salzburg

Re: [PHP] Unable to find stream pointer

2001-09-13 Thread Andreas Gietl
On Tuesday 11 September 2001 19:00, Andreas Gietl wrote: why is it that nobody answers my question? Does nobody know an answer? > Hi PHP-Users, > > I am having problems with php and imap now for several days on several > servers. I just get the following Error: > > Warni

[PHP] database

2001-09-12 Thread andreas \(@work\)
hi, where can i get a database with the postal codes from germany ? i need to doublecheck the entries posted on our website andre

[PHP] Unable to find stream pointer

2001-09-11 Thread Andreas Gietl
, but i still don't know what is the reason for this error and how to work around it. Does anybody of you know where this error originates? thanx andreas -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROT

[PHP] Problem with session controiler files in PHP on Roxen

2001-09-06 Thread Andreas Lundgren
hy this problem occurs? Best regards, Andreas Lundgren mailto:[EMAIL PROTECTED] ________ Andreas Lundgren Magistratsvägen 55P:405 226 44 Lund 046-320250, 0708-960717, ICQ:1430437 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED]

Re: [PHP] PHP ext

2001-08-09 Thread Andreas D. Landmark
install than php-general though, keep in mind for the future... -- Andreas D Landmark / noXtension Real Time, adj.: Here and now, as opposed to fake time, which only occurs there and then. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] Fo

  1   2   >