[PHP] Re: List items in table with a hypertext link

2003-01-16 Thread Al
This may be a bit more than you are looking for. http://sourceforge.net/projects/phpmyedit/ Mike Tuller wrote: I have been looking for an example of how to create a listing of items in a table where you have the first item in the list have a link so that when you click on it, it will open a

[PHP] Re: problems with include()

2003-01-30 Thread Al
Looks like you are only backing up 2 levels when you need 3. Why not try something like: $root= "the absolute path to your root folder"; Then simply: include ($root . "mainfile.php"); etc. Daniel Negron/Kbe wrote: I have this code : which works great from the root dir where these files

[PHP] How can I... force some HTML tags for all links to jpg files.

2003-01-31 Thread Al
I've got a folder with about 100 jpg files and a menu which a link to each one. Works fine but looks crude. Obviously, the image shows as a default on a white background, located in the upper left. I'd like to spiffy up the appearance with a background color and centering the image. [e.g. wit

[PHP] Question about $DOCUMENT_ROOT and include

2003-02-05 Thread Al
Why does the absolute path work and not document_root? include ("$DOCUMENT_ROOT/root_functionsT.php"); //error message says function undefined include ("/www/r/myID/htdocs/root_functions.php"); // Works just fine echo "$DOCUMENT_ROOT/root_functionsT.php"; // shows /www/r/myID/htdocs/root_functio

Re: [PHP] Question about $DOCUMENT_ROOT and include

2003-02-05 Thread Al
ted directories and would like be certain things will work if we move the site to a new host. Several references I've found suggest staying away from using $DOCUMENT_ROOT since it can be different on virtual hosts. Chris Shiflett wrote: --- Al <[EMAIL PROTECTED]> wrote: Why does the

[PHP] Re: setcookie() in various browsers..

2003-02-07 Thread Al
cookies work just fine with NS4x. Here's one I use: setcookie ("LastVisit", time(), time()+7776000); Chad Day wrote: This is with PHP 4.2 and register_globals off. I am setting cookies and starting a session in the following fashion: setcookie("EMAILADDR", $row[EMAIL], time()+2592000, '/', ".

[PHP] What happened to phpEdit???

2003-02-16 Thread Al
Their site no longer responds. Surely, we haven't lost one of the best php editors. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] What happened to phpEdit???

2003-02-17 Thread Al
Did you try the URL you posted? I tried that one and several others listed for phpEdit. All say the site is not responding. Bryan Lipscy wrote: Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Message- From: Al [mailto:[EMAIL PROTECTED]] Sent: Sunday

Re: [PHP] What happened to phpEdit???

2003-02-19 Thread Al
e: It works fine for me. So does www.phpedit.net Al wrote: Did you try the URL you posted? I tried that one and several others listed for phpEdit. All say the site is not responding. Bryan Lipscy wrote: Did you check google? http://ozu.arecom-sa.com/~marms/phpedit.net/ -Original Me

Re: [PHP] What happened to phpEdit???

2003-02-19 Thread Al
reach their site. We'll see. Mirek Novak wrote: Al wrote: Are you guys it works for in Europe, or outside the USA? I can traceroute to their site just fine, both phpEdit.com and phpEdit.net. And, I can use the IP 212.43.196.19; but it won't open the ... and what about so call

[PHP] Question about str_replace()

2003-02-22 Thread Al
I have a simple str_replace function that obviously has a syntax problem. The [p] in the $find array ignores the brackets. Every "p" in my text is replaced by a . Just for the heck of it, I've tried " instead of ', and preg_replace(), etc. $find= array('& ','W&OD', '"&"', chr(146), '[p]'); $

[PHP] Question about replacing \r\n with

2003-02-22 Thread Al
I can't find a way to replace \r\n codes with in a text file. I'm reading a text file that was prepared with windows notepad The hex code shows OD OA for CR/LF as I expect. I'd like to replace the OD/LF with s. I spent hours trying every User Notes in the PHP Manual for this simple operation.

[PHP] Re: Question about str_replace()

2003-02-23 Thread Al
for me. The following printed: "leadingtexttrailingtext" to the screen '); $text = "leadingtext[p]trailingtext"; $words = str_replace ($find, $replace, $text); print $words; ?> "Al" <[EMAIL PROTECTED]> schreef in bericht news:[EMAIL PROTECTED] I have a simple str_replace

[PHP] Question about Include_once

2003-07-19 Thread Al
Does file called by "Include_once" stay with the client's session or just for operations in the page where it is stated? For example, assume I have one file that contains several functions, then if use "include_once('functions.php')" on several pages, does the server reload the file for every

[PHP] Re: Freeze Pane

2003-07-25 Thread Al
Inline frames http://www.cs.tut.fi/~jkorpela/html/iframe.html Jason Martyn wrote: This is probably under the category of javascript, however I would like ot know if it is possible to be done with php. Let's say I have a table that is 30 columns wide and so the entire table doesn't fit on the scr

[PHP] File uploads...

2003-03-24 Thread Al
Any ideas what settings I need to change to make this simple process happen? Thanks --Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Help with procmail script...

2003-03-28 Thread Al
use of the aliase file for sendmail. Though using procmail to strip the above info my be better in the long run? Thanks, --Al Gateway.php #!/usr/local/bin/php -q /* $Id: gateway.php,v 1.11 2002/10/28 15:52:27 root Exp $ * Copyright (C) 2002 Justin Mazzi <[EM

[PHP] Removing a string from one area to another...

2003-03-29 Thread Al
t to remove from the inforamtion So maybe with a preg_match on the boundary and then strip from that value until the next time you see the value?? Though now to put this in a language php understands?? Thanks --Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Anyone know of a php script to extract files from a zip file.

2003-05-27 Thread Al
I doing a little photos album application and I'd like my, non-techie, users to be able to zip together their photos and upload them to a folder on the site. I've got everything going nicely except the unzipper. I would not like to teach them to use ftp, even with a browser. I'm on a virtual

Re: [PHP] Anyone know of a php script to extract files from a zipfile.

2003-05-27 Thread Al
Does appear to be promising. I'll try it. His description is a bit vague about what zip formats it handles. Evan Nemerson wrote: http://dev.maxg.info/projets/projet.ziplib.en.maxg maybe??? haven't tried it On Tuesday 27 May 2003 12:16 pm, Al wrote: I doing a little ph

[PHP] Re: corrupt images

2003-05-29 Thread Al
Check that you are using the correct MIME type. There is a note on this in the User Contributed Notes under the function definition. Jason Jacobs wrote: Hi all. I've been struggling with getting images to upload cleanly. I'm using php 4.2.2. When I look at the uploaded file info, it gives

[PHP] Sendmail "return-path" from my virtual webhost

2002-07-29 Thread Al
Emails sent from my php scripts, using sendmail, all have a goofy "return-path" variable in the header. Is there a way I can correct this, or does it require a change to the sendmail config file that I can't get to? Thanks... -- PHP General Mailing List (http://www.php.net/) To unsu

[PHP] Re: Sendmail "return-path" from my virtual webhost

2002-07-30 Thread Al
I was hoping there was a way to fix it without having to modify my php scripts [e.g., phpBB2, postlister, etc.] Manuel Lemos wrote: > Hello, > > On 07/29/2002 01:54 PM, Al wrote: > >> Emails sent from my php scripts, using sendmail, all have a goofy >> "return

[PHP] Newbie question about UNIX command-line directives

2002-08-10 Thread Al
I'm on a virtual host without a shell account and need execute a UNIX command. ln -s ../afile.php index.php Is there some way to do this [e.g., with a htaccess file]? What happens when you execute UNIX commands like the one above? Does it make a file, change the config? Thanks --

Re: [PHP] Newbie question about UNIX command-line directives

2002-08-11 Thread Al
that may work? Thanks. Analysis & Solutions wrote: > On Sat, Aug 10, 2002 at 01:12:38PM -0400, Al wrote: > >>I'm on a virtual host without a shell account and need execute a UNIX >>command. >> >>ln -s ../afile.php index.php > > > In a PHP scr

Re: [PHP] Newbie question about UNIX command-line directives

2002-08-11 Thread Al
tes at the bottom. It is incredible that such a basic php function should be so obtuse and ill defined. I'm going to give your other suggestion a try tomorrow. Thanks again Analysis & Solutions wrote: > On Sun, Aug 11, 2002 at 12:33:55PM -0400, Al wrote: > >>The .htac

Re: [PHP] Newbie question about UNIX command-line directives

2002-08-12 Thread Al
on't work and the error log says "not allowed" etc. I appreciate your help. Rasmus Lerdorf wrote: > What does include have to do with DirectoryIndex? And what exactly is > your problem with include? The only trick is setting the include_path > which doesn't seem all t

[PHP] Imagemangick, can I install on a virtual host?

2002-09-01 Thread Al
I'd like to use some of the Imagemagick functions; but my virtual host doesn't include it and won't bother to install it. Is it practical to install Imagemagick php on a virtual host? Has php. It's not a shell account. FTP is the only basic access. -- PHP General Mailing List (http://www.p

[PHP] Question about Mail function time out

2002-06-07 Thread Al
Sorry if this shows twice. I originally posted it with Mozilla and forgot that this newsgroup server seems to ignore postings from it. This one is posted from IE. I've got a mail function script that occasionally terminates midway while sending out about 600 emails. The symptoms point to the "

Re: [PHP] Question about Mail function time out

2002-06-07 Thread Al
n message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Al, > > Interesting. I use Mozilla and I've never had any emails rejected or > heard of anyone else have it happening. Have you some more information > or is this an urban legend? > > Regards > > Chris >

[PHP] Question about set_time_limit and max_execution_time

2002-06-07 Thread Al
I've got a mail function script that occasionally terminates midway while sending out about 600 emails. The symptoms point to the "max_execution_time", which is set for 30 seconds. The question is how to best handle it. set_time_limit only seems to apply to the script that contains it. Yet t

[PHP] What are pros and cons of the Apache module verses cgi version?

2002-06-08 Thread Al
I notice that some webhosts offer the apache module and some the cgi. On the surface, the cgi version appears to be a lot of extra hassle. Thanks -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Newbie needs some help picking a php editor.

2002-06-11 Thread Al
I spent a good bit of time looking at editors to help me prepare and modify php scripts. I've found it very time consuming to evaluate them. In general, I've found you have to download, install and play with them some just to determine if they fit your needs. And I know from experience, ofte

[PHP] Re: Table format needs php correction

2003-08-30 Thread Al
There are too many problems with your code for anyone to spend the time going thru them all. I'd suggest, first constructing a regular html table that looks like you want it to. Hint, IE6 requires something in TDs [e.g.,  ] for borders to show. When the table looks the way you want it to, va

[PHP] str_replace question

2003-09-09 Thread Al
I've got a simple expression " where "xx" is a number from 0 to 99. I want to replace it with simply . That is, I want to remove the numbers. Will "str_replace" do it, or must I use ereg_replace? I haven't figured out from reading the php manual on regular expression how to do this simple thi

[PHP] Re: Echo $PHP_SELF not working

2003-10-10 Thread Al
Put a ";" [no quotes] after such as: echo $PHP_SELF; Jeff McKeon wrote: I've just published a new website and something is wrong. I suspect the PHP.ini on the server but I can't seem to find anything. The line: Doesn't seem to work. If I look at the "view source" from the web browser I

[PHP] Newbie question about Class

2003-10-15 Thread Al
My question seems fundamental. I want to set a variable in one function in a class and then want to use the value in a second function. However, the functions are called a html page with two passes. Submit reloads the page and an if(...) calls the second function in the class. If I declare o

Re: [PHP] Newbie question about Class

2003-10-15 Thread Al
I was afraid that was the case. Tom Rogers wrote: Hi, Thursday, October 16, 2003, 3:35:56 AM, you wrote: A> My question seems fundamental. I want to set a variable in one function A> in a class and then want to use the value in a second function. A> However, the functions are called a html

[PHP] Re: Recommendation for Unique URL

2003-10-26 Thread Al
atenate the employee's email and manager's email, and then use an MD5 hash of it as the unique string. i.e: $unique_id = md5 ( $employee_email . $manager_email ); For more info on what MD5 is, see http://us2.php.net/manual/en/function.md5.php Cheers, Al -- PHP General Mailing List (htt

[PHP] Idea for new operator

2003-10-26 Thread Al
e same!"; Of course creating a new operator is only justified if the vast majority of PHP users do these comparisons as much as I do, and are as averse to work as I am ... :). Thoughts? Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: problem in 2 dimensional Array

2003-10-26 Thread Al
calar variable: Cheers, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Object Undefinded index

2003-10-29 Thread Al
> foreach ($cart as $product_id => $quantity) > { > echo $product_id . "" . $quantity; > } The way you are accessing the array is incorrect. The $items array is a property of the Cart object. Since the Cart object may have many different array properties, the foreach statement above has to be

[PHP] Re: Object Undefinded index

2003-10-29 Thread Al
e key exists, and if it doesn't sets it to 0, before attempting to add to it's value. This is essentially replicating what PHP was doing anyway. Cheers, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Oh, for a "sureset()" (orthogonal to isset())

2003-10-30 Thread Al
> function sureset($var) { > > if(!isset($var) || empty($var)) > return ''; > else > return $var; > } > > Of course, when you've got strict checking on, the above doesn't > work, because if the variable is unset you get caught on the fact > before the function call happens. One change will make yo

[PHP] Re: PPTs and thumbnails

2003-10-30 Thread Al
e and manipulate the output image, but PHP cannot natively manipulate PPT files, nor are there any PEAR packages for that purpose. Good luck, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: PPTs and thumbnails

2003-10-30 Thread Al
> In short: not with PHP. You're going to need a program that can read and > render PHP files, and save them as a static image (i.e. gif, jpg, etc). > Al Apologies, the 2nd sentence should read "You're going to need a program that can read and render PPT files ..."

[PHP] Re: whois api's

2003-11-11 Thread Al
There is a PEAR Project that does exactly what you want: http://pear.php.net/package/Net_Whois Al "Rolf Brusletto" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hey all - > > I'm currently working on a project which requires domain name > info

[PHP] Re: Good php WebMail Clients thru apache

2003-11-16 Thread Al
"Jerry Alan Braga" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Any suggestions ? The best I've seen (by a long shot) is IMP, which is part of the open source Horde project. Product homepage is at: http://www.horde.org/imp/ Hope it helps, Al -- PHP Ge

[PHP] Re: Get value between 2 strings

2003-11-17 Thread Al
Here's what I use: /** * get_text() * * $t The total text string * $s starting text string [e.g. ] * $e ending text string [e.g. * * @return the extracted text string. [e.g., returns string between start and end texts. */ function get_text($text, $s, $e) // Get string out of text { $sp = strp

[PHP] Re: User/Pwd Management Package?

2003-11-23 Thread Al
There are a number of open-source PEAR packages that can help you manage usernames, passwords, and user preferences. Check out: http://pear.php.net/packages.php?catpid=1&catname=Authentication Hope it helps, Al "Jonathan Rosenberg" <[EMAIL PROTECTED]> wrote in message n

[PHP] Re: String Manip. - Chop Equivalent

2003-11-23 Thread Al
>From the PHP Manual notes (http://us2.php.net/manual/en/function.chop.php): $string = substr("$string", 0, -1); Al "Jed R. Brubaker" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Does PHP have an equivalent to PERL's chop - that is, a way

[PHP] Re: PHP to get mail headers

2003-11-23 Thread Al
tp://pear.php.net/package/Mail_Mime Hope it helps. Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Count online users question

2003-11-26 Thread Al
ber that many users are behind shared IP numbers (e.g. firewalls) which may skew your stats. You would be better off using cookies on user's machines to identify them and log their accesses to a DB. Hope that helps, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Export data

2003-12-01 Thread Al
sily in PHP, and then serving them to your users as XLS files. Good luck, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: html stripping

2003-12-04 Thread Al
out. Try looking at this tutorial for some starters: http://www.phpfreaks.com/tutorials/52/0.php Good luck. Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Sort Array by date

2003-12-04 Thread Al
, $aYear, $aMonth, $aDay); list ($bMonth, $bDay, $bYear) = explode('-', $b); $bIsoDate = sprintf("%04d-%02d-%02d", $bYear, $bMonth, $bDay); return strcmp($aIsoDate, $bIsoDate); } Good luck with it, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Write on image in faint color

2003-12-09 Thread Al
this. Hope it helps, Al "Ryan A" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > This was asked some time ago but cant find it in the archive, anybody > remember how it was solved please write and tell me. > > Requirment: > Write domain na

Re: [PHP] Re: Write on image in faint color

2003-12-10 Thread Al
to convert and mogrify. The closest thing out there at the moment (that I know of) is a PHP extension available through PECL, the PHP extension library. According to the docs, it "provides a wrapper to the ImageMagick/GraphicsMagick library." You can find it and download it at http://pecl

[PHP] Re: passing arrays?

2003-12-11 Thread Al
n this syntax, see: http://us2.php.net/manual/en/language.variables.variable.php 2) You are assigning $level_1 or $level_2 (depending on the value of $_SESSION['user']['level']) to $level *before* you have assigned $level_1 or $level_2 any values. There's no point making $

[PHP] Re: How could I count the elements of each dimension of an array?

2003-12-14 Thread Al
erets $ojpp[0][1] = "1" as being an attempt to assign "1" as the second character to the string already assigned to $ojpp[0]. Which begs the question: why assign "1" to $ojpp in the first line of your code when you seem to want to reaplce it with an array on lines 5 - 8?

[PHP] Re: Operation in an Array

2003-12-14 Thread Al
"Harry.De" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > How can i make an operation like adding variables in an array for example > $array[$a+$b]; You'll have to be more specific. What exactly do you want to do? Add values of an array together? Their

[PHP] Re: Trying to check for a valid URL String.

2003-12-14 Thread Al
t these are not valid characters for domain names. 2) You allow dashes in the first pattern, but do not escape the dash character. 3) You have not provided a quantifier to the top-level domain pattern: [a-zA-Z], so it is only looking for one character fits the class [a-zA-Z]. Hope that helps, Al --

Re: [PHP] PHP IDE?

2003-12-15 Thread Al
I searched for weeks and tried about 8 php editors and settled on http://www.phpedit.net/products/PHPEdit/ Code hints and completion, and highlighting, etc. are superb. Has a few minor bugs, but they are not serious. The automatic documenter [they call it help, which it really isn't] is supe

[PHP] Re: Where and how do i use $_post etc

2003-12-26 Thread Al
e script.php you can access the submitted form values in the $_GET array, using the form field names as array keys. e.g: If you had set the in your HTML, then you could have accessed the form values from the $_POST array within PHP. Hope that helps, Al -- PHP General Mailing List (http://

[PHP] Re: HELP! -- Problem with imagejpeg()

2003-12-27 Thread Al
Here is a complete function I wrote a few months ago. It should do it for you or give you hints for fixing your problem. René fournier wrote: Hello, I have a function that is meant to check if an image is greater than a certain width and height, and if it is, downsample it. The checking part

[PHP] Re: Testing for Well-Formed XML

2003-12-30 Thread Al
manipulation at http://pear.php.net/packages.php?catpid=22&catname=XML, and in particular the XML parser module at http://pear.php.net/package/XML_Parser. Hope that helps, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Another Session Question

2003-12-31 Thread Al
g, even the first time through $counterFile shows just fine. Al.. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Another Session Question

2003-12-31 Thread Al
Your'e right, that's a typo. If I put a echo $_SESSION['counter_file'] . ' testx ' . $counterFile; Before and after the conditional, $_SESSION['counter_file'] is set after the conditional, as it should be. But, it is gone from the before echo when the function is recalled. The Sessi

[PHP] Session logic question

2004-01-02 Thread Al
I use the $_SESSION buffer extensively on my site without a problem, except one. Maybe someone can help me understand the problem. I have a simple page counter with a test to see if the page has been counted for the user. start_session(); * * [additional code] * if($_SESSION['ct

Re: [PHP] Session logic question

2004-01-02 Thread Al
Thanks for the reply. i just found the bug in my code. I had a statement in the second script: $_SESSION = $array; that obviously, completely replaced everything in the $_ SESSION buffer. These little I gotchas can be fun. Chris Shiflett wrote: --- Al <[EMAIL PROTECTED]>

[PHP] Re: PHP $_SESSION Expiring in IE

2004-01-03 Thread Al
IE and Moz have different JAVA script engines. Try turning off JAVA and see if IE maintains it's session. Tarrant Costelloe wrote: Hello, I have recently launched the new Planet-Tolkien.com, one would think that writing a message board from scratch and a dynamic weather system, a simple sessi

[PHP] Re: Comparison PHP to Perl

2004-01-06 Thread Al
erwise take another look at Perl. For a list of PHP's features, take a look at the documentation ... it's very user-friendly. [http://www.php.net/manual/en/] You'll also find a ridiculously large number of articles online comparing PHP to Perl, just do a Google search such as: [htt

[PHP] Re: Syntax Highlighting

2004-01-06 Thread Al
form of source code. Try http://www.beautifier.org/, a free PHP app that can syntax highlight a ridiculously large number of languages ... even Logo! Hope it helps, Al -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Ques: Conflicting functions in two include files.

2004-01-23 Thread Al
I have a page that calls functions from two different include files. Unfortunately, some of the functions have the same name; but are slightly different. I know I can change the names of the conflicting functions; but, that is a bit of a chore. Is it possible to control from which include f

[PHP] One some problem with uploading

2001-03-15 Thread Al
I have one script on PHP for uploading files on ftp server. This source code downloaded from PHP manual help (upload files) His work not correctable. If i changed Text files for uploading on ftp server it's work all right . if i changed Binary files to uploading (for example logo.gif) it's don't w

[PHP] Hmmm... What's problems?

2001-03-15 Thread Al
I'm using manual online on php.net and use example of File uploader. If i changed TEXT file All right! If i changed Binary file php script answer Error! in sources code PHP using Binary method... And temporary subject $source_file is empty! if i insert in PHP { echo "source: $source_file"; } and

[PHP] Newbie Questionabout variables

2002-05-25 Thread Al
I hope this posting is not a duplicate. I originally posted it yesterday, but it doesn't show on the newsgroup for me. Apparently you can set a variable as part of a URL statement. For example: www.company.com/index.php?admin=password. Where "password" might be a simple variable to test as a

[PHP] Posting problem with Mozilla

2002-05-25 Thread Al
Anyone have a clue why I can't post messages with Mozilla [RC2]? Goes through all the motions as if the message is sent. Shows in my sent folder and the terminal icon indicates the message is sent. Works fine for all other newsgroup servers. I'm posting this with IE6. -- PHP General Mailin

[PHP] Re: Newbie Questionabout variables

2002-05-25 Thread Al
o the "index.php" a little secure with a password. I've seen other applications with this technique. Thanks again, Al.. "Al" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > I hope this posting is not a du

[PHP] Re: javascript reference (slightly ot)

2001-08-15 Thread Al
Try searching for "javascript" and "reference" on Google for online references. If you want a decent book, get something like "JavaScript: The Definitive Guide" by David Flanagan, published by O'Reilly. Regardless, pay attention to flags stating IE or Netsc

[PHP] INPUT type=file value=????

2001-08-20 Thread Al
x27;t get Mozilla, Netscape, nor IE to do this. Here's my code: METHOD="POST"> Attachment #1: The wrapped lines do have a space in front of them. Is this an oversight, did I miss something in the docs, or have I done something really stupid? -Al -- PHP General Mail

[PHP] Re: HTML Escaping

2004-07-23 Thread Al
Look up heredoc in te php manual Robb Kerr wrote: I've got a conditional button that needs to appear/hide on my page depending upon the contents of a field in my database. The button is an image and has a long URL and JavaScript for image rotation attached to it. Needless to say, the href is quite

[PHP] Re: Code elegance and cleanliness

2004-07-25 Thread Al
Not really knowing why you need to provide indexes for the array, since they are generated automatically if none are provided, I'd use: $imgBkgrnd = array( 'bkgrnd-default.gif', 'bkgrnd-positive.gif', 'bkgrnd-negative.gif' ); $imgNeeded = table['field']; $imgName = $imgBkgrnd[$imgNeeded]; The

[PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
I need to active php error level "Warning" and log the errors in a file for my whole Apache virtual website. It is clear how to do everything on a script-by-script basis; but, I need to do it across the site. I can't find any direct documentation to help. The php manual and Apache directives

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
log "errors.txt" with and without the quotes, etc. John Holmes wrote: From: "Al" <[EMAIL PROTECTED]> I need to active php error level "Warning" and log the errors in a file for my whole Apache virtual website. It is clear how to do everything on a script-by-

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
ng] John Holmes wrote: From: "Al" <[EMAIL PROTECTED]> Per the documentation, error_reporting must use the bitmask values form. And, that works great. However, I can't get the errors to log in a special file. They insist on being logged in the system's error log fil

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
ote: On Tuesday 24 August 2004 23:37, Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log "./errors.

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
ote: On Tuesday 24 August 2004 23:37, Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log "./errors.

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
ote: On Tuesday 24 August 2004 23:37, Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log "./errors.

Re: [PHP] Need help with using htaccess to override php.ini error

2004-08-24 Thread Al
test Al wrote: The php.ini is already set to log errors and it works; but, they are appended to the system log. Just for the heck of it I tried; but it doesn't work. php_value error_reporting 2047 php_value log_errors TRUE php_value error_log "./errors.txt"[and the f

Re: [PHP] Need help with using htaccess to override php.ini error settings

2004-08-24 Thread Al
Everything is working, thanks to you and Jason. The key was that I had to provide a seed file since error_log only appends messages to an existing file and doesn't create one if it does not exist. Al John Holmes wrote: From: "Al" <[EMAIL PROTECTED]> php_value e

[PHP] Book recommendation

2004-09-21 Thread Al
How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to work? "Edit/Mail & Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? Thanks.. -- PHP General Mailing List (http://www.php.net/) To uns

Re: [PHP] Book recommendation

2004-09-21 Thread Al
John Nichel wrote: Al wrote: How can get "Edit/Mail & Newsgroups/Composition/defaults for Html" to work? "Edit/Mail & Newsgroups/Send Format/Send in HTML is checked. All newsgroups and emails default to plain small text. Is this a bug, or am I missing something? Thanks..

[PHP] Question about error_reporting()

2004-10-01 Thread Al
If I place this at the top of my script file, the page just hangs. error_reporting (E_ERROR | E_WARNING); A virtual host on a Unix/Apache system. Runs fine without the error_reporting(). The default system error reporting only shows E_ERRORS, so I wanted to see warnings also. Thanks -- PHP G

Re: [PHP] Question about error_reporting()

2004-10-01 Thread Al
Greg Donald wrote: On Fri, 01 Oct 2004 10:36:28 -0400, Al <[EMAIL PROTECTED]> wrote: If I place this at the top of my script file, the page just hangs. error_reporting (E_ERROR | E_WARNING); A virtual host on a Unix/Apache system. Runs fine without the error_reporting(). The default system

[PHP] session_save_path

2004-10-07 Thread Al
My virtual host eliminated the common session tmp folder which forces me to set up one in my area. I'm trying to come up with the best, considering: Custom php.ini; resisting because having to make certain it is always in sync with host's changes. Tried adding to htaccess: php_value session.sav

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing

Re: [PHP] session_save_path

2004-10-07 Thread Al
server error 500. -Original Message- From: Al [mailto:[EMAIL PROTECTED] Sent: Thursday, October 07, 2004 8:25 AM To: [EMAIL PROTECTED] Subject: [PHP] session_save_path My virtual host eliminated the common session tmp folder which forces me to set up one in my area. I'm trying to co

Re: [PHP] session_save_path

2004-10-07 Thread Al
John Holmes wrote: Al wrote: Tried adding to htaccess: php_value session.save_path /www/u/username/htdoc/session Hoping it would override php.ini. Got a server error 500. Try putting quotes around the path and this should work, providing your ISP allows .htaccess files. I'm guessing

[PHP] Re: Memcached is driving me nuts

2008-11-24 Thread Al
Try debug_backtrace() Rico Secada wrote: Hi. This post has also been posted on the Debian list. I have two different Debian Etch machines running with the exact same packages installed, when I use PHP memcached with compression (zlib) it works at one machine but not the other. No errors are th

  1   2   3   4   5   6   7   8   >