Yes, it is possible. You just need a slight modification to your code.
Try this:
[code]
$uppercase = array(ONE, TWO);
$uppercase = array_map(strtolower, $uppercase);
print_r($uppercase);
[/code]
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los
Try using phpinfo().
http://us2.php.net/manual/en/function.phpinfo.php
In particular you want to pay attention to the $_SERVER variables
(search for PHP Variables in the phpinfo() output).
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles
Would you also want the following combinations?
word1 word3 word2
word2 word1 word3
word2 word3 word1
word3 word1 word2
word3 word2 word1
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
];
}
}
return implode(' ', $outputStringArray);
}
[/code]
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail
and retrieve the data. With the right options to
wget the user agent can be faked and the output be sent to stdout. Then
using output buffering you can capture the output to a string.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
top.php and see if that works.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the attachments
accompanying
] is initialized to where it is first unsuccessfully used, in
the following format:
top.php:
(insert example code here)
page.php:
(insert example code here)
... and any other relevant files ...
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA
.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the
attachments accompanying) it may contain confidential
I think I got the correct regex pattern:
/[A-Z].*.[^A-Z]/U
Again, I am not too good with regex so I can't explain why that pattern
works and also if it will work in all cases.
HTH,
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles
,
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the
attachments accompanying) it may contain confidential
In the future, please reply to the list. Also, I assume this question
has been answered and am, therefore, marking it with [SOLVED].
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
Try: http://www.heylove.de/
It walks you through creating your own file upload class and in the end
gives an example of how to use that class.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main
functions need the mcrypt libraries to work. Perhaps the reason your
functions are not working is because those libraries are not installed
on your system.
Of course, you could just use Barry's suggestion of using the session
since it seems to meet your end goals.
Shaunak Kashyap
Senior Web Developer
Maybe this will help: http://us2.php.net/manual/en/ref.ldap.php
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission
directory (i.e. /mobilkamera/admin/), which resolves to
/mobilkamera/admin/admin/phpfunctions...
One solution would be remove the admin/ from the action. Another (and
probably better solution) would be to use absolute paths, as Joe Henry
suggests.
Shaunak Kashyap
Senior Web Developer
WPT
what the OP is referring to.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Direct: 323.330.9870
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission (and/or the
attachments accompanying
A possible solution:
Make a composite primary key where the first field is the date and the
second field would be of type enumeration (A..Z, in ascending order).
Then use MAX(second field) WHERE first field = today's date to
figure out the next primary key.
Shaunak Kashyap
Senior Web Developer
$lastSundayInSepCurrentYearTS)
($currentTS $firstDayNextYearTS)) {
$year++;
}
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Main: 323.330.9900
www.worldpokertour.com
Confidentiality Notice: This e-mail transmission
I'm not sure if these completely answer your question but they might get
you started:
http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-prepare.html
http://dev.mysql.com/doc/refman/4.1/en/mysql-stmt-execute.html
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd
If you are in a *nix environment, make a symlink from site_folder/index.php -
site_folder/example_folder/index.php and that should do it.
Shaunak Kashyap
Senior Web Developer
WPT Enterprises, Inc.
5700 Wilshire Blvd., Suite 350
Los Angeles, CA 90036
Main: 323.330.9900
Try putting an ob_start(); at the top of the script. This will start
output buffering and buffer all output until the end of the script. You
can read more about ob_start() and output control in general at
http://us3.php.net/manual/en/function.ob-start.php.
Shaunak Kashyap
Senior Web Developer
Assuming you are open to commercial (non-freeware) IDEs and are looking
for a GUI IDE, I would strongly suggest Zend Studio. It's JAVA-based so
it works across multiple OSes, including Linux.
It supports auto-completion and has a file explorer in addition to other
nifty features.
Shaunak
version 4.2.3
Thank you,
Shaunak Kashyap
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Yes, thank you Justin. I DID have a function exists which I somehow did not
notice earlier.
Shaunak
-Original Message-
From: Justin Patrin [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 15, 2004 4:49 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Namespace issues
Shaunak Kashyap
lowercase
-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED]
Sent: Thursday, April 22, 2004 7:52 PM
To: [EMAIL PROTECTED]
Subject: [PHP] TRUE or true?
Hi all,
I know from a code point of view it makes no difference at all (i.e.
they both work), but which format
What OS are you running?
Shaunak
-Original Message-
From: Ryan Schefke [mailto:[EMAIL PROTECTED]
Sent: Monday, April 19, 2004 8:01 PM
To: Php-General-Help; 'Ryan Schefke'
Subject: [PHP] Resizing Pictures
How do you resize pictures once they're in a certain directory?
I have
I am running Apache 1.3.29 on a Linux platform. I am trying to use PHP's
get_browser function which needs a file called browscap.ini on the server.
It *seems* that there is no such file available for Linux (I have checked
the manual and the link that it mentions).
Can anyone point me to a source
: [PHP] get_browser() - browscap.ini for Linux
On Wed, Mar 10, 2004 at 02:21:19PM -0500, Shaunak Kashyap wrote:
I am running Apache 1.3.29 on a Linux platform. I am trying to use PHP's
get_browser function which needs a file called browscap.ini on
the server.
It *seems
url: $PHP_SELF
get variables: $QUERY_STRING
Shaunak
-Original Message-
From: Shaun [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 10:31 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Obtaing the URL of current page
Hi,
How can i obtain the URL of the current page
.
Shaunak
-Original Message-
From: Shaunak Kashyap [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 26, 2004 10:29 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Obtaing the URL of current page
url: $PHP_SELF
get variables: $QUERY_STRING
Shaunak
-Original Message-
From
It's probably a database result set or a connection object or something
similar.
Shaunak
-Original Message-
From: Mike Mapsnac [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 11:53 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Resource id #1
I print variable to the screen and
Sounds like a scope problem. I suggest using $_FILES['fichier'] inside the
function since $_FILES is a superglobal and is accessible everywhere. If you
use this method, you won't need to pass anything to the function.
Shaunak
-Original Message-
From: marc serra [mailto:[EMAIL
Yes, it is possible. Use PHP's filesystem functions
(http://us2.php.net/manual/en/ref.filesystem.php).
Shaunak
-Original Message-
From: Dustin Krysak [mailto:[EMAIL PROTECTED]
Sent: Monday, February 16, 2004 2:33 PM
To: PHP
Subject: [PHP] * populate menu from directory *
Hi there
Yes, you can use elementary javascript to achieve that goal.
Just make a link (anchor) as you normally would and make the value of its
href attribute javascript:document.formName.submit() where formName is the
name of the form you wish to submit. As with a lot of client-side scripting
languages,
It is not the correct way because $colors being an array, the HTML code for
the hidden input element will look like this (once the HTML has been
generated by PHP):
[code]
input type=hidden name=colors value=Array
[/code]
What you probably want to do instead is something like this:
[code]
?
Is there any way in PHP to get the height and width attributes of a
compressed flash movie? I have tried getimagesize() which seems to work for
uncompressed flash movies but will not work for compressed movies.
TIA
Shaunak
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
Please post your code. It makes it easier to understand the problem.
Shaunak
-Original Message-
From: Dan Aloma [mailto:[EMAIL PROTECTED]
Sent: Wednesday, February 11, 2004 12:47 PM
To: [EMAIL PROTECTED]
Subject: [PHP] [Q]PHP not taking input values from forms
Can anyone tell
Try this:
SELECT COUNT(*), order_number FROM . $prefix . _purchases GROUP BY
order_number
as your query.
Shaunak
- Original Message -
From: Ryan A [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 09, 2004 8:36 PM
Subject: [PHP] php with mysql COUNT, DISTINCT syntax,
I haven't worked with ColdFusion much so I'm not quite sure what
application-level variables are. However, I did do some quick research and I
believe they are basically variables that are available to all scripts
running on the server (correct me if I'm wrong).
Assuming the above definition of
What version of PHP have you installed? What OS are you running?
http://us2.php.net/manual/en/ref.ftp.php says:
QUOTE
In order to use FTP functions with your PHP configuration, you should add
the --enable-ftp option when installing PHP 4 or --with-ftp when using PHP
3.
The windows version of PHP
1. Using [] creates a new array element. Hence the error. You can try this
piece of code inside the loop
[code]
if (strstr ($file, '.jpg')){
$refPictures = $pictures[];
$refPictures = $file;
print $refPictures;
}
[/code]
$refPictures holds
My inclination would be to just use the DB, have linked tables with
languages and pieces of text in various languages. A single query could
get a full language preference setting for a site, and a little array
munging could turn it into a usable set of key/value pairs, where the key
is the
The best way, IMHO, is to use absolute paths (from docroot, of course)
whenever you include or require files. The same logic can be applied to the
related problem of links.
Shaunak
-Original Message-
From: Eric Gorr [mailto:[EMAIL PROTECTED]
Sent: Thursday, February 05, 2004 4:35 PM
This *might* work:
At the top of your script that processes the uploaded file try adding this
line:
set_time_limit(0);
This essentially removes any restrictions on the maximum execution time for
a script. For more information visit:
http://www.php.net/manual/en/function.set-time-limit.php
Hope
I want to find out if this is my browsers fault or the settings in my
php.ini, can you goto http://bestwebhosters.com/my.login.php then look at
the page source and tell me if there is a hidden variable after the form
tag
with the name PHPSESSID
Yes.
Shaunak
--
PHP General Mailing List
Does anyone know what sorting algorithm(s) -- quicksort, mergesort,
radix sort, etc. -- does PHP use internally in its sort function?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
46 matches
Mail list logo