[PHP] PayPal: Instant Payment Notification

2002-04-27 Thread Lauri Vain
Hello there, Has anybody worked with PayPal's Instant Payment Notification? How exactly does it work -- will the payer ever go to PayPal's site itself (and leave my site for a sec) or will all contact with PayPal's servers be handled by my script? I have to write a system that enables paymen

RE: [PHP] PHP editor for windows

2002-04-22 Thread Lauri Vain
> www.editplus.com I second this recommendation! Really good program. Thanks, Lauri -- Tharapita Creations [server-client web applications] [EMAIL PROTECTED] Mobile: +372 53 410 610 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] CMS -- central module handling

2002-04-20 Thread Lauri Vain
Hello there, I'm seriously researching some aspects of writing a content management system that would be 'relatively' easy to extend. My biggest problem is the ground level -- how should the central system (that registers modules) work? Ideally, it should be possible to easily extended the sys

[PHP] Russian encoding problems

2002-03-23 Thread Lauri Vain
Hello, I have some problems related to a site in Russian (I don't speak Russian myself, so I can't consult tutorials in Russian). The encoding, passed via HTML, is koi8-r. Then the form will be submitted and PHP will send out an e-mail with the encoding koi8-r. Everything seems to work fine

RE: [PHP] Re: Can Anyone translate my script to php?

2002-03-10 Thread Lauri Vain
Hi Ceyhun > http://www.akademihastanesi.com.tr/kocak/resimgoster.php > look here > I have tried to do it but notting happens? Open that page in your browser and 'View source'. You don't seem to have PHP enabled on your server. Yours, Lauri -- Tharapita Creations [dynamic web applications] [EMA

[PHP] (htaccess) not letting php to parse

2002-03-08 Thread Lauri Vain
Hi there, I would prefer to take away the possibility for PHP to parse my documents in the /uploaded/ directory. What has to be written into the .htaccess file for PHP *not* to parse *anything* therein (not .php, not .phtml, not .html, not .php3, not .blah... in a word -- NOTHING). It would

[PHP] Uploading files in Russian? (urgent)

2002-03-04 Thread Lauri Vain
Hello there, I'm having quite a few problems at the moment. The story is as follows. The designer created 14 HTML files. That includes two language versions (so basically there are only 7 different files... the rest are same files in a different language). One language is English, the second o

[PHP] Calendar - loop 365 times?

2002-02-11 Thread Lauri Vain
Hello there, I have a task to modify a quite problematic calendar that wasn't created by me -- currently only weeks and months are shown (for that, all days of the week/month are looped through). For every day, 7 queries are done -- one for each table (there are different tables for weekly, mont

[PHP] Two SQL tables: asking data in chronological order??

2002-02-04 Thread Lauri Vain
Hi there, I have a somewhat urgent issue so I'll get right to the point. There are two tables and for simplicitys sake I stripped about 2/3 of the tables structure. I need to order the data from two SQL tables by date. Basically a chronological list from the two tables. Now, ordinarily I wou

[PHP] Whoops (was:RE: [PHP] multiple replaces...)

2002-01-12 Thread Lauri Vain
Whoops, forgot to change the first number in every one of those. The first numbers in the brackets should increase after every two lines... The correct one: $replace[1][1] = "!one!"; //marker $replace[1][2] = "hehee"; //replace with $replace[2][1] = "test";

RE: [PHP] multiple replaces...

2002-01-12 Thread Lauri Vain
Hi Nick, Yes, I thought about that. But, what should I do when the markers are absolutely NOT in any sequence. I also thought about something like $replace[1][1] = "!one!"; //marker $replace[1][2] = "hehee"; //replace with $replace[1][1] = "test";//

[PHP] multiple replaces...

2002-01-12 Thread Lauri Vain
Hello there, I have about 30 markers in the text which need to be replaced with the value of a variable or an array. Common sense comes up with eregi_replace("!one!","blah",eregi_replace("!heh!",'foobar',eregi_replace("blah","ho-ho-ho",text))); The list above could go on and on... I'm sur

[PHP] Templating solutions?

2001-12-29 Thread Lauri Vain
Hi there! During the last two weeks or so, I've been bugged by a question deep inside me. It's about various templating solutions used with dynamic web applications. Oftentimes simply embedding the code into the HTML template does the trick. Othertimes the include("header.inc");and include("

Re: [PHP] Fulltext-Search

2001-12-24 Thread Lauri Vain
Hello Martin, At 10:13 PM 12/23/2001 +0100, Martin wrote: >Hello! Does anybody know a good script to search the own web-server?! >Would be nice if the script could display the whole sentence where the >word was found... If you want to have more hands on fun then check out the following class/how

[PHP] Writing "xxx" OR "yyy" with a regular expressions`?

2001-12-12 Thread Lauri Vain
Hello there, I need to write all of the href="" contents into an array. Presently I use the following code, which works like charm: <.CODE>preg_match('!HREF=[\"\' ]{0,}([^\"\'>]*)[\"\'>]!i', $Content, $reg_array)<./CODE> That, however, doesn't support Frames so I would need to make the script ma

[PHP] PDF print page creation...

2001-11-27 Thread Lauri Vain
Hello, A client requested a script to create a page to print out the list of clients that are subscribed to a chosen service. This list will be printed and then faxed to an outer source because that's how the second company that oursources the service requests it. The present script creates a HT

[PHP] Creating thumbnails

2001-04-15 Thread Lauri Vain
Hello everybody, I just finished reading a message from the server root and I have been told that the server I have to work with by our current project doesn't support GD and they can't install it neither. We will, however, need to create thumbnails from larger images (JPEG). Are there any other

[PHP] Statistics function

2001-03-14 Thread Lauri Vain
Hello everybody, How does the behind the scenes work by PHP exactly go? Does the PHP thread remain active so long as the information is sent to the visitor? Or will PHP parse the code and send it to Apache which will send the data to the user itself? The reason that I'm asking this is I'm writin

[PHP] File uploading?

2001-01-31 Thread Lauri Vain
Hello everybody, I'm trying to do a file upload from the users computer via HTML file form element to a Linux server running Apache. The file is selected by the user from her or his computer, they hit the submit button and the file goes to /print/ folder (dir relative to uploading script on the