[PHP] /VAR is driving me crazy

2004-01-16 Thread Boaz Yahav
Hi Does anyone have an idea what is so special about the string /VAR ? If i create a form that submits to a php file and in the form i put the string /VAR anywhere in the text or just /VAR I get an 404 error from apache on an existing file. If i take the same form and remove the /VAR string all

RE: [PHP] /VAR is driving me crazy - SOLVED

2004-01-16 Thread Boaz Yahav
, 2004 5:07 PM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: [PHP] /VAR is driving me crazy Boaz Yahav wrote: Hi Does anyone have an idea what is so special about the string /VAR ? If i create a form that submits to a php file and in the form i put the string /VAR anywhere in the text

[PHP] Setting timeout for fopen

2004-01-02 Thread Boaz Yahav
Hi I can see that socket_set_timeout() will set the timeout for fsockopen(). What would do the same for fopen? Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search

RE: [PHP] php blog site for 123php.com

2003-11-29 Thread Boaz Yahav
Have a look at http://www.weberblog.com. If the site does what you need, you can follow the powered by link on the bottom of every page. Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code :

RE: [PHP] Alternet row colors

2003-11-15 Thread Boaz Yahav
You can also check : A PHP function To Make Alternative Colored table rows http://www.weberdev.com/get_example.php3?count=3609 Alternating background color for HTML table rows http://www.weberdev.com/get_example.php3?count=3482 Another way to alternate table rows

RE: [PHP] Storing images

2003-11-15 Thread Boaz Yahav
Interesting that you should bring this up now :) I have started a thread about this with my opinion at : http://www.weberblog.com/article.php?story=20031115124356140 I hope people will share their experience. Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!!

RE: [PHP] Calendar

2003-11-13 Thread Boaz Yahav
Check this out : http://www.weberdev.com/AdvancedSearch.php?searchtype=titlesort=titles earch=calendar Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP

RE: [PHP] PHP developers

2003-11-07 Thread Boaz Yahav
http://www.weberdev.com/jobmatching/about.php3 Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code from your browser http://toolbar.weberdev.com Share

RE: [PHP] How to remove new line character?

2003-11-07 Thread Boaz Yahav
How to remove new line / CrLf from a string? http://www.weberdev.com/get_example.php3?count=3577 Sincerely berber Visit http://www.weberdev.com/ http://www.weberblog.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code

[PHP] (Semi OT) Number of concurent Users.

2003-10-28 Thread Boaz Yahav
Hi I was wondering if anyone has any idea about how many users the next configuration can hold : Front End = Dual Xeon 2.4Ghz Compaq DL360 G3 1GB of memory SQL Server = Compaq DL 380 G3 Dual Xeon 2.4Ghz 2GB Memory 15K disks (RAID 0+1) Site can be a content site like

[PHP] (ANNOUNCE) New PHP MySQL Web Log Site

2003-10-17 Thread Boaz Yahav
Hello I was not sure that it's a common practice to send PHP related announcements to the list so i asked and was told it's ok. Just wanted to let anyone interested that after almost 6 years, http://www.weberdev.com now has a new brother (sister?) site called http://www.weberblog.com. This new

RE: [PHP] Dwonload with PHP do not work..

2003-09-28 Thread Boaz Yahav
Try this : How to let a user download a picture by clicking on it instead of needing to right click and Save-As. http://www.weberdev.com/get_example.php3?count=1562 How to force the user to download a file instead of opening it up in an controlled environment within the browser (i.e. MS

RE: [PHP] Sotre image created by GD in db

2003-08-30 Thread Boaz Yahav
Can you save it to a file? If you can save it to a file, have a look at : Saving Images in MySQL http://www.weberdev.com/ViewArticle.php3?ArticleID=3 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code :

RE: [PHP] Easy XML PHP tutorials ?????

2003-08-23 Thread Boaz Yahav
Try this too : http://www.sitepoint.com/article/1165 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for PHP Code from your browser http://toolbar.weberdev.com -Original

RE: [PHP] google style paginating

2003-08-23 Thread Boaz Yahav
Try this : Paginator - a class that can help you to split MySQL database query result sets to pages. http://www.weberdev.com/get_example.php3?count=3707 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code :

RE: [PHP] better understanding of ereg_replace and other functions

2003-08-16 Thread Boaz Yahav
Try these : preg_replace http://www.weberdev.com/AdvancedSearch.php?searchtype=examplesort=examp leexample=preg_replace str_replace http://www.weberdev.com/AdvancedSearch.php?searchtype=examplesort=examp leexample=str_replace strpos

[PHP] Commands out of sync; You can't run this command now

2003-08-14 Thread Boaz Yahav
Hi For a few days or maybe even a week or two I'm getting this error message in my site. This happens when i do : mysql_select_db() This doesn't happen all the time and there are pages that it happens more than others so it seems. I looked in the manual and the explanation there doesn't apply

[PHP] RE: Commands out of sync; You can't run this command now - SOLVED

2003-08-14 Thread Boaz Yahav
/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com Search for code from your computer : http://toolbar.weberdev.com -Original Message- From: Boaz Yahav Sent: Wednesday, August 13, 2003 9:47 PM To: [EMAIL PROTECTED] Subject: Commands out

[PHP] Downloding files once

2003-08-14 Thread Boaz Yahav
Hi I'm trying to allow users to download files from my servers. Files can be hundreds of MB in size and sometimes even a few GB. This is a closed section of the site and i would like to allow only members to be able to DL the files. I thought of using a download function that uses headers and

RE: [PHP] Downloding files once

2003-08-08 Thread Boaz Yahav
Can you fake a referrer by say, using fsockopen() and sending your own headers? -Original Message- From: Curt Zirzow [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 4:57 PM To: [EMAIL PROTECTED] Subject: Re: [PHP] Downloding files once * Thus wrote Boaz Yahav ([EMAIL

[PHP] RE: Downloding files once

2003-08-08 Thread Boaz Yahav
passwords can be kept encrypted with mod_auth with no problem. -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 8:04 PM To: Boaz Yahav Cc: [EMAIL PROTECTED]; Igal Rubinstein; Matt Wade Subject: Re: Downloding files once Hello, On 08/06

[PHP] RE: Downloding files once

2003-08-06 Thread Boaz Yahav
-Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:41 PM To: Boaz Yahav Cc: [EMAIL PROTECTED]; Igal Rubinstein; Matt Wade Subject: Re: Downloding files once Hello, On 08/06/2003 12:43 PM, Boaz Yahav wrote: I'm trying to allow users to download

[PHP] RE: Downloding files once

2003-08-06 Thread Boaz Yahav
What about using mod_auth_mysql to add/remove usernames and passwords from the download server in real time? -Original Message- From: Manuel Lemos [mailto:[EMAIL PROTECTED] Sent: Wednesday, August 06, 2003 7:52 PM To: Boaz Yahav Cc: [EMAIL PROTECTED]; Igal Rubinstein; Matt Wade Subject

RE: [PHP] how can I get errors to display in a browser?

2003-08-03 Thread Boaz Yahav
Try adding : error_reporting(2039); as the 1st line in your file. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com -Original Message- From: jsWalter [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] images in databases Flash via PHP

2003-07-22 Thread Boaz Yahav
Saving Images in MySQL http://www.weberdev.com/ViewArticle.php3?ArticleID=3 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com -Original Message- From: Tim Baker [mailto:[EMAIL

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

2003-07-22 Thread Boaz Yahav
Main Web Programming PHP E-commerce http://www.weberdev.com/Index/LinkIndexInner.php3?CatID=269CatName=PHP+ Ecommerce+ProjectsIsMaster=0OrigCatID=270 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code :

RE: [PHP] fsockopen

2003-07-22 Thread Boaz Yahav
If you only need the HTML why don't you look up file() http://www.weberdev.com/get_example.php3?count=729 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. Share your code : http://addexample.weberdev.com -Original Message- From:

RE: [PHP] timestamp problem !!

2003-07-15 Thread Boaz Yahav
Read the last comment at the bottom of this page : http://www.weberdev.com/get_example.php3?count=787 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Nabil [mailto:[EMAIL PROTECTED] Sent: Tuesday, July 15,

[PHP] Weird Date problem driving me crazy...

2003-07-13 Thread Boaz Yahav
I have two date strings coming out from MySQL. Both fields are defined as datetime. When i come to print them like this : EchoBTicket Opened/B : . date(l, F jS Y H:i,$row-OpenDate) . BR; EchoBProblem Start/B : . date(l, F jS Y H:i,$row-ProblemStart) . BR; I get : Ticket

RE: [PHP] Weird Date problem driving me crazy...

2003-07-13 Thread Boaz Yahav
://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: John W. Holmes [mailto:[EMAIL PROTECTED] Sent: Sunday, July 13, 2003 5:01 PM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Weird Date problem driving me crazy... Boaz Yahav wrote

RE: [PHP] cookie question

2003-07-04 Thread Boaz Yahav
Try setcookie(auth,$val,time() + 3600,/,.avenew.com); also look here : http://examples.weberdev.com/get_example.php3?count=67 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: David R [mailto:[EMAIL

RE: [PHP] Need a function to calculate time difference.

2003-07-04 Thread Boaz Yahav
See if this helps you Getting the difference between two time strings. http://examples.weberdev.com/get_example.php3?count=3307 Difference between two dates (i.e. between today and a date in future). The program is based on php-timestamp, but in your browser you see the usual dates(i.e.:

RE: [PHP] Setting Cookie Going Nuts

2003-07-04 Thread Boaz Yahav
Did you solve this issue? What does $_SERVER[HTTP_HOST] return? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Mike Morton [mailto:[EMAIL PROTECTED] Sent: Thursday, July 03, 2003 4:03 PM To: [PHP - GENERAL]

RE: [PHP] cookie question

2003-07-04 Thread Boaz Yahav
question I tried it that way, and variations on it. I still have had no luck. Any other ideas? Thanks again David R Thanks for you he Boaz Yahav [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED] Try setcookie(auth,$val,time() + 3600,/,.avenew.com); also look here : http

RE: [PHP] Subtracting dates in php

2003-07-01 Thread Boaz Yahav
Try : Difference between two dates (i.e. between today and a date in future). The program is based on php-timestamp, but in your browser you see the usual dates(i.e.: dd.mm.) http://examples.weberdev.com/get_example.php3?count=3240 Find the Difference between today's date and a future day.

RE: [PHP] Sorting Country List

2003-06-25 Thread Boaz Yahav
Why don't you just add a hard coded line like this: OPTION VALUE=USAUSA/OPTION as the 1st option in your select box? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Ralph [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] Month name

2003-06-25 Thread Boaz Yahav
Check out : http://www.php.net/manual/en/function.date.php M - A short textual representation of a month, three letters Jan through Dec Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: cavagnaro

RE: [PHP] ereg_replace and quotation marks

2003-06-25 Thread Boaz Yahav
Your example should work Maybe something else is the problem? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Paul Nowosielski [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 24, 2003 8:45 PM To: [EMAIL

[PHP] RE: Curl NTLM

2003-06-25 Thread Boaz Yahav
I mean NTLM :) -Original Message- From: Andrew Ziem [mailto:[EMAIL PROTECTED] Sent: Thursday, June 26, 2003 5:27 AM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: Curl NTLM Try the PHP file() command. Assumably you mean HTML not NTML. Andrew http://cday.sourceforge.net Boaz

[PHP] Curl NTLM

2003-06-23 Thread Boaz Yahav
Does anyone have a code snippet that connects to a remote server using NTML and gets the HTML source? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

RE: [PHP] Performance question

2003-06-23 Thread Boaz Yahav
It depends on your HW / Application / number of visitors. If you are planning to have many visitors and plan this number to constantly grow than you should avoid going to the DB as much as possible. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you

RE: [PHP] Another hosting question....

2003-06-19 Thread Boaz Yahav
Check out : http://weberdev.ref.phenominet.com This is your one stop shop for hosting. WeberDev.com is hosted there and I can tell you that their service is amazing. They are fast, reliable and more than anything, very professional (specially in PHP / MySQL). I have a dedicated server there for

RE: [PHP] picture help

2003-06-18 Thread Boaz Yahav
This might help : array img_resize(string 'path to source image', string 'path to destination image', string mode, int size); modes: h - Height w - Width a - auto (resizes by the largest dimension) http://examples.weberdev.com/get_example.php3?count=157 Sincerely berber Visit

RE: [PHP] working with forms

2003-06-18 Thread Boaz Yahav
You already have the information you need, call the previous page again with this info + a message about what was wrong. Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Matt Palermo [mailto:[EMAIL PROTECTED]

RE: [PHP] mySQL: Rows and columns

2003-06-18 Thread Boaz Yahav
how about : Start Using MySQL http://articles.weberdev.com/ViewArticle.php3?ArticleID=247 Beginners guide to PHP/MySQL - Creating a simple guest book http://articles.weberdev.com/ViewArticle.php3?ArticleID=26 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take

RE: [PHP] Form Elements - user adding dynamically

2003-06-17 Thread Boaz Yahav
How would you make the input boxes open one above the other instead of one after the other? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Marek Kilimajer [mailto:[EMAIL PROTECTED] Sent: Tuesday, June 17,

RE: [PHP] extracting text from text file to be used in PHP

2003-06-14 Thread Boaz Yahav
You can also use regular expressions. Here is an example : How to extract a string from a bigger string or from an HTML block with regex and PHP http://examples.weberdev.com/get_example.php3?count=3167 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you

RE: [PHP] preg_match ;)

2003-06-10 Thread Boaz Yahav
Try this : ? $str=3:brbfoo middot;; preg_match('/3:brb(.*?)middot;/i',$str,$result); Echo $result[1]; ? Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Johannes Reichardt [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] status of current online users

2003-06-09 Thread Boaz Yahav
Display Users Online Based On Page Viewing http://articles.weberdev.com/ViewArticle.php3?ArticleID=254 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Miranda, Joel Louie M [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] stripping newlines from a string

2003-06-09 Thread Boaz Yahav
How to remove new line / CrLf from a string http://examples.weberdev.com/get_example.php3?count=3577 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Charles Kline [mailto:[EMAIL PROTECTED] Sent: Monday, June

RE: [PHP] Where to start?

2003-06-09 Thread Boaz Yahav
Try this : http://www.weberdev.com/index.php3?GoTo=search.php3%3Fcategory%3DEcommer ce%26searchtype%3Dcategory Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Simon Thurtle [mailto:[EMAIL PROTECTED] Sent:

RE: [PHP] Hi I get some problems while using eregi_replace

2003-06-09 Thread Boaz Yahav
Try these : A function that parses a string and replaces http://whatever with a link, and email addresses with a mailto link. This function was designed for the motd package. But will work freely on its own. http://examples.weberdev.com/get_example.php3?count=1235 How to change all of the

RE: [PHP] regexp for URL

2003-06-09 Thread Boaz Yahav
Try this : How to use regular expressions to get the list of links from an HTML page http://examples.weberdev.com/get_example.php3?count=1401 extract_links(); Extract all local links from a URL http://examples.weberdev.com/get_example.php3?count= Sincerely berber Visit

RE: [PHP] Page loading time

2003-06-07 Thread Boaz Yahav
The time that a page takes to load is a client side issue. Your php script can be done but the web server may still be sending information such as heavy graphics and such to the client. There are applications that let you measure the time a site and all of it's parts take to load as well as view

RE: [PHP] Re: REDIRECT

2003-06-07 Thread Boaz Yahav
To save you the search : How to use META REFRESH to auto refresh an html page after x seconds. http://examples.weberdev.com/get_example.php3?count=124 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Bobby

RE: [PHP] please help, simple problem (i think)

2003-06-07 Thread Boaz Yahav
might take you tomorrow. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:06 PM To: Boaz Yahav Cc: [EMAIL PROTECTED] Subject: Re: [PHP] please help, simple problem (i think) Hi, Basically I am offering some packages and I want to say

RE: [PHP] please help, simple problem (i think)

2003-06-07 Thread Boaz Yahav
it multiple times down the page... up to you Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Ryan A [mailto:[EMAIL PROTECTED] Sent: Saturday, June 07, 2003 9:13 PM To: Boaz Yahav Cc: [EMAIL PROTECTED

RE: [PHP] PHP - File Edit

2003-06-06 Thread Boaz Yahav
Maybe this can help : A simple configuration file editor to ease you life in setting up php applications. Reads variables from a given file automatically and displays current value. New value will be written to file after submit. http://examples.weberdev.com/get_example.php3?count=1741 or

RE: [PHP] Administration packages

2003-06-06 Thread Boaz Yahav
I think you meant http://phpclasses.org and not http://phpclasses.com Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 04, 2003 4:36 AM To:

RE: [PHP] cookies and iexplorer

2003-06-06 Thread Boaz Yahav
I'm not sure what you are trying to do but what reason can you possibly have to store the password of a user in his cookie? Usually the username is also not something you need in the cookie. Are you sure the cookies are set at all? can you show some code? specially the one you set the cookies

RE: [PHP] PHP magazines / websites?

2003-04-04 Thread Boaz Yahav
http://www.weberdev.com is one of the veteran sites and is definitely a premier PHP developer website. Also check out : http://www.phpclasses.org http://www.codewalkers.com berber -Original Message- From: John M. Calvert [mailto:[EMAIL PROTECTED] Sent: Friday, April 04, 2003 9:50 PM

RE: [PHP] Storing a graphic file in a MySQL database

2003-03-29 Thread Boaz Yahav
Saving Images in MySQL http://www.weberdev.com/index.php3?GoTo=ViewArticle.php3?ArticleID=3 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Phil Schwarzmann [mailto:[EMAIL PROTECTED] Sent: Saturday, March

RE: [PHP] substr() on part an ereg() capture

2003-03-25 Thread Boaz Yahav
Looks like this one : http://examples.weberdev.com/get_example.php3?count=1567 so if someone manages to get this done, i would appreciate it if he can add a comment. thanks berber -Original Message- From: Justin French [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 25, 2003 3:24 PM To:

RE: [PHP] Search engine

2003-03-21 Thread Boaz Yahav
Check out : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1047 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=3570 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=3094 http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1340

RE: [PHP] Increase a month

2003-03-21 Thread Boaz Yahav
This can help : http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=3541 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: shaun [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 4:00 PM To:

RE: [PHP] Zero Fill - Number Format

2003-03-20 Thread Boaz Yahav
wouldn't this just print empty spaces before the number instead of the needed Zeros? -Original Message- From: Martin Towell [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 1:11 AM To: 'Harry.de'; [EMAIL PROTECTED] Subject: RE: [PHP] Zero Fill - Number Format

RE: [PHP] Banner ad solution?

2003-03-20 Thread Boaz Yahav
Proved to be very stable for me :) -Original Message- From: MIKE YRABEDRA [mailto:[EMAIL PROTECTED] Sent: Thursday, March 20, 2003 7:00 PM To: PHP List Subject: [PHP] Banner ad solution? Can someone suggest a 'good' banner ad solution that is done in php. Please do not suggest

RE: [PHP] form/text area input problem

2003-03-14 Thread Boaz Yahav
Did you play with TEXTAREA WRAP=HARD/TEXTAREA or TEXTAREA WRAP=VIRTUAL/TEXTAREA Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Poon, Kelvin (Infomart) [mailto:[EMAIL PROTECTED] Sent: Thursday, March 13,

[PHP] Script Nane in CGI mode

2003-03-13 Thread Boaz Yahav
Hi When you want to know the name of the script you are running you can use : $SCRIPT_NAME. However, this info is not available when running a PHP script in CGI mode. If i have a fine called berber1.php and a link to this file called berber2.php, how can i know in the code if it has been called

RE: [PHP] [RegExp] extracting anchors

2003-03-13 Thread Boaz Yahav
Try these two : A function that parses a string and replaces http://whatever with a link, and email addresses with a mailto link. This function was designed for the motd package. But will work freely on its own. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1235 How to change

RE: [PHP] Char check

2003-03-12 Thread Boaz Yahav
Maybe this can help Check int / integer - checking if a variable is an integer or not. The php is_int() function does not check if the string value is integer or not. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1705 How to check if a string has only specific characters?

RE: [PHP] Automatically Save Image?

2003-03-10 Thread Boaz Yahav
How to let a user download a picture by clicking on it instead of needing to right click and Save-As. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1562 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original

RE: [PHP] .htpasswd and PayPal generated passwords

2003-03-01 Thread Boaz Yahav
Check out : Authenticating against .htpasswd style files. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=109 Sincerely berber Visit http://www.weberdev.com/ Today!!! To see where PHP might take you tomorrow. -Original Message- From: Rob Packer [mailto:[EMAIL

[PHP] Context

2003-01-30 Thread Boaz Yahav
HI I was reading this article : http://www.devarticles.com/art/1/397/2 And am a bit confused now. If I understand correctly, the author claims that : ?php $php_tags = PHP Tags ? Combining HTML output and ?php echo $php_tags; ? tags really wastes my time. Runs slightly faster than ?php

RE: [PHP] Credit Card Validation

2002-09-08 Thread Boaz Yahav
Check Out Credit Card validation routine. Uses MOD 10 to check if credit card number is valid. http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=74 Validating Credit Card Numbers Without Bank Involvement http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=333 A set of

[PHP] PHP MySQL Apache on Linux vs. Solaris

2002-09-05 Thread Boaz Yahav
Hi Since i moved from a Sun / Solaris Machine to a Compaq / Linux machine I'm having weird problems with MySQL crashing while running reports written in php. The site is amazingly fast now on the Linux server but running a report that locks the main tables for about 20 seconds raises the load

RE: [PHP] PHP MySQL Apache on Linux vs. Solaris

2002-09-05 Thread Boaz Yahav
I'm using 3.23.52-log -Original Message- From: Adam Williams [mailto:[EMAIL PROTECTED]] Sent: Thursday, September 05, 2002 3:22 PM To: Boaz Yahav Cc: PHP General (E-mail) Subject: Re: [PHP] PHP MySQL Apache on Linux vs. Solaris Go to www.mysql.com and make sure you are using

RE: [PHP] getting anchor tags

2002-06-21 Thread Boaz Yahav
This looks like a great example to add to weberdev. If you get this working, would you care to spend 3 minutes and let other PHP developers enjoy from your experience? You are one click away from doing a good deed :) http://www.weberdev.com/index.php3?GoTo=addexample.php3 Sincerely

[PHP] pconnect

2002-05-25 Thread Boaz Yahav
Hi When working with pconnect. Can it be that each http process of apache will have more than one sql connection open at a time? I'm working with pconnect and seeing about double the number of established sql connections than the established http processes. any ideas? Sincerely

RE: [PHP] PHP PGP

2002-05-23 Thread Boaz Yahav
Horton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 22, 2002 5:49 PM To: Boaz Yahav; PHP General (E-mail) Subject: RE: [PHP] PHP PGP calculate a hash of the pass the user enters and store that. When the user enters a pass again to get the data, then hash this pass and see if it matches

[PHP] PHP PGP

2002-05-22 Thread Boaz Yahav
Hi I need to encrypt some fields in my mysql database. I need to ask a user for a pass when he enters the data, encrypt it and show him the data only if he enters the pass again. I know that pgp has a module that works with passwords instead of keys. I never tried this on Linux though.

[PHP] error_reporting()

2002-04-30 Thread Boaz Yahav
Hi This function keeps amazing me. What is the highest possible value that i can give it to show all possible errors / warnings etc...? Thanks berber

[PHP] RegEx and ?

2002-04-24 Thread Boaz Yahav
When i try to use preg_match on strings that have ? inside them it seems to not work. Any ideas how to bypass this? thanks berber

[PHP] Passing Arrays

2002-04-22 Thread Boaz Yahav
Suppose i have a multiple select posted to a script by a form. now i have to send this array again with a new form to a new script. How do i do this? thanks berber

RE: [PHP] mail() + attachment

2002-04-21 Thread Boaz Yahav
Class for sending mail with MIME attachments in multipart format using external send mail, mime code and zip http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=336 Class to send a file as an attachment with the php mail() function.

RE: [PHP] Open Download-Box

2002-04-21 Thread Boaz Yahav
How to force the user to download a file instead of opening it up in an controlled environment within the browser (i.e. MS Word/Adobe Acrobat) http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1627 How to let a user download a picture by clicking on it instead of needing to right

RE: [PHP] Learning PHP

2002-04-20 Thread Boaz Yahav
http://www.weberdev.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Victor Javier Martinez Lopez [mailto:[EMAIL PROTECTED]] Sent: Saturday, April 20, 2002 3:41 PM To: [EMAIL PROTECTED] Subject:

[PHP] PHP HTML Issue

2002-04-16 Thread Boaz Yahav
Hi I'm having a problem that is taking me out of my mind. I have a DISABLED field in my HTML (SELECT tag) and for some reason, it's value is not passed back to the script after submission. If I remove the DISABLED word it's ok. The funny issue is that with Netscape it's ok but IE is

[PHP] Optimizing Indexes and such in MySQL

2002-04-15 Thread Boaz Yahav
I'm interested to know how people keep their MySQL tables up-to-date on a regular basis. what is the methodology used to keep up indexes up to date and tables optimized etc... thanks berber

[PHP] Detecting language

2002-04-15 Thread Boaz Yahav
Hi I have an application that works with two languages. I'm trying to write a function that will tell me if a string contains only English or also chars from the other language. It's enough that there is one char of a different language to make the function return a true value. I guess I'm not

RE: [PHP] Detecting language

2002-04-15 Thread Boaz Yahav
Message- From: Boaz Yahav Sent: Monday, April 15, 2002 8:44 PM To: PHP General (E-mail) Subject: [PHP] Detecting language Hi I have an application that works with two languages. I'm trying to write a function that will tell me if a string contains only English or also chars from the other

[PHP] Has anyone written such a function?

2002-03-30 Thread Boaz Yahav
Hi I need a function that will get a date in the past and return how much time has passed since that date till now. The input to the function is a MySQL DATETIME format and the output should be something like : 2 Years, 36 Days, 7 hours , 25 minutes I would write it but I'm pretty sure it has

RE: [PHP] banner ads

2002-03-30 Thread Boaz Yahav
What about phpAdsNew? http://www.phpadsnew.com Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: tom hilton [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 13, 2002 11:11 PM To: [EMAIL PROTECTED]

RE: [PHP] Dynamic Web Navigation

2002-03-30 Thread Boaz Yahav
http://www.weberdev.com Check out the Articles / Tutorials Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Omland Christopher m [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 12, 2002 6:43 PM To:

RE: [PHP] Creating forums in php

2002-03-28 Thread Boaz Yahav
http://www.phorum.org ? Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Denis L. Menezes [mailto:[EMAIL PROTECTED]] Sent: Monday, March 25, 2002 3:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Creating

[PHP] New Chat interface on weberdev to the #PHP channel

2002-03-25 Thread Boaz Yahav
Hi One of the ways to get PHP support is from IRC channels that exist for this purpose (you can see them listed on http://www.php.net). If you don't have a way to connect to the IRC servers for any reason, or just prefer a web based client, try the ActiveX client (assuming you are using IE) on

[PHP] Weird fsockopen behavior

2002-03-22 Thread Boaz Yahav
Hi I'm using $fp=fsockopen($URL,80, $errno, $errstr,10); set_socket_blocking($fp,false); to get the HTML from a remote site and monitor how long it took me to DL the HTML. The next lines are like this : if ($fp) { $SendGetStart = getmicrotime(); fwrite($fp,GET /

RE: [PHP] Weird fsockopen behavior - SOLUTION

2002-03-22 Thread Boaz Yahav
socket connections with HTTP/1.1. -Original Message- From: Boaz Yahav Sent: Friday, March 22, 2002 5:49 PM To: PHP General (E-mail) Subject: [PHP] Weird fsockopen behavior Hi I'm using $fp=fsockopen($URL,80, $errno, $errstr,10); set_socket_blocking($fp,false); to get the HTML

RE: [PHP] Re: Delete Confirmation

2002-03-22 Thread Boaz Yahav
Do that with JavaScript Using JavaScript to show an OK/Cancel confirmation window http://www.weberdev.com/index.php3?GoTo=get_example.php3?count=1364 Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From:

RE: [PHP] PHPBuilder.com Has an Easy File Upload Article, does any1 know

2002-03-06 Thread Boaz Yahav
Search http://www.weberdev.com for download. Sincerely berber Visit http://www.weberdev.com Today!!! To see where PHP might take you tomorrow. -Original Message- From: Caleb Carvalho [mailto:[EMAIL PROTECTED]] Sent: Wednesday, March 06, 2002 10:31 PM To: [EMAIL PROTECTED]

  1   2   3   >