"Jeff Oien" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Would people like to list bad practices and also point us
newbies to any articles online dealing with syntax, correct
use of single and double quotes etc.?
People who create scripts that include a
Very strange thing happened today. I had a db and a website that was running
fine and wanted to add another mysql db to the account, and when i did the
site no longer connects to the mysql server. I did not change any passwords
or anything else for that matter, simply added a database with a diff
php-general Digest 14 Feb 2001 08:47:09 - Issue 511
Topics (messages 39486 through 39600):
empty form field = pgsql NULL gracefully how?
39486 by: Britton
Newbie -- tutorial exercises reveal too much -- pdf download not "saveable"
39487 by: Info
39546 by: David
-
Disclaimer: The information contained in this email is intended only for the
use of the person(s) to whom it is addressed and may be confidential or
contain legally privileged information. If you are
Search in:
XML-RPC Home Page : http://www.xmlrpc.com/
or
http://www.xmlhack.com/list.php?cat=25
Bogdan Morar
www.bogmor.com
Christopher Cheng wrote:
Is there any development of SOAP extension to PHP?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
oop should be used when you want to create things to manipulate in your
program that are of a consistent structure. A simple example I use is for
company contact details and addresses. By creating a contact class I can do
...
include("path/contact.pc");
$thiscontact = new
keep the images in a folder on the file system and link the filename of the
picture to the product tuple in the dataabse.
I would suggest you use the product ID as the filename for the picture in
the folder. that shoudl amke it easier for you to administer.
best regards
Ankur Verma
HCL
thies Wed Feb 14 00:16:05 2001 EDT
Modified files:
/php4 NEWS
Log:
Index: php4/NEWS
diff -u php4/NEWS:1.589 php4/NEWS:1.590
--- php4/NEWS:1.589 Tue Feb 13 18:09:12 2001
+++ php4/NEWS Wed Feb 14 00:16:03 2001
@@ -4,13 +4,10 @@
?? ??? 200?,
""VB" == "Brian V Bonini" [EMAIL PROTECTED] writes:
I know you can replace A or B or C with D but can you replace A
with B and C with D exclusively with one call to ereg_replace or
does this need to be done seperately?
With ereg_replace it must be done seperately, but if you use
I don't want to start an OOP flame thread here, so I'll shut up after this
posting - it's just that nobody is speaking up for not using OOP :)
The point needs to be made that code reuse, readability and maintainability
do not come from whether or not you choose to use OOP techniques. They come
sas Wed Feb 14 02:12:30 2001 EDT
Modified files:
/php4 TODO
Log:
Add note about removing the requirement that you need to include the
respective class definition before using a session variable of the type
object.
This has been the best
Hi!
is there a possiblily to use with in an Oracle Web server ?
THANKS
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail:
Hello,
I am outputting different french accents on my webpages.
They are imported in MySQL and there with a simple select I can see the
accents are
in good condition:
e.g.: Adresse lié à un atlas électronique
But when I use PHP to process the label into for example a select box with
option
-Original Message-
From: Charles Mulford [mailto:[EMAIL PROTECTED]]
Sent: 13 February 2001 22:56
To: PHP User Group
Subject: could anyone please help me with this date coding?
Hi all! could anybody help me? I am fairly new to PHP and I
inherited these
scripts from someone
derick Wed Feb 14 02:48:49 2001 EDT
Modified files:
/php4/ext/standard basic_functions.c dir.c php_dir.h
Log:
- Added the chroot function for changing root in a script.
#- This can be usefull when using PHP in a shell environment, or when PHP
# runs as CGI
Hi all
I tried to build a script that displays the 'save-file dialog', because the
files that should be downloaded
are huge 32bit jpeg for printing. the problem is that it works in IE on PC,
Netscape on PC and MAC, but
not in IE on a MAC. the files are jpeg, IE on Mac either tried to open the
derick Wed Feb 14 03:27:29 2001 EDT
Modified files:
/php4 NEWS
Log:
- Added the notification of the chroot function addition
#- I forgot this with the initial commit
Index: php4/NEWS
diff -u php4/NEWS:1.590 php4/NEWS:1.591
--- php4/NEWS:1.590
I'm putting togeather a simple website buider app.
i'm allowing users to upload images.I'm wondering whether i should store
those images in a database or create dirs for each user.the mysql db has a
relatively small capacity but storing them to the db might make it simpler
for me.
also ftp
OR you could tell apache to parse everything that ends with .inc with php.
you can name it .inc .linux .linuxsucks .microsoftsucks
(you'll need to have access to http.conf or .htaccess+right to override ...)
sebastian
-Ursprngliche Nachricht-
Von: Rick Hodger [mailto:[EMAIL
"Jeff Oien" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Would people like to list bad practices and also point us
newbies to any articles online dealing with syntax, correct
use of single and double quotes etc.?
People who create scripts that include a
Christian -
You need to be checking the return values of the mysql_*() functions. Make
sure you're not calling them with a @mysql_*() as that will disable error
reporting.
Perhaps you should give us some examples of what's failing and how?
Also, if the server isn't yours the server admin may
Also try:
http://www.textpad.com/
Thanks,
Matt DeLong
Studio 77
eBusiness Wireless Solutions Provider
615.793.2947
www.studio77.com
- Original Message -
From: Brandon Orther [EMAIL PROTECTED]
To: PHP User Group [EMAIL PROTECTED]
Sent: Thursday, January 18, 2001 11:28 AM
Subject:
You will also need to add this for the module
LoadModule php4_module "c:/php/sapi/php4apache.dll"
M@
-Original Message-
From: Maxim Maletsky [mailto:[EMAIL PROTECTED]]
Sent: 14 February 2001 08:02
To: 'Sean Kennedy'; PHP Mailing List
Subject: RE: [PHP] Installation on win32
add
That's exactly what I want to do Thanks!
-Original Message-
From: Robin Vickery [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 5:05 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] ereg_replace
""VB" == "Brian V Bonini" [EMAIL PROTECTED] writes:
I know you
Hello,
I try to code a script where users can upload files to the server. Whenever
I hit the submit button PHP crashes. I run PHP 3.0.17, Apache 1.3 on a Win98
SE machine. My code looks like this:
form action="myscript.php3" method="post" enctype="multipart/form-data"
input type="file"
Hi gurus,
this is a somewhat update of the previous mail, never received an answer
to the original post. And it might be, that this list is the wrong
audience for my real problem.
The problem still exists, that apache httpd 1.3.14 is not starting, if
the "php" related things are in httpd.conf
If I have a lib.so file can I just link it in with php and have access to the
functionality in lib.so? If not can someone show me the way to adding things to
php?
Julia
(sorry if this is a stupid question)
--
[ Julia Anne Case ] [Ships are safe inside the harbor, ]
Does anyone know anything about using PGP with PHP pages?
Any tutorials or examples would be much appreciated!!
Thanks,
Kev
At 11:24 AM -0300 2/14/01, Christian Dechery wrote:
I've been programming in C all my life, and now I just started developing
in PHP and I'm really enjoying it, it has all the missing improvements that
C needed to be more user-likely.
But one thin I can't get, how can PHP call a variabel global,
function u want to use it. THis is not nice, what about if u
have a form with 50 fields and want a function to validate
all of them, u have to pass them all to the function or build
a little piece of code to make all the $GLOBALS local right?
Is this really the idea of global vars?
Yes.
gluke Wed Feb 14 06:27:46 2001 EDT
Modified files:
/php4/ext/mnogosearch config.m4 php_mnogo.c
Log:
Added mnogosearch version checking into config.m4.
Some proto fixes.
Index: php4/ext/mnogosearch/config.m4
diff -u
Ok, I made all the changes from $PHPSELF to $PHP_SELF, and i'm further along
with Netscape than before. However, it now seems that there are still some
statements that $PHP_SELF isn't evaluated in. However, now I can narrow it
down to certain statements:
WORKS:
echo "P CLASS=NormalA
function u want to use it. THis is not nice, what about if u
have a form with 50 fields and want a function to validate
all of them, u have to pass them all to the function or build
a little piece of code to make all the $GLOBALS local right?
Is this really the idea of global vars?
Yes.
No, you can't just add random .so libraries directly like that. You will
have to write a PHP extension that maps the API implemented by your
library to a set of user-callable PHP functions. The ext/ext_skel script
gets you on your way towards writing such an extension, but you need to be
an
Yes. But with regards to form variables, all you need to do is
make one variable global:
$HTTP_POST_VARS
it is an associative array that contains all the post variables from
the form. Make it global and just loop through it.
exactly, u need to loop to an array to get the globals u want.
I've been programming in C all my life, and now I just started developing
in PHP and I'm really enjoying it, it has all the missing improvements that
C needed to be more user-likely.
But one thin I can't get, how can PHP call a variabel global, if it isn't
global.
A global var, is a var
On 2/14/01 7:12 AM this was written:
I'm putting togeather a simple website buider app.
i'm allowing users to upload images.I'm wondering whether i should store
those images in a database or create dirs for each user.the mysql db has a
relatively small capacity but storing them to the db
Perhaps I'm missing something. In order to access the value of any
variable defined outside the scope of the function, you have to declare
it as "global". This is true in every single instance. If you do not,
then
you cannot access the value of that variable. While it's been a while
You are using commas instead of periods, use ".$PHP_SELF." instead of
",$PHP_SELF," (and for the other instances as well).
Huh? I am going off of the example from the PHP documentation:
From http://www.php.net/manual/en/function.urlencode.php
echo 'A HREF="mycgi?foo=', urlencode ($userinput),
Rasmus wrote:
I swore I would not have the same problem in PHP and thus the requirement
for people to be explicit about using global variables inside functions.
Hopefully it also forces a little bit of structure and organization on
people.
Hear, hear and thank you Rasmus. It seems to me that
exec
fclose
feof
fflush
fgetc
fgetcsv
fgets
fgetss
file
file_exists
fileatime
filectime
filegroup
fileinode
filemtime
fileowner
fileperms
filesize
filetype
-Original Message-
From: Karl J. Stubsjoen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, February 14, 2001 10:14 AM
To: PHP
Rasmus wrote:
I swore I would not have the same problem in PHP and thus the
requirement
for people to be explicit about using global variables inside functions.
Hopefully it also forces a little bit of structure and organization on
people.
Hear, hear and thank you Rasmus. It seems to
The idea is to avoid really nasty scope-related bugs that are common in
C
code that uses lots of global variables. Years and years ago when I wrote
the first version of PHP I was working for a telco writing software for
a
large telephone switch. The code was huge and extremely ugly. Global
gluke Wed Feb 14 06:39:39 2001 EDT
Modified files:
/php4/ext/mnogosearch config.m4
Log:
mnoGoSearch config.m4 freebsd compatibility fix.
Index: php4/ext/mnogosearch/config.m4
diff -u php4/ext/mnogosearch/config.m4:1.4
Hi;
There's a great little proggie I use to scout out potential link exchange
partners for my clients called Zeus.
disclaimer
I have no financial interest in Zeus.
/disclaimer
*However*, there are some facilities in this proggie I don't care for:
facilities designed to slow one down (and
dont use ' , ' use ' . '
echo 'a href="' . $PHP_SELF . '"hello/a';
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""John Vanderbeck"" [EMAIL PROTECTED] wrote in message
005601c09696$08331480$[EMAIL
Hey all,
New problem. I really hope there's something simple to do to fix it. Check out this
scenario and tell me if there's a step that I'm missing.
Inside my common footer on my site the very first call is to an include called
UserAuth.inc.php.
UserAuth.inc.php checks $REQUEST_URI to see
Sorry if I am confused by the date functions in the manual but I am.
Here's what I want to do:
I have a string in the form MM/DD/. I wish to:
1) convert it to a date
2) add $n days to it
3) convert back to a string in the same format above
I believe I can accomplish [2] and [3] with:
I believe you use globals $var to ACCESS a global variable, not to
define.
That's correct. To be perfectly correct here, what you are doing is
creating a reference to the global variable. Think of it as an alias to
the same variable as the global variable.
global $foo;
would be
works for me, just call it. change it to better match yours if you like.
function check_db($query = 'Unavailble')
{
global $store_db;
if ( mysql_errno() )
{
echo "Error: Problem with DataBase : $store_dbbr\n";
echo "Error: " . mysql_errno() . ':' . mysql_error() . "br\n";
I converted everythign over to use '.' instead of ',' but I still get the
same exact results. That is, $PHP_SELF is resolved to NULL, and every other
variable to the correct data. Here is the new string:
echo 'BRA HREF="' .$PHP_SELF. '?mode=sub_categorycategory='
.$category.
Hi all,
I have a PHP web form setup for user to fill in information then email it to
me after pressing SUBMIT button. Everytime user uses double-quote(") or
single(') it inserts (/) right in front of " or '. Does anyone know why and
how to fix it? Please advise. Below is example of what I
I have a PHP web form setup for user to fill in information
then email it to me after pressing SUBMIT button. Everytime
user uses double-quote(") or single(') it inserts (/) right in front
of " or '. Does anyone know why and how to fix it? Please advise.
Look up:
stripslashes();
I can help you there, as I had the same problem until someone else helped
me. This is because PHP will escape the input it gets. I think this is
dependant on some enviroment setting, but I can't recall which one.
To fix it you call stripslashes($var);
- John Vanderbeck
- Admin, GameDesign
Sorry, I meant common header, not footer.
Inside my common "header" on my site ..
(which also includes the same "header") ...
- Original Message -
From: "Toby Miller" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 10:37 AM
Subject: [PHP] HTTP
Ok, I feel like the big idiot now.
I fixed the problem. It was because of the whole global bit. The ones that
were not working were inside a function, the ones that were working were
outside the function. I guess I ASSUMED (yeah we know what happens when you
do that) that things like
Not really a JSP/PHP issue, but you mention that there's another developer.
Are you in a bidding war with this person? If you're vying for business,
don't get into putting JSP down, not out of hand anyway. Simply state
the benefits that PHP has to offer. Our machines may be weird, but we've
What version of PHP are you using? If there's a syntax error in our
statements, it stops execution, just like ASP.
There are error_reporting levels you can play with, and have errors trigger
certain functions to handle the errors gracefully.
Christian Dechery wrote:
I need a better solution
There are modules in CPAN that do some of this -
the camel book I think has a chapter on that. Oreilly also
has/had a book out regarding writing robots and such.
Sample code should all work for perl - switching to PHP if you
want/need shouldn't be too hard.
Ben Ocean wrote:
Hi;
There's a
A comma works when you use echo. Is there any reason why this is a bad idea?
Charlie Llewellin
- Original Message -
From: "John Vanderbeck" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 9:11 AM
Subject: Re: [PHP] $PHP_SELF in Netscape PART 2
You are
This is because you have magic_quotes_gpc set to ON, this setting can be
read about here :
http://www.php.net/manual/en/configuration.php#ini.magic-quotes-gpc
http://www.php.net/manual/en/function.get-magic-quotes-gpc.php
Which, as you'll read about, adds the quotes
The / is coming from $topic, how do I use stripslashes to remove / . Can
someone give me an example how to code it?
Here is my original PHP script:
?
$to = "[EMAIL PROTECTED]";
$subject = "Update";
$message = "The following Webpage is added or updated:\n\nDate:
$date\nEquipment
:
When you @ "at" a command (supress error messaging) within a function, is
the scope of the @ within the function?
Example:
CloseODBC(1);
# is error message supressed here too?
function CloseODBC($connection_id)
{
# error messaging supressed
@odbc_close($connection_id);
}
--
PHP
Ive found the same thing and currently do not have a workaround, it seems
that browsers cache this. one method Ive thought of and never tested is to
set a session variable, cross reference that SessionID, PHP_AUTH_PW,
PHP_AUTH_USER are all valid, if not then your not loged in correctly. to log
I am making ODBC connections and MySQL connections, and want to make sure
I'm closing my connection properly. Someone once replied that you do not
need to worry about terminating the query set (for MySQL), that PHP takes
care of this for you, is this true for the ODBC connection as well?
So
Hello all
I have recently been assigned the task of parsing an xml file and format the
contents of the file in HTML. The xml file lies on another server. Our web
space provider does not provide the XML functions (nor is he willing to
install them) :-gr.
I am sure that I am not the only who
On Wednesday 14 February 2001 11:44, kaab kaoutar wrote:
is there a possiblily to use with in an Oracle Web server ?
RTFM (look at the manual, topic "Oracle functions")
--
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)
Even idiots can handle computers, and many do.
--
PHP
Karl,
That should be good enough. What you were told is true - PHP does close
connections when the script exits, but every so often this can fail, so
closing the connection explicitly is good practice.
Best regards,
Andrew
--
Andrew Hill - OpenLink Software
I'm trying to get some the example files from Thickbooks to work, although
I've also tried php.net and PHPBuilder with similar results.
I'm dealing with an ISP so I can't view php.ini or change permissions
directly.
Using the most basic elements of the script I get errors immediately after
Hi! I was hoping that someone could help me out. I am not positive if I
understand whats going on.. so let me try to explain.
This is a process to modify news articles in a MySQL database.
(From the point after picking the article to modify)
PHP Script #1:
I grab everything from the database
My understanding is, it simple supress the any messages generated from
the result. So I guess it is local.
Karl J. Stubsjoen wrote:
When you @ "at" a command (supress error messaging) within a function, is
the scope of the @ within the function?
Example:
CloseODBC(1);
# is error
Can anyone here decipher for me some of the undocumented Socket functions
in PHP4?
For instance, how do I use select() to multiplex multiple connections?
With the functions that are documented, there is a nice example of a simple
echoing TCP server, but it only accepts a single connection
If your satisfied with IE5.0 customers you could do all that without php,
use an XSL file. Now if you want PHP to parse the XML file, I can see why,
your going to have to get XML installed. Have you considered other
providors? there are lots. Im one of them. Ive been told there are ways of
adding
I'm a little unsure of how variables are cast around in PHP, since it seems
like VisualBasic where I don't declare any types, the compiler just figures
it out.
Would something like this be safe?
$info = fread($file, filesize("blah");
$info = explode("\n", $info);
echo $info[0];
-
Hello,
I am trying to get the value for a file input field to have a starting value
I can't seem to get it to work when using Value=\"C:\test.gif\" does anyone
have any advise?
Thank you,
Brandon Orther
WebIntellects Design/Development Manager
My approach towards this problem was to parse the data before inserting
and before displaying.
Before inserting the data entered by user, do something like
str_replace($comments, "'","~") and do the same thing for " do a
different character like | and then insert it into database.
Do the
Hi!
thanks but i'm talking of oracle server! i mean instead of using pws or IIS
or apache , may i use php with an oracle server
thanks
From: Christian Reiniger [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Oracle Web Php
Date: Wed, 14 Feb 2001 17:44:40
Does mySQL have an equivalent to PHPs intval() function?
I have fields whose contents are "Less than 100", "Less than 200", "Less
than 300", and I want to do a
SELECT * FROM my_table WHERE $mynumber = intval(myfield)
thanks,
bill
--
PHP General Mailing List (http://www.php.net/)
To
I am trying to get the value for a file input field to have a starting
value
I can't seem to get it to work when using Value=\"C:\test.gif\" does
anyone
have any advise?
Stop trying! Any browser that would let you do this is opening up a fair old
potential security hole. I'm pretty sure it
Which is why anyone with a clue makes any special extensions they use
protected by the web server. Which is why I protect .inc, .cfg, .class,
etc. It's also a good idea not to store config-type files in the web tree.
Rick Hodger wrote:
"Jeff Oien" [EMAIL PROTECTED] wrote in message
[EMAIL
So I want to bind multiple values that are in an associative array
I have this code
foreach ($binds as $key=$value)
{
OCIBindByName($this-m_cursor,":$key",$value,-1);
}
but it only seems to work for one
Personally, I've tried quite a few, including those mentioned.
Somehow I always end up back in HomeSite (actually Cold Fusion Studio, the advanced
brother of Homesite).
But, if you want a free editor, try scITE available at www.scintilla.org, it's free
and available for windows and linux.
Try it, it should be no problem.
--
Chris Lee
Mediawaveonline.com
em. [EMAIL PROTECTED]
ph. 250.377.1095
ph. 250.376.2690
fx. 250.554.1120
""John Vanderbeck"" [EMAIL PROTECTED] wrote in message
011a01c096a7$f8e78080$[EMAIL PROTECTED]">news:011a01c096a7$f8e78080$[EMAIL PROTECTED]...
I'm a
Hi,
Does anyone know where I might get the mcrypt dll for windows nt or win 98??
Thanks,
Kev
works for me, just call it. change it to better match yours if you like.
function check_db($query = 'Unavailble')
{
global $store_db;
if ( mysql_errno() )
{
echo "Error: Problem with DataBase : $store_dbbr\n";
echo "Error: " . mysql_errno() . ':' . mysql_error() . "br\n";
Hi, All,
When I am trying to get phorum version: 3.2.11 setup on my site, I keep
getting the following error when I try to add a forum.
Warning: MySQL: A link to the server could not be established in
db/mysql.php on line 52
Warning: Failed opening 'admin/forums/.php' for inclusion
I write all my code in a normal plain-text editor, whatever is available
on whatever OS I'm using - usually Linux. On MacOS I have a handy tool
called BEdit (I think) that allows me to do a multiple-file search and
replace. The only problem is it's a hassle to move a couple hundred
makes of
On Wed, Feb 14, 2001 at 12:35:10PM +, Butler, Shaun wrote:
So I want to bind multiple values that are in an associative array
I have this code
foreach ($binds as $key=$value)
{
Actually, I find BBEdit quite nice for PHP - I keep two windows open, one
to BBEdit and one to a telnet session on my linux server. The really cool
part is I can cut and paste into vi using regular old command-c and
command-v, since linux doesn't care about them :)
So I drop the changes in, :w
I still strongly recommend UltraEdit. It is SO flexible its unbelievable.
It also allows you to load from and save to files on an FTP server which
saves me , god I can't even measure how much that saves me.
- John Vanderbeck
- Admin, GameDesign
- Original Message -
From: "Michael
Hello,
I am using the require() function to open up the head of my pages. In the
head.php file it requires something relative to its path. What I want to do
is be able to require('head.php') without having to copy all the files
head.php requires into the folder of the script using this
Ok here is the deal.
I have a Linux server running PHP4 and MySQL and a directory full of images.
The images that are currently being used should be listed in a table (members) in a
column titled "pic1". What is the best way to pull the file names of the files and
check them against the
It's somewhat annoying to have to tell the function which variables are
global sometimes but overall it makes it easier to avoid stupid
mistakes. It is a good push to make me less prone to making things
global. Usually I just avoid using globals and then pack what I do use
into appropiate
I finally got everything to install on RedHat 7, but I can't do anything
with pdflib like I had expected.
I get back Fatal error: Call to undefined function: pdf_new() in
/var/www/html/pdfclock.php on line 7. Line 7 is $pdf = PDF_new();
This is rather frustrating that every time I try to
- Original Message -
From: "Barry Fawthrop" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday, February 14, 2001 1:01 PM
Subject: Access my script
I now have my .php3 script works well
How do I access / call this script automatically from a .html page
or must it be set to a
Let says I strip the slashes.. so it goes back to just normal qoutes.. and
then do the str_replace("\"","|", $describe);
$describe = stripslashes($describe);
str_replace("\"","|",$describe);
It doesnt replace the qoutes..
-Tanya
On Wed, 14 Feb 2001, Web master wrote:
My approach towards
On Wed, 14 Feb 2001 19:21:20 +1030, Nold, Mark
([EMAIL PROTECTED]) wrote:
-
---
-
Disclaimer: The information contained in this email is intended only
for the
use of the person(s) to whom it is addressed and
I am using the following statement to check phone numbers.
if (!ereg("^[0-9\-\+\.\ \)\(]{10,}$",$value)) {
Can anyone tell me why this works for every character except the -. It
doesn't see the hyphen as a valid part of the phone number, even though it
recognizes the other characters, e.g. +
I have done both of these things, as they are in the instructions. In the
installation file, it lists the lines that need to be added to the
htttpd.conf file for apache, and these are the lines. Anything else that
needs to be done?
(BTW, I appreciate the help)
You will also need to add this
Ive never quite seen a config like that, everybody does things differently.
check your configure's output to make sure that it sais
checking whether to include Pdflib 3.x support... yes
checking for PDF_show_boxed in -lpdf... yes
my config script looks like this...
configure \
--disable-debug
1 - 100 of 246 matches
Mail list logo