wrote:
> Luis Cordova wrote:
>>
>> A message "Session timeout! Please relogin again." appears after the
>> session expires.
>>
>> I was looking in the php where can I:
>>1. modify the above text message
>>2. redirect after some seconds to an
Any hints,
Encouragements,
--
Luis Cordova
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
able to do so.
Thank you very much for your help.
Regards.
- --
Luis Magaña
Gnovus Networks & Software
www.gnovus.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (Darwin)
iD8DBQFHZzXtqSchlMT6gK4RAjHRAJ4pU81dw8BpZBf7bhF5QS7mxRqMcQCaAtIu
eTMSRMXsmddN0jvqEWUOlrw=
=fSiN
-END PGP
Hi!
Look at this:
http://es.php.net/manual/es/function.date.php
[EMAIL PROTECTED] escribió:
Hi Folks,
Newbie question :
- how do I get and display the current date?
- how do I get and display the current time?
I see the getdate function - but I'm not sure if this is the right function
or
as it should be.
Thank you for the help.
Jochem Maas wrote:
> Luis Magaña wrote:
>> It is a PHP question because the Postgres querys do work, I ran them
>> directly on the postgres server and there is no problem, but if you use
>> pg_query then it does not work, and pg_query is
s expected.
thank you very much for your help.
regards.
Jochem Maas wrote:
> Luis Magaña wrote:
>> I have the following code:
>>
>> pg_query($conn,"BEGIN TRANSACTION;
>> DELETE FROM codigo_postal;
>> COPY
>> codigo_postal(codigo_
table gets deleted.
I'm certainly lost on this one, is it a bug ?, am I doing something
wrong ? (most likely I guess)
Any help will be apprecciated.
PHP: 5.1.2
PostgreSQL: 8.1.4
Apache: 2.0.55
Debian Linux with Kernel 2.6.16
--
Luis Magaña
Gnovus Networks & Software
www.gn
I would go for:
- you can create a new instance ("new DB") in every methode (but you
usually only want a single DB-connection per script, and where do you
pass config-data to access the DB?) or
This way the code keeps well organized and about the use of only one
connection I wouldn't worry
Thanks
babu.
-
To help you stay safe and secure online, we've developed the all new Yahoo!
Security Centre.
--
Luis Magaña
Gnovus Networks & Software
www.gnovus.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lex regexp does not work in OSX.
PHP is 4.3.11
OSX is 8.2.0
Thanks
--
Luis Magaña
Gnovus Networks & Software
www.gnovus.com
signature.asc
Description: This is a digitally signed message part
[EMAIL PROTECTED]
- Original Message -
From: "Rasmus Lerdorf" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>;
Sent: Thursday, May 19, 2005 12:57 PM
Subject: Re: [PHP] System Call Troubles
> Michael Stearne wrote:
> > I am having the strangest problem using system()
maybe you should check your php safe_mode config
cheers
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
-unsubscribe-digest-
- Original Message -
From: "Pablo Gosse" <[EMAIL PROTECTED]>
To: "PHP"
Sent: Wednesday, May 18, 2005 11:03 PM
Subject: [PHP] array_diff odities
Howdy folks. I'm running into something strange with array_diff that
I'm hoping someone can shed some light on.
I have t
Ross wrote:
I want to write a string to a variable and use $_POST or $_GET to retrieve
it on another page.
I keep gettting an undefined index errror. Can someone show me how this is
done?
Do I have to use session_start() ?
or just use cookies:
setcookie('myvarname', 'some value');
and in the ot
como puedo salir de sta lista q esta llenando mi correo.
--
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
--
mierdas saquenme de aca
carajo
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
-- mierda carajo saquenme de sta lista de mierda q llema mi correo de huevadas
rapido carjo.nierdas
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
ts and have tried a variety of variations on the
script but I still can't get it work. Works fine with Firefox though.
Thanks,
Luis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
quitenme de la lista porfavor quiero salir de aqui
--
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
--
--
como pueddo hacer para salir de esta lista
---
Banco de Crédito BCP - Dedicados a hacerte la Banca más simple.
Visita nuestra Banca por Internet http://www.viabcp.com
-
Is it possible to let the OS handle the collisions?
For example:
$last_value = system('cat counter.txt', $retval);
$last_value++;
$result = system('echo $last_value > counter.txt', $retval);
...just a suggestion!
Regards
/Luis
-Original Message-
From: Richa
Well...
I see in HotScripts that there is a category named "E-Commerce" and
inside there is a sub-category named "Shopping Carts"...
[
http://www.hotscripts.com/PHP/Scripts_and_Programs/E-Commerce/Shopping_C
arts/index.html ]
Good Luck!
/Luis
-Original Message-
From: R
I recently had to get one to work. The key in my case was building the
soap message for the paramaters instead of the standard paramaters array
something like
$parameters = "
Username
Password
";
Also, I am using the nusoap libra
fined symbol: dbm_firstkey"
I tried googling but haven't found any relevant info yet.
Luis R. Lebron
Project Manager
Sigmatech, Inc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may find this useful: http://www.hudzilla.org/php/18_1_0.php
"Hans H. Anderson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I'm trying to tweak my server a bit and wonder if it is better to have a
large
> include file, say 20-40 kb with 15 user-defined functions, of which may
"John Swartzentruber" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On 10/3/2004 4:02 PM Matthew Fonda wrote:
> > Howdy,
> >
> > I noticed that quite a few people were having a hard time installing PHP
> > on Fedora Core or Redhat, so I put together a little tutorial explaining
> >
How can i force PHP scripts been executed using their owner user/group with
Apache and PHP loaded as module ? Now my scripts use Apache`s user/group
(wwwrun/www in my ditribution). I've included User an Group directives in
the virtualhost configuration.
I need any kind of help refered to this issu
I need to execute PHP scripts from Apache/mod_php using the owner of scripts
as user/group for execution. I have included the 'User' and 'Group'
directives into the virtualhost declaration in my httpd.conf but scripts
keep on executing with user/group from Apache.
Urgent help needed.
Thanks.
Qki
some paths ???
setenv LIBS_SHLIB -lbind
setenv CFLAGS -I/usr/local/include
setenv LDFLAGS -L/usr/local/lib
setenv LIBS -lbind
setenv LD_LIBRARY_PATH /usr/local/lib
Thanks. Regards.
Luis Cróker.
www.megared.net.mx
___
pub 1024D/5656330D - <[EMAIL PROTECT
Hi...
Im trying to compile PHP 4.3.8 on Solaris 7 with apache 1.3.27. First, I configure PHP using this parameters:
# ./configure --with-apache=../apache_1.3.27 --enable-versioning \
--without-mysql --with-sybase=/usr/local/freetds --without-gd \
--enable-track-vars --with-sy
Apache or IIS? CGI or ISAPI module?
"Michael R. Wayne" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> Upgraded our PHP installation from 4.1.2 to 4.3.4, scripts that
> worked fine before are no longer doing so. The failure can be
> traced to the fact that sessions are never bein
to=<[EMAIL PROTECTED]>, ctladdr=<[EMAIL PROTECTED]> (48/48),
delay=00:00:04, xdelay=00:00:04, mailer=relay, pri=30323,
relay=sigma2.localdomain. [192.168.168.4], dsn=2.0.0, stat=Sent (OK)
As far as I can tell the message is being sent by sendmail. Any ideas on
where to look?
thanks,
hi! i have developed a web site in php using mysql 3.x and have to
implement it in japanese, it seems that i have to use unicode/UTF-8,
but i am having problems with mysql... anyone could help or anyone knows of any
resource
that helps in doing this?
thanx in advance,
luis
--
PHP General
Hi all.
I am developing a system using php 4.3.2 + apache 1.3.29. The db is a mssql
msde (were going to mysql, but not yet due to some internal reasons). All
things are running in a local, standalone station, because we had to use the
app on line and off line states. The off-line one should h
as Chris W. Parker noticed, there is a little mistake in the example above
posted by me, it says:
//Class function
function set() {
$sum = $this->a . $this->b . $this->c;
}
and it should say:
//Class function
function set() {
$this->sum = $this->a . $this->b . $this-&g
l be happy to help with PHP-related questions. As for JavaScript
> stuff, use Google to find a good resource. :-)
>
> Luis Mirabal wrote:
>
> > anyone knows a good javascript date picker, i need it to be compatible
with
> > all major browsers
> >
> > thx,
>
function (Constructor)
function test() {
$this->a = 'value for a';
$this->b = 'value for b';
$this->c = 'value for c';
$this->set();
}
//Class function
function set() {
$sum = $this->a . $this->b
anyone knows a good javascript date picker, i need it to be compatible with
all major browsers
thx,
luis.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
an excelent tool: The Regex Coach, its free and you can grab it from
http://weitz.de/regex-coach/
and its available for windows and linux!
luis.
<[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hello all,
>
> For a while I tried in vain to find a decent reg
it is not $_FILE, it is $_FILES :P
luis.
"Bruno Santos" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hello.
>
> I've read in a book that we can access several file properties (when
> uploading a file) in two ways:
>
&g
?
thanx
luis.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
from sql?? if you are doing:
select ... count(date) ...from ... where ...
do:
select ... count(date) ...from ... where ... group by date
luis.
"Tommi Virtanen" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hi!
>
> How I can calculate following:
&
yes, i found that the extension functions only works in debug sessions, so i
replaced it by Xdebug, it is very cool, i recommend it!
http://www.xdebug.org/
luis.
"Tom Rogers" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> Hi,
>
> Tuesday, March
tions with this function.
( These functions are only available under Windows 9.x, ME, NT4 and 2000.
They have been added in PHP 4.0.4.)
and you can do something about the phase of the moon too, look here :P
http://www.phpclasses.org/browse/package/1201.html?download=targz
Cheers,
Luis.
--
PHP Ge
, you can do
set_magic_quotes_runtime(0) beforegetting the directory name, so it won't be
quoted, but if the problem is in get_magic_quotes_gpc(), you will have to
do something like:
if(get_magic_quotes_gpc()) stripslashes($dirname);
luis.
"Brian J. Celenza" <[EMAIL PROTECTED]&
saje
news:[EMAIL PROTECTED]
> Luis Mirabal wrote:
> > hey! i am working in an open source development, and have done a
function
> > that gives me the current url, but i need it to work always, everywhere,
in
> > every server with all browsers, could you tell me if you think it wi
hey guys, i have a question on dbg extension, i want to get debug details
using the functions from php, ie. dbg_get_profiler_results, but they return
nothing... i am developing on windows using apache and php 4.3, any
suggestions?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
//$url .= $_SERVER['SCRIPT_NAME'];
//if($querystring && !empty($_SERVER['QUERY_STRING'])) $url .= '?' .
$_SERVER['QUERY_STRING'];
if($querystring) $url .= $_SERVER['REQUEST_URI']; else $url .=
$_SERVER['PHP_SELF'];
return $url;
}
thanx in advance!
luis.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
please post the code, so we can see the errors
luis.
"Res0b8b6" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> I am trying to get the users screen res into a var for php. And I have
> the Javascript that gets the screen res. But when I try to put that
the casting is as follows, any value distinct from zero, null or empty
string is converted to true, else the it is converted to false
"Harry Wiens" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
> $this->styles['shadow'] = (boolean)$bool;
>
i would do it this way
function MyClass()
{
$this->myArray = range(0, 99);
}
luis.
"Chris W. Parker" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
Jason Davidson <mailto:[EMAIL PROTECTED]>
on Wednesday, March 10, 2004 12:25 AM said:
> wo
mmmh... i think its not coded the right way, first of all, you shouldn't put
this:
$this->setArray(@mysql_fetch_array($this->getResultID()));
in the Select method, you should do it in your FetchArray method, every time
it gets called, and return the value directly or false if there are no more
ro
IT WORKS.
Exactly, I need to unset the locale variables With that It works
without problems.
Thank you all.
in the start script to see which variables are set. Boot, move
/tmp/apache-start to /tmp/apache-boot, stop apache, start apache from
your root shell. "diff -u /tmp/apache-boot /tmp/ap
Ok, thanks
I will try it.
Michael Mauch wrote:
Luis Moran Ochoa wrote:
ORACLE_SID=OWEB ;export ORACLE_SID;
ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME;
TNS_ADMIN=/usr/oracle/product/network/admin; export TNS_ADMIN;
ORACLE_BASE=/usr/oracle
These are the exact details...
/usr/oracle permissions 750 owner oracle.oinstall
apache belongs to oinstall.
script permissions in /etc/init.d/apache --> 755
ORACLE_SID=OWEB ;export ORACLE_SID;
ORACLE_HOME=/usr/oracle/product; export ORACLE_HOME;
TNS_ADMIN=/usr/
Hello
I have Oracle 9 + RedHat 7 + PHP 4.3.4 + Apache 1.3.29.
I've compiled apache and php I've compiled PHP using the
documentation and activating OCI.
I've build the typical script for starting apache, it's like this:
$ORACLE_HOME=blablahblah...
more oracle variables
c
.
class XML_RPC_Base {
function raiseError($msg, $code)
{
include_once 'PEAR.php';
PEAR::raiseError(get_class($this) . ": " . $msg, $code);
}
}
---
Luis A. Cruz <[EMAIL PROTECTED]>
Web Project Manager
Astaro <http://www.astaro.com>
---
Outgo
.
class XML_RPC_Base {
function raiseError($msg, $code)
{
include_once 'PEAR.php';
PEAR::raiseError(get_class($this) . ": " . $msg, $code);
}
}
---
Luis A. Cruz <[EMAIL PROTECTED]>
Web Project Manager
Astaro <http://www.astaro.com>
---
Outgo
You may want to also try a javascript solution
See http://www.kryogenix.org/code/browser/sorttable/ for an example.
Luis
-Original Message-
From: Tommi Virtanen [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 02, 2003 8:30 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Simple table sorting
I tried sending the correct mime type and still had the same problem. I did
get rid of the newline for the test code.
Luis
-Original Message-
From: Bogdan Stancescu [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 11:28 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Re: IE
Here's the error I'm getting
"Internet Explorer cannot download...?sender=171&filename=.jpg from
somedomain.com. Internet Explorer was not able to open this Internet site.
The requested site is either unavailable or cannot be found. Please try
again later."
than
You need to strip the newlines.
str_replace("\n", " ", $body);
Luis
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 10:59 AM
To: [EMAIL PROTECTED]
Subject: [PHP] trim...
Why doesn't this work...?
$
I tried your code. I'm still getting the same errors.
thanks,
Luis
-Original Message-
From: pete M [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 26, 2003 10:52 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: IE download problem
thsi si a nighmare area. and loast days on
f the file.
Here's what the code I'm working on looks like:
The funny thing is that I have a similar script that I use to download an
sql file and it works correctly.
Luis R. Lebron
Sigmatech, Inc
Before considering using templates you may want to take a look at
http://www.phppatterns.com/index.php/article/articleview/4/1/1/
Luis
-Original Message-
From: Adam [mailto:[EMAIL PROTECTED]
Sent: Monday, November 17, 2003 7:39 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [Q] Development
d then
randomly picking items from each array to create the dummy table rows.
thanks,
Luis R. Lebron
Sigmatech, Inc
Are there any issues with running PHP 4.3.X and Mysql 4.0 in a production
environment?
thanks,
Luis R. Lebron
Project Manager
Sigmatech, Inc
I guess there is a configuration option in my.cnf for logging slow queries?
Luis
-Original Message-
From: Chris Shiflett [mailto:[EMAIL PROTECTED]
Sent: Thursday, November 06, 2003 9:11 AM
To: Luis Lebron; 'Wouter van Vliet'; 'Jay Blanchard'; 'Marco Tabini
Excellent tips. I think I'm really going to have to polish my sql skills for
this task. Any good tools for benchmarking sql queries?
-Original Message-
From: Wouter van Vliet [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 7:06 PM
To: 'Luis Lebron'; 'Ja
admin function while the main server takes care of the users.
Does this sound like a good idea?
thanks,
Luis
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 05, 2003 2:10 PM
To: Marco Tabini; [EMAIL PROTECTED]
Cc: Luis Lebron; Php-General (E
les
and general information on building such a site. I have been "googling" for
a while but have found anything on this particular topic.
thanks,
Luis R. Lebron
Sigmatech, Inc
, November 05, 2003 9:32 AM
To: Luis Lebron
Cc: Php-General (E-mail)
Subject: Re: [PHP] Load Stress tool
>I am looking for suggestions on a tool to "load stress" a php
>application. We want to make sure that the application/web server will be
>able to handle the amount of users we e
t; and user friendly stress
test app?
thanks,
Luis R. Lebron
Sigmatech, Inc
--- Luis Lebron <[EMAIL PROTECTED]> wrote:
I am rebuilding a php application to handle a higher load. The
previous programmer had created a series of dynamically generated
select boxes using a mysql table. Would it be faster or less
resource intensive to create a series of arrays to ge
El mi? 29-10-2003 a las 17:38, Marek Kilimajer escribió:
> Can you connect from your server to the other server?
>
yes Marek, both files are under the same domain(and server) now.
I'm using the remote inclusion, because when it works they'll be on
separate domains.
Pablo
--
PHP General Maili
El mi? 29-10-2003 a las 16:49, Evan Nemerson escribió:
> Don't be insulted he asked. You'd be amazed at the level of idiocy around
> here, and you're not known on the list... He meant no disrespect.
> >
NOOO..i'm sorry if MY answer seemed ugly..i'm impressed by the amount of
help i received. By n
. I've done some informal testing using Pear Benchmark and it seems
the array based script usually takes less time.
thanks,
Luis R. Lebron
Project Manager
Sigmatech, Inc
You may want to look at the following article:
http://www.zend.com/zend/tut/drop-down.php
Luis
-Original Message-
From: Robb Kerr [mailto:[EMAIL PROTECTED]
Sent: Tuesday, October 28, 2003 9:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Menu populated based on previous menu
Searched all
Thanks,
That did the trick.
Luis
-Original Message-
From: DvDmanDT [mailto:[EMAIL PROTECTED]
Sent: Monday, October 27, 2003 3:19 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Re: preg match compilation error
Start and end with same char, for example with a / or a #... Like
if(preg_match
on failed: unmatched parentheses at offset 17 in
/home/httpd/sigmarapid/html/test/upload.php on line 137 (the line with the
preg_match)
I'm new to regular expressions so any help would be greatly appreciated.
Luis R. Lebron
Sigmatech, Inc
quot;]
$query="Select * from users where userid='$userid'";
Is there a mistake in my syntax?
thanks,
Luis R. Lebron
Sigmatech, Inc
Here is the frameset:
and here is the form:
1
2
3
4
and here is the relevant lines of browse.php
$category=$_POST["category"];
$query="Select username, age, height, eyeColor, haircolor, build, id from
users where category='$categor
I tried that but it did not work.
Luis
-Original Message-
From: Evan Nemerson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 24, 2003 10:14 PM
To: Luis Lebron; [EMAIL PROTECTED]
Subject: Re: [PHP] Post form variables to a frame
On Friday 24 October 2003 06:08 pm, Luis Lebron wrote
es to the left frame.
thanks,
Luis
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You may want to look at Verity's products
http://downloadcenter.verity.com/dlc/index.jsp
-Original Message-
From: Jay Blanchard [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 23, 2003 1:59 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Document Management App
Howdy & Good Afternoon!
I am
I use htmldoc http://www.easysw.com/htmldoc/ to generate pdf files from html
documents. Another options is fpdf http://www.fpdf.org.
Luis
-Original Message-
From: Scott Fletcher [mailto:[EMAIL PROTECTED]
Sent: Friday, September 12, 2003 9:11 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Using
I have a script that creates html files to be used with a flash scroll box.
The problem I am having right now is that the Flash scroll box does not
underline the hyperlinks. Is there a way I can change something like
My Link to My
Link
thanks,
Luis
Thanks for the information. I checked the manual but wasn't able to find it.
Luis
-Original Message-
From: CPT John W. Holmes [mailto:[EMAIL PROTECTED]
Sent: Thursday, August 07, 2003 1:35 PM
To: Luis Lebron; Php-General (E-mail)
Subject: Re: [PHP] Question on class syntax
From:
I am currently using a php class that uses the following syntax:
$value= htmlcleaner::cleanup($value);
What exactly is the :: used for? Is there a different syntax for :: ?
thanks,
Luis R. Lebron
Project Manager
Sigmatech, Inc
Here's what I have been using.
$trans= array("'" => "'", "'" => "'",">" => ">", "<" => "<",
"&" => "&","-" => "
Here's another way to do it:
https://$url_array[host]$url_array[path]";);
}
?>
Luis
-Original Message-
From: Richard Baskett [mailto:[EMAIL PROTECTED]
Sent: Friday, August 01, 2003 3:25 AM
To: PHP General
Subject: Re: [PHP] Redirect to HTTPS
This is how I do it:
nection_aborted()==0)
{
$query = "UPDATE $table_data SET status = '$SESSION_UID'
WHERE id = '$id'";
$result=&$conn->Execute($query);
}
But it still doesn't work as expected. What am I doing wrong?
thanks,
Luis
-
$filename);
//Determine if download is successful. Set download variable.
if($download=1)
{
//Update the status of the document
$query = "UPDATE $table_data SET status = '$SESSION_UID' WHERE id =
'$id'";
$result=&$conn->Execute($query);
}
thanks,
Luis R. Lebron
The trick is in using the MySQL 0limit statement.
For the first record use:
$sql = mysql_query("SELECT * FROM temp_table limit 0, 1");
then increment the limit for the next record
$sql = mysql_query("SELECT * FROM temp_table limit 1, 1");
Luis
-Original Message-
There a few different ways to do this. One method that we use here is to do
something like this in the embed/object tags
flash.swf?image=
The php $image variable, of course, could be set by any method (post/get, db
query, etc...)
Luis
-Original Message-
From: Tim Baker [mailto:[EMAIL
s. He recommended a Symantec VelociRaptor or one
of their firewall appliances.
Does this sound like good advice? Are there any other models we sould look
at?
thanks,
Luis R. Lebron
This is what I use http://members.lycos.co.uk/wipe_out/automysqlbackup/
-Original Message-
From: John Kaspar [mailto:[EMAIL PROTECTED]
Sent: Friday, April 25, 2003 3:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] mysql backup solution
I've got a large mysql database (~400 megs) on a host tha
Take a look at http://www.zend.com/zend/tut/drop-down.php
Luis
-Original Message-
From: Simon Thurtle [mailto:[EMAIL PROTECTED]
Sent: Friday, June 06, 2003 4:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How easy is this idea?
OK, now I have I have been convinced that PHP is the best
I tried adding a period to the end but a string will a period still returns
false
function is_alphanumeric($string)
{
return (preg_match("/^[A-Za-z0-9.]+$/i", $string));
}
-Original Message-
From: Dan Joseph [mailto:[EMAIL PROTECTED]
Sent: Thursday, June 05, 2003 2:42 PM
To: Php
I found the following function to test a string for alphanumeric characters
function is_alphanumeric($string)
{
return (preg_match("/^[a-z0-9]+$/i", $string));
}
How can I modify it so that it also allows punctuation marks?
thanks,
Luis R. Lebron
1 - 100 of 166 matches
Mail list logo