the PHP
developer community.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Our current umask is 0002. We're using PHP 5.2.2 on Linux
2.6.9-42.0.10.ELsmp #1 SMP Fri Feb 16 17:17:21 EST 2007 i686 i686 i386
GNU/Linux.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters
On 8/2/07 11:45 AM, Tijnema wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
So, what are we doing wrong with chmod() that is causing us to get the
wrong results? Keep in mind that we are running the PHP script as the
same user who owns the directory.
Who is the owner of the directory
On 8/2/07 10:57 AM, Daniel Brown wrote:
On 8/2/07, Ben Ramsey [EMAIL PROTECTED] wrote:
PHP (doesn't work):
chmod('/path/to/dir', 02775);
We've tested the PHP code on files, and it works, but it doesn't work on
directories.
Drop the preceding 0 from the chmod() function parameters
browser! What craziness! ;-)
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
does PHP have a CLI?
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
was perfect for the job.
I can offer a few MBs for everyone that wants to get learning PHP.
megabytes?
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
XML from a URL.
Do I get the $35 anyway for the consultation? ;-)
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
and you're
trying to include config.inc, then it obviously can't find it because it
doesn't exist. :-)
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
a file one directory
above it.
Ben Ramsey wrote:
On 10/4/06 8:32 PM, Deckard wrote:
Hi,
I have this line of code:
include_once('../config.inc.php');
I'm 100% sure that the file config.inc.php is a directory up.
config.inc.php is in /var/www/html
and the file that calls it is in
/var/www
?
Use double quotation marks instead of single quotation marks:
\n
See here for why:
http://us3.php.net/manual/en/language.types.string.php#language.types.string.syntax.double
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
the form with other values in POST than you intend.
So, there are two things you must do here: 1) always check the origin of
your data (don't use $_REQUEST, even if it seems convenient), and 2)
always check that the input received is input expected (filter the input).
--
Ben Ramsey
http
(validate) the input.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
you can't tell the scope of
the data.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
at least know it comes
from an HTTP request, so you know not to trust anything from it.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
so that i can process user input while not interrupting the
protocol.
Have you looked at pcntl_fork()?
http://www.php.net/pcntl-fork
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
(DB_FETCHMODE_ASSOC);
$data = $db-getAll($sSQL);
memcache_set($MEMCACHE_STR, MD5($sSQL), $data, 0, 10);
Now, your result set is stored properly on the memcache server.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
is
going, so $url, $sql, $html, etc. But, with that in mind, it wouldn't be
too hard to use $_OCLEAN['url'], $_OCLEAN['sql'], and $_OCLEAN['html']
as arrays within the $_OCLEAN array.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
is that the developer should be
able to trust the data in $clean.
If PHP had a taint mode and didn't have register_globals, then we'd be
making some progress.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
in because it will have already expired.
This alleviates the exposure issues I was discussing.
Hope this helps.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On 11/9/05 9:45 AM, Paul Williams wrote:
?php
print EOF
HTML
$_SERVER['PHP_SELF']
/HTML
EOF;
?
Try it with curly braces:
?php
print EOF
HTML
{$_SERVER['PHP_SELF']}
/HTML
EOF;
?
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
it this way:
?php
print EOF
HTML
$_SERVER[PHP_SELF]
/HTML
EOF;
?
Personally, I put curly braces around all interpolated variables because
it makes it easier for me to read and see the variables, but this is
really up to user preference.
--
Ben Ramsey
http://benramsey.com/
--
PHP General
On 11/9/05 10:03 AM, Paul Williams wrote:
So would it be acceptable if I used curly braces on all variables
(whether superglobals or not) in a here document?
Yes.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
probably not
very sensitive).
Does this answer your question?
And, yeah, denying used order numbers would be a good idea.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
, and if this is a route you want to
take, I would suggest looking at PEAR::HTTP_Request, since it provides
an easy to use API for this. I, however, don't think you'll need to do
this (at least it doesn't sound like something that's necessary given
what I know about your form).
--
Ben Ramsey
http://benramsey.com
://public.yahoo.com/~radwin/talks/php-at-yahoo-zend2005.pdf
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$add_to_db. Then take
the echoed line and try to run it against the database. Does it still
work, then?
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
something it shouldn't.
This, of course, assumes you're using MySQL, but there are other
escaping functions for other databases. Just look in the PHP manual.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
of work into it to help out with this.
In the meantime, check out PEAR::Mail, which includes Mail_RFC822 that
can be used to validate e-mail addresses. Also, if your PHP is compiled
--with-imap, then you can use imap_rfc822_parse_adrlist() to validate
e-mail addresses.
--
Ben Ramsey
http
individual host and access the same profile. So, you'll
need to authenticate the user when they visit a new host. This may be a
decrease in usability, but it's an increase in security.
For more information about sessions, read the manual:
http://www.php.net/session
--
Ben Ramsey
http
increases the risk of exposure.
[Hi Ben!]
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to share sessions across two different domains. If you must share
profile information, then (in my opinion) require authentication and a
separate session on the second domain. Otherwise, use a subdomain to
share sessions.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http
a NULL value? You should filter your variables before you use
them--even variables coming from $_SERVER.
Remember, $_SERVER variables can be overwritten:
$_SERVER['SERVER_NAME'] = 'Howdy Doody';
echo $_SERVER['SERVER_NAME'];
So, make sure they're what you expect them to be.
--
Ben Ramsey
http
On 11/8/05 11:52 PM, Ben Ramsey wrote:
I know this is off-topic for this thread, but just as I see isset()
misused (as in this case), I often see empty() misused. For example,
when using empty(), the following all return TRUE:
On second thought, misused is the wrong word. I mean misunderstood
The following message is from a co-worker. I'm passing it along as a
favor. Any help would be greatly appreciated since we're both somewhat
stuck with no clue how to proceed with this.
Thanks,
Ben Ramsey
I'm having a major problem with my PHP scripts getting stuck on one of
our production
://wvware.sourceforge.net/
Word2x: http://word2x.sourceforge.net/
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Please always reply to the list so that others can benefit from the
exchange. As it happens, I'm not exactly very knowledgeable about
character sets, so someone on the list may be able to offer more help
with regard to the problem you're experiencing.
-Ben
areguera wrote:
On 8/19/05, Ben
://www.php.net/set_error_handler
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to use
the stripslashes() function. Using stripslashes() will remove slashes
that were intended to be in the output. Hint: turn off magic_quotes_gpc.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
time.
When you execute it, you are executing the compiled code that the
machine natively understands.
PHP, on the otherhand, is not compiled and has to be interpreted by the
PHP engine each time it is run. This is, naturally, going to make it
slower than C.
--
Ben Ramsey
http
Schlossnagle's _Advanced PHP Programming_ book. Take a look at
pages 564 through 568. He talks about writing a custom session handler in C.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
said in this thread, the problem is on quoting and maybe
on converting the values to entities, to prevent some quote break the
sql structure.
You don't need to convert the values to HTML entities when saving to a
database. That's not going to prevent this problem.
--
Ben Ramsey
http
than 1 year
ago (or should I think of 365 days)?
`updated` date NOT NULL default '1999-12-12'
I've looked at: http://ca3.php.net/manual/en/function.getdate.php
Thanks,
John
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
/
As for reading the text from a PDF, maybe there's some sort of OCR
library for PHP out there, but I don't know about it. It'd be a great
thing to see, though.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BY id $order );
The rest of it looks fine to me.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
don't want to promote illegal activities on
this mailing list. :-)
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the
extension you're looking for. If it's a library you created and you want
to use it as a PHP extension, take a look at the PHP manual,
particularly the section on creating extensions:
http://www.php.net/manual/en/zend.creating.php
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing
permissions to the Web directory.
In general, permission settings under Windows suck.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Ahmed Abdel-Aliem wrote:
On Apr 11, 2005 8:28 PM, Ben Ramsey [EMAIL PROTECTED] wrote:
Ahmed Abdel-Aliem wrote:
i have a problem with deleting files, i use windows XP and installed
on it apache server PHP 5.1
i use unlink($file) to delete files but it doesn't work while it works
fine on my
(files/.$this-File_Name, 0777);
See here for more info: http://us2.php.net/chmod
Like I said, I'm not sure whether this is the cause of the problem, but
give it a shot and see what happens. :-)
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
John Nichel wrote:
b) Paths in the MS world are with the backslash (\) and not the forward
slash (/)
Windows NT onward (XP, 2003, etc.) should understand both the forward
slash and the backslash in a file path.
--
Ben Ramsey
http://benramsey.com/
--
PHP General Mailing List (http
DuSTiN KRySaK wrote:
Can anyone refer me to anything that will work with PHP? Just need it
for a blog type application.
FCKEditor works well, has a PHP version, and is cross-browser:
http://www.fckeditor.net/
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
--
PHP General Mailing List
/package.mail.mail.intro.php.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the standard installation of PHP on FC3, then it won't
have pcntl enabled with --enable-pcntl because it's not enabled by
default. You will have to recompiled PHP with this feature.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
--
PHP General Mailing List (http://www.php.net
the first note about leaving the program running in the background.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
():
http://www.php.net/debug-backtrace
Harry Fuecks has an excellent post on how to use debug_backtrace() here:
http://www.sitepoint.com/blog-post-view.php?id=157007
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
), '/') == 0) {
// it ends with a '/'; strip it off
$url = substr($url, 0, -1);
}
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community
Gadi Cohen wrote:
So if I have: include(/path/to/backend.php);
Is there a way from inside of backend.php to return /path/to ?
Check out the filesystem functions in the PHP manual. You're probably
particularly interested in pathinfo()
http://www.php.net/pathinfo
--
Ben Ramsey
Zend Certified
=selected'; } ?Foo/option
option value=2?php if ($_POST['foo'] == '2') { echo '
selected=selected'; } ?Bar/option
/select
Another option is to use something like PEAR::HTML_QuickForm, which can
do the validation for you: http://pear.php.net/package/HTML_QuickForm
--
Ben Ramsey
Zend Certified
--with-apxs2 and Apache 2 in production
environments without problems.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community
() function:
http://www.php.net/str_pad
Looks like this:
$a = 1;
echo str_pad($a+1, 2, 0, STR_PAD_LEFT);
This will output 02 as desired.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's
until the next loading
of a page that the cookie should be visible for.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community
-
How can I go about iterating through the script? or do I just need to
write 20 if/else statements and separate inserts?
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's
the problem. It should be:
$hdrs = array(
From = [EMAIL PROTECTED],
Cc = [EMAIL PROTECTED],
Subject = Tests
);
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's
them using PHP's polygon function.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing
://www.htdig.org/
I've used the Zoom search engine by Wrensoft
http://www.wrensoft.com/zoom/ with PHP on a Windows system, and it
worked well. Also, I've never used it, but I've heard that mnoGoSearch
works, well, too.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
to do, but you could just do something like this:
$curdate = date('Y-m-d H:i:s');
$sql = SELECT * FROM records WHERE '$curdate' = PostStart;;
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org
Stuart Felenstein wrote:
--- Ben Ramsey [EMAIL PROTECTED] wrote:
I'm not exactly sure what the SQL statement you have
above is supposed
to do, but you could just do something like this:
$curdate = date('Y-m-d H:i:s');
$sql = SELECT * FROM records WHERE '$curdate' =
PostStart;;
I'm having some
Frantzcy Paisible wrote:
I'm looking for some information, rearging mcrypt.
Now, I've been through the normal channels, I've been going in in cercles.
even a simple Look this way would help.
Look this way: http://www.php.net/mcrypt
:-)
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
it. http://mcrypt.sourceforge.net/
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing List
/mysql_real_escape_string
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing List (http
and
follow the subsequent pages to read more about PHP and what it can do.
It'll also take you through a tutorial that's fairly helpful.
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP
. There're plenty of
resources on it.
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing List (http
{
function __construct()
{
}
}
the construct or descontruction are not working?
Are you using PHP 5? If you're still on PHP 4, then that's the problem.
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org
/Spreadsheet-ParseExcel-0.2603/ParseExcel.pm
You could also just use the MySQL database and have a PHP script that
outputs the contents of your report to a CSV (comma-separated value)
file with an extension of .csv. Excel will automatically open these
files without problem.
--
Ben Ramsey
Zend
just use:
$OrderObject = $value;
Try that and see if it works.
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community
Ben Ramsey wrote:
Victor C. wrote:
$OrderObject =$this-orders[$OrderID=$value];
This line is confusing. $OrderID=$value is either a typo or is just
plain wrong. It looks like what it's meant to say is:
$OrderObject = $this-orders[$OrderID];
But this will just set $OrderObject equal
to make sense of it. View the source of the page and grab it from
there, please. :-)
--
Ben Ramsey
Zend Certified Engineer
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community
the Location header:
http://www.php.net/header
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing List (http
by Adam Trachtenberg and entitled Talking to eBay with PHP SOAP.
Unfortunately, it's not available on-line, but you may be able to find a
copy in a bookstore or order it from the PHP Magazine Web site.
http://www.php-mag.net/itr/ausgaben/psecom,id,229,nodeid,112.html
--
Regards,
Ben Ramsey
http
}
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP community.
---
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
legitimate
users a more user-friendly approach, while still ensuring from the
server-side that no one's going to spoof your form.
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier PHP
understand this response. ;-)
How is Javascript the /only way/ to do a /server-side/ trap? Javascript
is for the client side (unless you're coding in ASP and choose to use
JScript instead of VBScript).
--
Regards,
Ben Ramsey
http://benramsey.com
Dan Joseph wrote:
Does PHP 4 support SOAP, or does something have to be added to it??
Check out these functions, which are listed as experimental:
http://www.php.net/soap
Or this PEAR package, which is still in beta stage:
http://pear.php.net/package/SOAP
--
Regards,
Ben Ramsey
http
are listed on the package download page.)
It's a bit of a pain to do all that, but if you can't use the PEAR
installer, it's a way around it. :-)
--
Regards,
Ben Ramsey
http://benramsey.com
---
Atlanta PHP - http://www.atlphp.org/
The Southeast's premier
so $QUERY_STRING won't work. DO NOT
turn on register_globals. Instead, use $_SERVER['QUERY_STRING'] as a
replacement for $QUERY_STRING.
Read here for more info: http://www.php.net/variables.predefined
--
Regards,
Ben Ramsey
http://benramsey.com
the part about the Content-Disposition header.
--
Regards,
Ben Ramsey
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to choose a file to upload.
--
Regards,
Ben Ramsey
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
to prompt the user to download the file with the
correct filename you specify.
--
Regards,
Ben Ramsey
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
are everywhere.
So, let's go fishing!
--
Regards,
Ben Ramsey
http://benramsey.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
['question']))
test_var();
}//end of insert_to_question func
insert_to_question();
?
--
Regards,
Ben Ramsey
http://benramsey.com
---
http://www.phpcommunity.org/
Open Source, Open Community
Visit for more information or to join the movement
to mention that you may want to consider using
PEAR::HTML_QuickForm as a way to rapidly develop forms that also
provides form validation.
http://pear.php.net/package/HTML_QuickForm
--
Regards,
Ben Ramsey
http://benramsey.com
---
http://www.phpcommunity.org
Have you taken a look at the passthru() function?
http://www.php.net/passthru
Boot wrote:
Does anyone have a script that can be used to call linux's locate command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
--
Regards,
Ben Ramsey
http
a script that can be used to call linux's locate
command
and display the results in a browser?
I don't think it would be that hard and will make an effort today...
[/snip]
exec(locate foo);
--
Regards,
Ben Ramsey
http://benramsey.com
---
http
.
--
Regards,
Ben Ramsey
http://benramsey.com
---
http://www.phpcommunity.org/
Open Source, Open Community
Visit for more information or to join the movement.
---
PGP Key ID: 0x3968B5EE
--
PHP General
Juan Torres wrote:
how can i connect php with an access db. I need to do it without use ODBC.
Try using COM: http://us4.php.net/com
It works similar to the way it does in ASP.
--
Regards,
Ben Ramsey
http://benramsey.com
---
http
in this function)
/usr/src/php/php_4_3_8/ext/pcre/php_pcre.c:416:
`PCRE_INFO_NAMEENTRYSIZE' undeclared (first use in this function)
make: *** [ext/pcre/php_pcre.lo] Error 1
Curt Zirzow wrote:
* Thus wrote Ben Ramsey:
I'm having a problem with PHP 4.3.8 failing to 'make' on a RedHat
Enterprise
1 - 100 of 289 matches
Mail list logo