Re: RE: [PHP] I can't execute pf commands

2011-07-28 Thread Arthur Moczulski
urity-wise Arthur Moczulski On 28 Jul 2011 19:16, "Bulent Malik" wrote: > > > > > >> did you try it in shell? or just You tried it in PHP? > > Yeah, I tried it on shell and it works on it. Also if I execute it as > command line, it works ; > > php test.p

Re: [PHP] I want to use POST when redirect via PHP Header function.

2011-06-30 Thread Arthur Moczulski
that's quite basic thing which you can definitely find in the manual On 30 June 2011 10:48, Md Ashickur Rahman Noor wrote: > > > > On Thu, Jun 30, 2011 at 1:52 PM, Geoff Lane wrote: > > On Thursday, June 30, 2011, Md Ashickur Rahman Noor wrote: > > > > > I want to use POST when redirect via PHP

Re: [PHP] Manipulate Request Headers after Redirect

2011-06-24 Thread Arthur Moczulski
Hey, this is what I understand: you want to manipulate headers of the request sent by the client directly after receiving a 302 response? If that's the case, than read further ;) Any client goes through the following process while communicating with a web-server: 1. get IP address from the domain

Re: [PHP] free allocated memory: HOW ?

2007-04-13 Thread Arthur Erdös
> Reading in the template should only happen once and take roughly as much > memory as the file is big. > > If the file is 20k, memory should go up roughly by that much. > > If it's going up a lot more, something is going wrong (either you're > doing something wrong or you're not just reading t

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
Am Freitag, den 13.04.2007, 16:03 +1000 schrieb Chris: > > ok, the complete workflow is a little bit complicated. we are using a > > workflow engine and the newsletter generator is one step of three. the > > first cleans the statistics data, the second generates the new data and > > the third is th

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
It can if you're trying to process a borked image... I've had imagecreatefromjpeg() eat memory up to almost 50x the size of the image before finally deciding it can't handle it and crapping out. That was *after* running it through getimagesize() with no problem at all. okay - good point - but i

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
> Just post your source already. > ok, the complete workflow is a little bit complicated. we are using a workflow engine and the newsletter generator is one step of three. the first cleans the statistics data, the second generates the new data and the third is the one which generates the mails.

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
> Arthur Erdös wrote: > > ok, its not really fast, but it runs on my development machine (AMD64, 4 > > GB of RAM, Ubuntu). mysql on the same machine, database with 175 tables > > and 2,3 GB data. that could probably slow down scripts, don't you agree? > > no. you

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
> don't OMFG me - I can't read your cmdline from here you know, > and I'm not the one with a completely borked script/system/whatever. > a big sorry again for the missunderstanding!! ;) I did not omfg YOU! I did omfg ME when I saw that the script eats much more memory as memory_get_usage() return

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
ok, its not really fast, but it runs on my development machine (AMD64, 4 GB of RAM, Ubuntu). mysql on the same machine, database with 175 tables and 2,3 GB data. that could probably slow down scripts, don't you agree? > On Thu, 2007-04-12 at 17:59 +0200, Arthur Erdös wrote: > > &

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
> int memory_get_usage ( [bool $real_usage] ) > > Returns the amount of memory, in bytes, that's currently being allocated to > your PHP script. > > it returns the number of *bytes* !!! sure, and memory_get_usage()/1048576 returns the number of megs, or am i wrong? o_O > > > > >> exactly how

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
hihi, sorry for that! The Ads come from our Ad-Seller (or how is this called in english) and we have nearly no influence on what kind of ads are delivered ;) Am Donnerstag, den 12.04.2007, 16:18 +0200 schrieb Jochem Maas: > [EMAIL PROTECTED] wrote: > > Couple of questions come to mind... > > >

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
answering Jochem: > WTF - 386 megs for an html file??? somehow I doubt this is > the correct number ... are you reading the memory consumption > correctly? when the newsletter generation starts memory_get_usage() says ~96 MB in use. So approx 290 megs more are used after reading the 20.7 Kb tem

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
values within a loop. The size of the used memory grows permanently in each loop by approx 30 MB (100 newsletters are generated per loop). any ideas what i am doing wrong and where i [ab]use php? ^^ > Arthur Erdös wrote: > > Hello all, > > > > is there a way to fre

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
customized values within a loop. The size of the used memory grows permanently in each loop by approx 30 MB (100 newsletters are generated per loop). any ideas what i am doing wrong and where i [ab]use php? ^^ Jochem Maas schrieb: Arthur Erdös wrote: Hello all, is there a way to free memory allocated

Re: [PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
n the placeholders in the read template are replaced by customized values within a loop. The size of the used memory grows permanently in each loop by approx 30 MB. any ideas what i am doing wrong and where i [ab]use php? ^^ Jochem Maas schrieb: Arthur Erdös wrote: Hello all, is there a way to

[PHP] free allocated memory: HOW ?

2007-04-12 Thread Arthur Erdös
Hello all, is there a way to free memory allocated by variables in PHP?? This is a very important issue concerning long running scripts... I have a script that generates > 5000 Newsletters and when the script finishes it uses 1.8 GB (!!) of RAM. Although I am using unset() to clean up variab

Re: [PHP] Re: send email at certain hour

2005-06-30 Thread Arthur Wiebe
Richard Lynch wrote: On Sat, June 25, 2005 11:55 am, Arthur Wiebe said: vlad georgescu wrote: i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ? I've done it using pure PHP for a calendar scri

[PHP] Re: send email at certain hour

2005-06-25 Thread Arthur Wiebe
vlad georgescu wrote: i want to make a "reminder" application which sends emails at certain hour in php. is this posibile ? if not, what else can I use ? I've done it using pure PHP for a calendar script. What I did was write a PHP script with a loop that checks every second whether or not

[PHP] Re: wrong value from define

2004-12-30 Thread Arthur
> Arthur wrote: > > Hi, > > > > in the following code, i want to get a constant value from config.php. I > > don't receive the value, that is defined, but the name of the constant. > > I tested the defines in config.php by echoing all defines, and it was >

Re: [PHP] wrong value from define

2004-12-29 Thread Arthur
> Hello Arthur, > > Wednesday, December 29, 2004, 12:37:30 PM, you wrote: > > A> That's my piece of code (which is in a class in a file which is in the same > A> dir as config.php): > > A> function reg($name, $pw, $ally, $act) { > A> include('

[PHP] wrong value from define

2004-12-29 Thread Arthur
Hi, in the following code, i want to get a constant value from config.php. I don't receive the value, that is defined, but the name of the constant. I tested the defines in config.php by echoing all defines, and it was allright, so i'm quite confused why it doesn't work here. That's my piece of c

[PHP] ImageMagick

2004-06-15 Thread Arthur Radulescu
Hello! Does anyone knows if PHP library for ImageMagick has multilanguage support? I am planning to use it but I have not found anything related to this on their site Thanks, Arthur

[PHP] converting movies

2004-05-06 Thread Arthur Radulescu
Hello! Does anyone know how I can convert movies from a format to another or how I could get a screenshot of the movie (the first scene) using PHP or at least something running on a linux system. Thanks, Arthur -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] oblivious to the obvious

2004-04-23 Thread Arthur Pelkey
I keep getting Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in lines 17 and 21, they are marked below. I am drawing a blank, starting to doze off also :S, thunderbird has crappy default composition widths(anyone know how to change it?), so the formatting

Re: [PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
hat the name was? I am on a Linux system, unfortunatelly... I know pdf will be not a problem but I was more interested in doc files conversion Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide

[PHP] searching trough doc and pdf files

2004-04-22 Thread Arthur Radulescu
Hello! I need to search on the disk trough doc and pdf files. What would you suggest me to use for reading and indexing those kind of files? Thanks, Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions

Re: [PHP] PHP Web Hosting

2004-04-19 Thread Arthur Pelkey
I am all for adventure when money goes into my wallet, the same cannot be said for the opposite ;) John Nichel wrote: Arthur Pelkey wrote: any hosting provider that gives me a 500 internal server error when i try to navigate to their packages, will get overlooked by me ;) A, comeon

Re: [PHP] PHP Web Hosting

2004-04-19 Thread Arthur Pelkey
sometimes it `loads` a blank white page, when i refresh I get a 500 internal server error, tried 20-25 times in a row, oh well Edward Peloke wrote: I just clicked the link and get there fine... -Original Message- From: Arthur Pelkey [mailto:[EMAIL PROTECTED] Sent: Monday, April 19

Re: [PHP] PHP Web Hosting

2004-04-19 Thread Arthur Pelkey
any hosting provider that gives me a 500 internal server error when i try to navigate to their packages, will get overlooked by me ;) Edward Peloke wrote: I use www.ht-tech.net very good and reliable. Eddie -Original Message- From: Adam Voigt [mailto:[EMAIL PROTECTED] Sent: Monday, A

Re: [PHP] How to disable browser's back- and refresh-Button

2004-04-19 Thread Arthur Pelkey
on any current browser simply removing the button from view, does not remove the function, but i guess it is a start Hawkes, Richard wrote: Yes, I think unconstructive e-mails are a little rude aren't they? So here's a bit of JavaScript that removes everything! I'll let you fiddle with the set

Re: [PHP] Array Problem

2004-04-17 Thread Arthur Radulescu
> That's how you could do it ... > > $ar = array(); > > $len = strlen($a); > for ($i = 0; $i < $len; ++$i) { > $ar[] = $a{$i}; > } If I remember well strlen is used for checking the length of a string... Arthur _

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
> You are correct, but I believe the bandwidth savings is small. > > What I usually do for my apps is allow the admin to configure whitespace > trimming. If configured, I only remove whitespace from the beginning of the > line to the first non-whitespace character. This reduces the code size > so

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
What I meant was that it is obiously that eliminating the spaces but not by a blind replacement, the new lines characters and even the tabs will reduce the size of the page which will result in a faster loading and less bandwidth consumed... And the example was google... Am I wrong with anything he

Re: [Re: [PHP] PHP editor]

2004-04-15 Thread Arthur Radulescu
PHP is one thing and HTML is another thing.. Check the google source code and you'll that this is how they have it... I assume the reason is to reduce the size of the page... --- > That is not correct. Since PHP and HTML engines all ignore white space > and comments it does not ma

Re: Re[2]: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
I fully agree with you but as I have mentioned the first time Zend seems to be to slow for fast editing... And sometimes it really takes too much from the computer resources... > I spend around 8 to 10 hours a day inside of Zend Studio (it's open > behind this email window as I type) and I couldn'

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
> Remove all whitespace from the final HTML, then all this doesn't matter. > > function cleanFinalOutput($html){ > $return = eregi_replace("\n", "", $html); > $return = eregi_replace("\r", "", $return); > return eregi_replace("\t", "", $return); > } Have already thought about this but would

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
Not exactly... I was not reffering to PHP files... The white spaces from a template file will make double the size of certain files when they are sent to the browser... So a page of 50 k might have 100 K because of those white spaces instead of tabs... For a dial up connection this means a lot even

Re: [PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
It might be a directive for good programming but as long as this might double the size of a resulted page this is not good for me. Thanks anyway. Arthur > Filling tabs with spaces is a directive for good programming - see > http://pear.php.net > > If you want a good editor

[PHP] PHP editor

2004-04-15 Thread Arthur Radulescu
(even for functions defined in the included files like zend does) and also code ident in a similar manner with zend studio Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide... http

Re: [PHP] Auto-acks on posting.

2004-04-08 Thread Arthur Radulescu
Yes I get the same emails here -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] smarty

2004-04-08 Thread Hundiak, Arthur
> From: John W. Holmes >Smarty has two benefits to using a PHP templating solution (imo) >1. Smarty forces you to keep the presentation layer separate from your >code/business layer. >2. Caching IMHO, a critical reason for choosing a template language over PHP is security. Do you really want to

RE: [PHP] Exceptions and builtin functions in PHP5

2004-04-08 Thread Hundiak, Arthur
Builtin functions in php5 will not throw exceptions. The basic idea is that exceptions are part of the OOP portion of PHP. What you will need to do is to wrap these functions into classes. Fortunately, many existing class libraries such as PEAR can be tweaked to throw exceptions with little or n

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
The code is below (pieces of it). The folders have write permissions. It works just fine with smaller files but nothing happens with larger files if(!is_uploaded_file($_FILES['file']['tmp_name'])){ $ERR['file']=1; } if(!size

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
Yes I restarted the server and then the computer... No success... The page timeouts after a while but the file does not gets uploaded Arthur Looking for a job!? Use the smart search engine!! Find a Job from Millions WorldWide... http

Re: [PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
I have forgot to mention that I have tried this and modified the php.ini on a windows system but had no success. There is no error but the file does not get uploaded either. Arthur - Original Message - From: "Jay Blanchard" <[EMAIL PROTECTED]> To: "John Nich

[PHP] large file uploads

2004-04-07 Thread Arthur Radulescu
Hello! Does any one now how I can handle large file uploads (around 10-20 MB) with PHP. I need this functionality into an intranet but I cannot figure out what I must configure to handle this. Thanks, Arthur Looking for a job!? Use

[PHP] xml_set_default_handler under php5

2004-04-06 Thread Hundiak, Arthur
I can't seem to get xml_set_default_handler to work under php5RC1. I made a very simple test case but the handler just does not seemed to be getting called. It works under 4.3.4. I gather the xml_ routines now use libxml2 instead of expat. I have libxml2 2.6.5 which is pretty recent. Anyone el

Re: [PHP] Help with adding an image to a table row

2004-03-17 Thread Arthur Pelkey
background="" Mark wrote: I have the following snippet of code that I cannot seem to find a way to add an image to a . The line in question is the first one under the else statement: print ""; This line, I would like to show a image called "backgrnd.png" instead of a backgound color. Any he

Re: [PHP] var references

2004-02-06 Thread Arthur Pelkey
Thanks!, my syntax was a bit off, havn't had much sleep, but it kept slipping by me ;) Chris W. Parker wrote: Arthur Pelkey <mailto:[EMAIL PROTECTED]> on Friday, February 06, 2004 9:46 AM said: $blat = $tue_5a; [snip] while($row = mysql_fetch_array($result)) { s

[PHP] var references

2004-02-06 Thread Arthur Pelkey
I have the following: $blat = $tue_5a; $result = mysql_query("SELECT * FROM classes WHERE c_d_tue='1' AND c_s_tue_1_hr='5' AND c_s_tue_1_dn='am'"); while($row = mysql_fetch_array($result)) { switch($blat) { case tue_5a: $min_1 = $row[29]; break; } ?> class title:"> class minut

RE: [PHP] [Fwd: Delivery Report (failure) for php-general@lists.php.net]

2004-01-19 Thread Arthur Pelkey
As have I. -Original Message- From: Ben Ramsey [mailto:[EMAIL PROTECTED] Sent: Monday, January 19, 2004 10:59 AM To: [EMAIL PROTECTED] Subject: [PHP] [Fwd: Delivery Report (failure) for [EMAIL PROTECTED] What the heck does this mean? I've been receiving a ton of these even though I hav

RE: [PHP] Image Header Issues

2004-01-16 Thread Arthur Pelkey
I've had this same problem, and it was not related to any script I wrote, ie just stopped saving in any other format(for images), besides bmp, I am sure there would be something on ms's knowledge base, but it escapes me what I did to fix it, or updated. -Original Message- From: [EMAIL PRO

RE: [PHP] PHP Includes and Echoes in Head Sections and Search Engines

2004-01-15 Thread Arthur Pelkey
You are defining the vars after the header/title has already been processed, put it before the head.php, and it should work -Original Message- From: Freedomware [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 3:54 PM To: [EMAIL PROTECTED] Subject: [PHP] PHP Includes and Echoes

RE: [PHP] Multiple Queries

2004-01-15 Thread Arthur Pelkey
[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 10:52 AM To: [EMAIL PROTECTED] Subject: RE: [PHP] Multiple Queries Can you paste the code please... Humberto Silva World Editing Portugal -Original Message- From: Arthur Pelkey [mailto:[EMAIL PROTECTED] Sent: quinta-feira, 15

[PHP] Multiple Queries

2004-01-15 Thread Arthur Pelkey
I am new this. I have a page that has multiple queries on it, I want to do doing the following: Query a mysql db multiple times in the same page, but i must be missing something, I keep getting these AFTER the first queryis successful: Warning: mysql_fetch_array(): supplied argument is not a val

Re: [PHP] Problem with copy (maybe a bug ?)

2003-03-07 Thread Arthur Chereau
On Fri, 2003-03-07 at 22:36, Marek Kilimajer wrote: > Is the safe mode on? No, it's off. I need it to be off to get the username/password from http authentication. > Arthur Chereau wrote: > > >Hi, > > > >I use PHP 4.3.1 with apache 2.0.44 and php.ini from php.

[PHP] Problem with copy (maybe a bug ?)

2003-03-07 Thread Arthur Chereau
Hi, I use PHP 4.3.1 with apache 2.0.44 and php.ini from php.ini-recommended. It seems that copy() doesn't work. Permissions are correct, apache can read the source file and write to the destination directory. But I get the following error message when I use copy: Warning: copy() [function.copy]

Re: [PHP] real time output

2002-12-17 Thread Chevalier, Arthur
What about setting implicit_flush = on ? "Jason Wong" <[EMAIL PROTECTED]> wrote in message news:<[EMAIL PROTECTED]>... > On Tuesday 17 December 2002 22:29, Art Chevalier wrote: > > Hello, > > > > I want to start a native process and capture the output while it is > > being generated and display i

Re: [PHP] flushing data as it's being generated

2002-11-12 Thread arthur chen
Thanks, that did the trick! Should've read the documentation on flush( ). =] - Original Message - From: "Jason Wong" <[EMAIL PROTECTED]> Newsgroups: php.general To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 6:18 AM Subject: Re: [PHP] flushing data as it's being generated > On

[PHP] Security in virtual host server

2002-05-15 Thread James Arthur
Hi I have a server with multiple users, each with user space that may contain a public_html directory. The main site also has a web page, but I'm having trouble configuring PHP securely. Anyone with access to PHP can write a script to find and print out any file in the main page, and one of t

Re: [PHP] nl2br returns ? normality or a bug?

2002-04-06 Thread James Arthur
On Saturday 06 Apr 2002 07:56, Miguel Cruz wrote: > On Sat, 6 Apr 2002, Justin French wrote: > > on 06/04/02 11:05 AM, Maxim Maletsky ([EMAIL PROTECTED]) wrote: > >> It DOES NOT work fine in every browser. I'd love to give you a prov, but > >> because I am lazy I will just tell you this formula:

[PHP] Has anyone looked at phpinfo today?

2002-04-01 Thread James Arthur
Notice anything different? --jaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Problem with CGI mode

2002-04-01 Thread James Arthur
Hi I need to run some pages on my site in CGI mode for security reasons. I've put #!/usr/local/bin/php at the top of the script in question, and given it the .cgi extension so that apache treats it as a CGI. The script works, but the first thing it does is print out #!/usr/local/bin/php, becau

Re: [PHP] Forum with PHP, without using mySQL..

2002-04-01 Thread James Arthur
On Monday 01 Apr 2002 12:44, MiXmAsTeR wrote: > Hi, I run a Sports site. > > And need a forum, in php, that dosen't use mySQL. > > Anyone know any good, without any advertice, exept some from the one who > made it ? PHPBB v2.x and OpenBB can run on top of PostgreSQL 7.x --jaa -- PHP General Ma

[PHP] Strange problem passing variables

2002-03-22 Thread Jean-Arthur Silve
Hi, A friend of me use PHP4.1.2 on Linux+Apache Here is the problem : He pass a parameter using GET method : http://www.domain.com/test.php?TESTV=1234 test.php is : "; echo $HTTP_GET_VARS["TESTV"].""; phpinfos(); ?> But in the script all variables are empty ($TESTV and $HTTP_GET_VARS["TES

Re: [PHP] HTMLnetscape issue

2002-03-20 Thread James Arthur
On Wednesday 20 Mar 2002 19:43, Nathan Cassano wrote: > Yes here is a solution to this problem and I am surprised no one on this > list pointed it out. > > Simply put a transparent dot within a cell table that you wish to have > the background image display. > Netscape 4 in retarded in the fact th

Re: [PHP] Problem with posting

2002-03-20 Thread James Arthur
On Wednesday 20 Mar 2002 19:40, Rick Emery wrote: > What do you mean "All other browsers either do not submit form data"? I mean when the user hits 'reload' the POST data is not resubmitted. Some browsers do not resubmit form data, some do, and some prompt. > What kind of user authentication ar

[PHP] Problem with posting

2002-03-20 Thread James Arthur
I'm writing a voting script, but I have a problem with it. Voters cast their vote by submitting a form. When this form is received it is added to the database, and a session variable is set saying that they've voted. The problem is that once someone's voted they can just press reload on their

Re: [PHP] HTMLnetscape issue

2002-03-20 Thread James Arthur
On Wednesday 20 Mar 2002 18:11, Vlad Kulchitski wrote: > Hi, > > Sorry for repeating myself, but am lost and still can't find a solution > to the following problem, I need to specify a background image for > like the code below: > > > > > > This code works EVERYWHERE (in all browsers

Re: [PHP] building a control panel in php

2002-03-20 Thread James Arthur
On Wednesday 20 Mar 2002 02:42, Thalis A. Kalfigopoulos wrote: > > -Original Message- > > From: Miguel Cruz [mailto:[EMAIL PROTECTED]] > > Sent: Tuesday, March 19, 2002 5:49 PM > > To: Paul ... > > Cc: [EMAIL PROTECTED] > > Subject: Re: [PHP] building a control panel in php > > > > On Wed,

Re: [PHP] Success Using PEAR?

2002-03-16 Thread James Arthur
On Saturday 16 Mar 2002 20:32, Bryan Henry wrote: > anyone had success using PEAR? > > I have read the documentation and been trying to use the PEAR > files that came with PHP 4.1.2 , PEAR cvs and PHP4/PEAR cvs > with no success. > > I wish there was some updated documentation, and more explanatio

[PHP] Sessions and multiple domains

2002-03-14 Thread James Arthur
Hi I have this problem is that the website I am designing can be accessed using multiple addresses: wired.st-and.ac.uk, wired.st-andrews.ac.uk, wiredsoc.st-and.ac.uk or wired (internally). The trouble is that the cookie is locked to one address. For instance, if I initialise it in wired.st-an

Re: [PHP] Netscape vs. IE/Mozilla

2002-03-10 Thread James Arthur
On Friday 08 Mar 2002 15:44, Vlad Kulchitski wrote: > Hi guys, > > I know it's a wrong place to ask about this, but I am sure someone here > faced the same problem. I am trying to get the site to look consistent > in > Netscape Navigator and it's giving me hard times. Yes, this is a bug in Netsca

[PHP] PDF generation

2002-03-08 Thread Jean-Arthur Silve
Hello, I use PDF function to generate a PDF file. It works fine except I cannot generate a document with more than 10 pages ! For each page I use pdf_begin_page($pdf, 595, 842); I close each page with pdf_end_page Any ideas ?? jean-arthur

Re: [PHP] Parsing Content

2002-03-07 Thread James Arthur
On Tuesday 05 Mar 2002 15:07, Erik Price wrote: > On Monday, March 4, 2002, at 06:10 PM, Jonathan Duncan wrote: > > I want to make a web site that displays news headlines from my favorite > > news > > sites. > PEAR has an RSS headline class that's dead easy to use and works for RDF files. Inci

Re: [PHP] Userfriendly

2002-03-07 Thread James Arthur
On Thursday 07 Mar 2002 16:22, Josiah Wallingford wrote: > Hello, > > Does anybody know of a php script that will email the daily > userfriendly.org comic? Not sure about this -- Userfriendly.org is maintained by advertising, so unless you want to pay them a royalty for every page you view they

[PHP] PDF generation

2002-03-07 Thread Jean-Arthur Silve
Hello, I use PDF function to generate a PDF file. It works fine except I cannot generate a document with more than 10 pages ! For each page I use pdf_begin_page($pdf, 595, 842); I close each page with pdf_end_page Any ideas ?? jean-arthur

Re: [PHP] MacOS-style pager

2002-02-28 Thread James Arthur
Sorry -- that was supposed to go to the KDE list :) On Monday 25 Feb 2002 20:12, James Arthur wrote: > Hi > > Does anyone know of any MacOS-style pager applets? Something that would sit > in the panel and display the current app, and give me a drop down list of > running apps.

[PHP] MacOS-style pager

2002-02-28 Thread James Arthur
Hi Does anyone know of any MacOS-style pager applets? Something that would sit in the panel and display the current app, and give me a drop down list of running apps. GNOME has a very good one, and I miss it having switched to KDE. --jaa -- PHP General Mailing List (http://www.php.net/) To

Re: [PHP] Secure User Auth

2002-02-03 Thread James Arthur
On Sunday 03 Feb 2002 17:43, Viper wrote: > Well it depends what you want to do, Do they need to just get into the app > or do they need to have different access levels? If they dont need access > levels just use htaccess that should work out fine. > htaccess isn't secure enough, since it sends t

Re: [PHP] Re: [PHP-DB] PHP + Postgresql + Linux = Frustration

2002-02-03 Thread James Arthur
> > > >Is there an easy way to do this sort of stuff on Linux or is it better to > >just buy off the shelf products that work? Hi I hate to do the "my distro is better than yours" thing, but typing "apt-get install postgresql postgresql-client apache php4 php4-pgsql" at the command line on a D

[PHP] Convert PostgreSQL timestamp to nicer format

2002-02-03 Thread James Arthur
Hi How can I convert the PostgreSQL timestamp to several strings? This sort of thing: array($hour,$minute,$second,$day,$month,$year) = convert($timestamp) Thanks --jaa -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Secure User Auth

2002-02-03 Thread James Arthur
Hi I have a web site that needs a secure login system. Users of the system can SSH in to the server, and POP, IMAP, Postgres and other services are provided, and I'd like the users to be able to log in to the site - obviously as securely as possible. Maybe using SSL + sessions? I have not use

[PHP] Connect() function

2002-02-01 Thread Jean-Arthur Silve
eclaration and no require or include. I checked the PHP manual, and there is no connect() function ! Any idea ? thank you ! Jean-arthur EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19

Re: [PHP] POSTing HTML into a database

2002-01-07 Thread James Arthur
On Monday 07 January 2002 01:59, Richard S. Crawford wrote: > I've used a combination of addslashes() and stripslashes() along with > htmlspecialchars() to perform just that sort of thing, though I used MySQL > instead of PostreSQL. I've got it sorted so that when the user enters the HTML data in

Re: [PHP] POSTing HTML into a database

2002-01-07 Thread James Arthur
On Monday 07 January 2002 01:59, Richard S. Crawford wrote: > I've used a combination of addslashes() and stripslashes() along with > htmlspecialchars() to perform just that sort of thing, though I used MySQL > instead of PostreSQL. Can you help me along a bit further? I can't seem to get them in

[PHP] POSTing HTML into a database

2002-01-06 Thread James Arthur
Hi I need a user to be able to enter submit HTML code (also perhaps containing PHP code) via a web form, which will then be entered into a database. The data is typed in to a textarea, which is then posted to my script. I notice that some special characters come out of this process escaped, bu

[PHP] Supplied argument is not a valid PostgreSQL result resource

2001-12-24 Thread James Arthur
Hi. I've been getting the following error: Warning: Supplied argument is not a valid PostgreSQL result resource in dbasefunctions.php on line 87 The error occurs in the following function: function dbFetchRow($result,$num) { global $wireddb_h; $r = pg_fetch_row($result,$num);

[PHP] Most secure way to send a password

2001-12-21 Thread James Arthur
Hi The most insecure part of entering a password in a web form is when you click "submit" and your password is sent in plain text form to your next PHP script. Is there any way around this without using JavaScript? How secure is it to use HTTP_AUTH? Cheers --jaa __

Re: [PHP] PHP to ASP ?

2001-11-26 Thread Jean-Arthur Silve
wrote: >>This is a PHP mailing list, I doubt you'll find anyone who knows, or wants to >>know ASP. Why not use PHP for this, and dump ASP (along with the slow, >>bug-ridden webserver it runs on [unless you're using Apache::ASP])? >> >>On 26 November 2001

[PHP] PHP to ASP ?

2001-11-26 Thread Jean-Arthur Silve
Hi ! I work with someone who use ASP :-(( ... Is someone could translate this function to ASP ?? I don't think it's hard, but when you don't know ASP... function encrypt($str) { global $STRCRYPT; $i = strlen($str); $newstr=""; for ($j=0;$j<$i;$j++) { $car = substr($str,$j,1); $car = ord($car);

[PHP] Time out for file()?

2001-11-14 Thread Jean-Arthur Silve
) // Timed out else // ok Thank you ! jean-arthur --- EuroVox 4, place Félix Eboue 75583 Paris Cedex 12 Tel : 01 44 67 05 05 Fax : 01 44 67 05 19 Web : http://www.eurovox.fr

[PHP] PHP 4.0.6 + GD

2001-09-07 Thread Jean-Arthur Silve
the archive and it seems it is a problem with this version of PHP.. Is someone succeed in resolving this problem ? Thanks ! jean-arthur -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the l

Re: [PHP] Need people's advice on a web registration system.

2001-08-14 Thread Jean-Arthur Silve
I think, when they register or log in the first time, ask to the user if they want you to remember them by placing a cookie.. Don't do it automaticaly ! Most people doesn't like that, and if they are not on their computer (web bar, or at the office...), they could not like this... At 11:43 1

Re: [PHP] Instalation

2001-08-14 Thread Jean-Arthur Silve
check de readme or install files provided in each one ! At 15:39 14/08/01 +0200, Roman wrote: >Help me. I have RED HAT Linux 7.0 and I want install Apache web server with >php and mysql support. How ? > >I have : apache_1.3.20.tar.gz >php-4.0.6.tar.gz >mysql-3.23.38.tar.gz

[PHP] Return Adress

2001-08-09 Thread Jean-Arthur Silve
ub,$msg,$head); Is there a way to force the error messages to go to another email adress ? Another header ? If it's sendmail that change the return address, is there a way to prevent this ? Thanks ! jean-arthur --- EuroVox 4, pl

Re: [PHP] Alternate way of calling php scripts

2001-08-08 Thread Jean-Arthur Silve
I think you think to the GET method : http://www.mysite.com/script.php?your=mom At 06:13 08/08/01 -0700, Evan Nemerson wrote: >I seem to recall that you can call a PHP script with a slash after it then >variables. For instance http://localhost/script.php/your=mom. I can't find it >in the manual

Re: [PHP] Problem with Excel

2001-06-29 Thread Jean-Arthur Silve
Hi ! I think the simplest thing to do is to convert your excel file to a CSV file (it an ASCII format ). jean-arthur At 17:16 28/06/01 +0530, Sharat Hegde wrote: >Hello, > >I have a web site on a Unix environment running PHP 3.0 and MySQL. > >I need to convert data in an Ex

RE: [PHP] php as cron

2001-06-22 Thread Jean-Arthur Silve
Why don't you put directly this line in your cron file ? i.e : 00 03 * * * lynx -dump http://192.168.254.10/pop3/pop3_stuff2.php3 for daily 3.00 AM jean-arthur At 09:28 22/06/01 +0100, AJDIN BRANDIC wrote: >Hi again, > >this is what I have done, as adviced by you guys (thanks

  1   2   >