test
--
c3f7bc9d7683857572da3d1fa3d31af17bde4ebbc5c0f0dc2b7f6f
you could try in_array()
if (in_array(1,2,3,4,5), 6)
On Thu, 2004-09-30 at 22:10, Daevid Vincent wrote:
I'm sure I'll be flamed for this, but it seems to me that there should be a
shortcut way to write:
If ($a == 1 || $a == 4 || $a == 20 || ...) {}
To something more like what SQL has...
...sorry, that should have been
if (in_array(array(1,2,3,4), 6))
On Thu, 2004-09-30 at 22:10, Daevid Vincent wrote:
I'm sure I'll be flamed for this, but it seems to me that there should be a
shortcut way to write:
If ($a == 1 || $a == 4 || $a == 20 || ...) {}
To something more like
:\windows\php.ini file point to the .dll file correctly.
Could anybody please tell me what the problem could be?
Thank you in advance
Alberto Brea
Hello.
You might wanna check this: http://www.php.net/manual/en/installation.php
--
Best regards,
Cosminmailto:[EMAIL
$message = Name: $_POST['Name']\n;
$message .= Division: $_POST['Division']\n;
$message .= Phone: $_POST['Phone']\n;
$message .= Email: $_POST['Email']\n;
--
Best regards,
Cosminmailto:[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net
if the
cookie is set - if(isset($_COOKIE['username'])) {...} - and if it's set,
proceed to user page; if not, display the login form again.
--
Best regards,
Cosmin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is it possible to convert a swf file(static, no animation) to an image
format(jpeg or png preferably) using PHP?
I have a flash script which chooses the colors for a logo and saves it a
swf file and I need to transform it in an image file so I could I use
it in a PDF file
--
PHP General Mailing
sorry for the off topic but i didn't knew where to ask this.
does anyone know what's happening with the php-gtk mailing list. I
haven't received a message for more than a month now and any message
that i try to send comes back saying
Hi. This is the qmail-send program at pb1.pair.com.
I'm
with PHP.
I have heard that PHP can be used in this capacity, would PHP work for
me to create applications with a GUI?
Take a look at php-gtk: http://gtk.php.net/
--
Cosmin [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
Is there a function to validate a XML document(make sure tags are
closed/nested)?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
: text/xml
Cosmin wrote:
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
code maybe someone could tell me what I'm doing wrong
Client StartClient Stop
1067090777.5303 1067090794.5286
If someone knows a way on how to speed this up please tell me how to do
it.
Thank you for your time
--
Cosmin [EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit
On Sat, 2003-10-25 at 17:42, Curt Zirzow wrote:
* Thus wrote Cosmin ([EMAIL PROTECTED]):
I'm trying to make an application using XML-RPC, and I have the
following problem: I use fsockopen() to simulate a POST to my local
web-server. All goes very well except it's very very slow. Here is my
Is there a way to find out all the properties from an object?
For instance if I have:
---
class test
{
var $a;
var $b;
var $c;
function test(){}
}
$example= new test();
---
, is there a function to tell me that the
Hello
How can I compare Unix Time?
As integer values?
I take the unix time from database and I compare with the current time
and something is not functioning. Can somebody show me how can I do this?
Thank you ,
Cosmin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe
Hello,
How can I compare time? So I have to check a difference of 12 or 24 hours
this mean I have to compare the time between the days too..
How I can make this comparing
just comparing hour with hou and then minute with minute or is possible
all of them at the same time?
Thanks
Cosmin
Hello,
How can I take the IP of the visitator of my php page?
not gethostbyname...
I need the ip of any visitator not for the specified visitator.
Thank you
Cosmin
Ya I found
$ip = gethostbyname($REMOTE_ADDR);
Thanks anyway
Cosmin
Cosmin Vlasiu [EMAIL PROTECTED] wrote in message
007d01c1ea9d$9db78660$[EMAIL PROTECTED]">news:007d01c1ea9d$9db78660$[EMAIL PROTECTED]...
Hello,
How can I take the IP of the visitator of my php page?
not gethostbyname..
Thanks to all, very usefull samples
Cosmin
Cosmin Vlasiu [EMAIL PROTECTED] wrote in message
007d01c1ea9d$9db78660$[EMAIL PROTECTED]">news:007d01c1ea9d$9db78660$[EMAIL PROTECTED]...
Hello,
How can I take the IP of the visitator of my php page?
not gethostbyname...
I need the ip of any v
Could smbdy please help me
I have a variable with the name
$name(=the_name_of_the_variable)
and I want to know if $the_name_of_the_variable
is set.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Fri, 15 Mar 2002, Julio Nobrega Trabalhando wrote:
:if (isset($var_name)) {
:echo 'Isset!';
:}
:
: ?
This I knew ... i don't know the variable's name untill I execute
the script.
I want to found out if a cookie is set who's name is $var1.$var2
and $var2 is the
On Fri, 15 Mar 2002, bvr wrote:
:isset($_COOKIE[$var1 . $var2])
:isset($HTTP_COOKIE_VARS[$var1 . $var2]) // (for ancient PHP versions)
:
:http://www.php.net/manual/en/features.cookies.php
:
:or
:
:isset(${$var1 . $var2})
:
:http://www.php.net/manual/en/language.variables.variable.php
:
:bvr.
:
?
$query = SELECT * from mytable;
$result = mysql_db_query(db, $query);
while ($myarray = mysql_fetch_array($result))
{
$title = $myarray[title];
echo $titlebr;
}
?
Can someone PLEASE tell me why the coding above gives the following error:
Warning: Supplied argument is not a valid MySQL
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi,
Is there any function or command in PHP that will return the width an image
(GIF)?
Thanks.
_
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
--
PHP General Mailing List (http://www.php.net/)
To
table which I want to affect the timestamps. Is
there a command for 'manually' updating a timestamp rather than by SQL's own
logic?
Thanks in advance.
Cosmin Laslau
_
Get your FREE download of MSN Explorer at http://explorer.msn.com
Ok, there's a table with 4 fields, I want to delete from it when two of the
variables passed (through the function below) match up with the table's
contents. However, I have only been able to get it to work with one 'where'
clause, not two.
Here's my code for one:
function
Hi,
Say I'm not really confident in the prowess of my server, and I want to
download my database onto my computer. Can that be done? What can I look
(FTP access) in the directory structure. I guess, where is it usually
located?
Thanks.
Cosmin Laslau
28 matches
Mail list logo