<< THIS ASSUMES THAT THE IMAGE WAS UPLOADED OK >>
// ADD A FILE NAME TO THE UPLOADED FILE.
$pageDestinationFile="$pageGalleryPath/image_".$pagePicNum."_temp.jpg";
// LETS MOVE THE IMAGE OUT OF THE TEMP DIR.
move_uploaded_file ($up
Nathan Nobbe wrote:
> On Jan 30, 2008 2:47 AM, Per Jessen <[EMAIL PROTECTED]> wrote:
>
>> Philip, please state what sort of problems you are having. mail() and
>> sendmail are both easy to use from php.
>> And please don't post another 2000 lines of co
Hi everyone,
I want to create a slide show of photos for my web site. How is this
done using php5? I am using Opensuse 10.3, Apache, PHP5.
TIA for any assistance,
Philip
--
Philip Ramsey
learning PHP and MySQL for building a better world
philipramsey.is-a-geek.net
--
PHP General Mailing
Bastien Koert wrote:
On Wed, Jul 2, 2008 at 4:37 PM, philip <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>> wrote:
Hi everyone,
I want to create a slide show of photos for my web site. How is
this done using php5? I am using Opensuse 10.3, Apache, PHP5.
Just a quick guess that register_globals is probably turned off (check
with a phpinfo() to be sure) and therefore $PHP_AUTH_USER and $PHP_AUTH_PW
are not being set.
Or, try $_SERVER[PHP_AUTH_USER], etc...
On Mon, 25 Nov 2002, Larry Brown wrote:
> I just built a new server and loaded with RH8. I
Your best bet would be to look at how some of the other apps do it :)
(taking licensing issues into account that is :)
This might help as well.. not sure how efficient it is on a really long
list, but it works for my little stuff...
http://stuff.adhesivemedia.com/php/heirarchial-sorting.php
On T
gards,
Philip
On Wed, 4 Dec 2002, John Taylor-Johnston wrote:
> What are magic quotes? Will this help me?
>
> http://news.php.net/article.php?group=php.general&article=126934
>
> How is this different from stripslashes.
>
> I have RTF doc :)
>
> http://www.
gards,
Philip
On 4 Dec 2002, Franco Pozzer wrote:
> Thanks for all.
>
> My end it is Apache 1.3.27 and PHP 4.3.2 in Win32 system NT 4.0.
>
> I have the php.ini auto_prepend_file like this:
> auto_prepend_file="C:\OPENFEDRA\Apache\htdocs\fedra\sv\cfg\"
>
> All w
version.
Regards,
Philip
On Wed, 4 Dec 2002, Adam Williams wrote:
> If you mean PHP 4.2.3, it'll work with apache 2.0, but not that great.
> I'm also using PHP 4.3.0-rc2 with Apache 2.0 and its not any better.
>
> Adam
>
> On Wed, 4 De
us your include_path definition and make
sure it's the same as reported in phpinfo().
Regards,
Philip
On Wed, 4 Dec 2002, Omar wrote:
> I updated php from version 3 to 4.2.3 on a win NT 4 server (with iss 4).
> Everything went ok, but the include() function.
> I have problems when i
Please reread the documentation found here:
http://www.php.net/header
It has a pdf file as an example, modify according
to your needs.
Regards,
Philip
On Wed, 4 Dec 2002, Elkan wrote:
> Couldn't you set the Mime-Type on the server for the correct extenstion?
>
> Leif
such
as .php See also the include_path php directive.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
theory is it
means more people will use the preferred bundled GD
now. To use a non-bundled, you must specify the path
so: --with-gd=/path/to/gd/dir
Note: It's strongly recommended to use the bundled GD.
Regards,
Philip
p.s. 4.3.0-RC3 came out today! :)
On Wed, 11 Dec 2002, Sean Burlington
Where/How do you set $data? Everything else looks fine, but without
knowing that we can't help much.
On Wed, 11 Dec 2002, Colin Bossen wrote:
> Hello:
>
> I am trying to use the header function to enable users to download
> files. I am able to get files to download. Unfortunately, the wrong file
Then you're getting exactly what you should be getting. fopen will read
the text file as it appears on *disk* not what the output on your browser
is.
??
-philip
On Wed, 11 Dec 2002, Colin Bossen wrote:
> I add mention that the contents of the download.php file are the
> cont
anual note you referred to has to do with code
such as (http == remote file):
include 'http://www.example.com/foo.php';
Which would include the output of that url into the
webpage. This is unrelated and remember that parse errors
are always due to syntax problems.
Regards,
Philip Ol
e filename.
Regards,
Philip Olson
On Wed, 11 Dec 2002, Jay (PHP List) wrote:
> Okay, I need to retrieve the output of a php file with variables being
> passed to it. Example:
>
> $calendar_file = "make_calendar.php3?month=$month&year=$year";
> $fp = $fp =
Remove the {braces}, those are only used when
inside "a {$strin['g']}". Also, be sure to
'quote' your array indices.
unset($arr['foo'][$bar]);
Regards,
Philip Olson
On Wed, 11 Dec 2002, Richard Baskett wrote:
> Ok I feel a little sheepish aft
No, GD is only bundled as of PHP 4.3.0.
Regards,
Philip
On Thu, 12 Dec 2002 [EMAIL PROTECTED] wrote:
> Hello Phillip, hello Sean,
>
> thank you very much, for answering the question of --with-gd - compiling.
>
> I am not using 4.3 . I did it with php-4.2.3
>
> Did I
lse, we print some useful info out to
debug it. In production, you most likely won't want
to print it out but anyway...
For a more complete example, see:
http://www.php.net/mysql_fetch_assoc
Btw, being that there is a function named mysql_result
I wouldn't create a variable by
is applies to all variables, even web server variables
such as PHP_SELF so you'd use: $_SERVER['PHP_SELF'], etc.
Regards,
Philip Olson
P.s. So you want your query to look more like this:
$sql = INSERT INTO $db_imgCat (catName, subCat)
VALUES ('{$_GET['nafn
Why not...
$url = ereg_replace("See ([^ ]*) for", "See \1 for", $original_string)
or something close to that.
On Fri, 13 Dec 2002, Gareth Hastings wrote:
> Hi,
>
> I'm trying to work out the regex needed to split either one of the
> following lines
>
> Windows 2000 Hotfix (Pre-SP4) See Q322842
Regarding the original
question of this thread, see print_r() as I
blame a typo or something... or maybe it's a
variable scope issue. Your example looks fine.
Regards,
Philip Olson
P.s: Essentially
numerical == numbered keys
associative == worded keys
On Mon, 16 Dec 2002,
sql)) {
echo "Could not run query ($sql) " . mysql_error();
exit;
}
$count = mysql_num_rows($result);
while ($row = mysql_fetch_assoc($result)) {
$rows[] = $row;
}
print "";
print "Returned: " . count($rows) . " and num_rows: $count\n";
pri
Have another look here:
http://www.php.net/list
Note that the list construct only works
on numerical arrays and assumes 0-n. You
may want to use import_request_variables()
or extract() though.
Regards,
Philip Olson
On Wed, 18 Dec 2002, Ns_Andy wrote:
> a.php
>
> list($a
You may want to provide more information like why
is this string being split at these seemingly
random points? Maybe there is a common separator
or could be? But anyway it sounds like you want
substr().
http://www.php.net/substr
Regards,
Philip Olson
On Wed, 18 Dec 2002, Alex Ciurea
d. And checking the number or rows
returned before fetching is a form of error handling
as well as if it equals 0 than there is no data to
fetch. But if one ONLY wants a number of rows count,
doing SELECT count(*)... works great as suggested
below.
Regards,
Philip Olson
On Wed, 18 Dec 2002, lilj
And now mysql4 allows doing this another way, I *assume*
this new way is slightly faster then the additional
count() although I haven't tested it and wonder if it
affects mysql_num_rows()...
See: SQL_CALC_FOUND_ROWS()
http://www.mysql.com/doc/en/Miscellaneous_functions.html
Regards,
P
You want explode(), something like:
list($a, $b) = explode('|', $string);
Regards,
Philip Olson
On Wed, 18 Dec 2002, Jeff Bluemel wrote:
> I have a string that will look like the following;
>
> data1|data2
>
> now - I need to put data1 in a variable, and
How about:
if (!$conn = mysql_connect($host, $user, $pass)) {
include 'static_html.inc';
exit;
}
print "Welcome, yes the database is connected";
exit ends the script, nothing after its use is executed.
Regards,
Philip Olson
On Thu, 19 Dec 2002, Beaufo
For the record, variables are case sensitive so it's
$_SESSION not $_session.
And if you're going to use $_SESSION (which you should),
do not use session_register().
Regards,
Philip
On Thu, 19 Dec 2002, Mike Hillyer wrote:
> I have recieved a private response, it appears
on't care if 'email' comes from GET, POST,
or COOKIE ... you could use $_REQUEST['email']. Or,
import_request_variables() is another option. For
example:
import_request_variables('p', 'p_');
print $p_email;
See the manual for details, and have fu
This faqt answers your question:
http://www.faqts.com/knowledge_base/view.phtml/aid/8583
Regards,
Philip Olson
On Fri, 20 Dec 2002, conbud wrote:
> Hi.
> Lets says I have 8 links stored in a database, extracting those links is
> no problem. Now lets says I have 2 columns, how
This is a very important point to understand, I tried (and
failed) to explain it. I think Leif made it pretty
clear though, here's another :)
// $a can be anything when you call the function
function bar ($a) {
print $a;
}
bar ('Hello World');
bar ($_POST['something&
No, but you can do this:
$arr2 = array_values($array);
print $arr2[0]; // VALUE1
Regards,
Philip Olson
On Fri, 20 Dec 2002, Alexander Guevara wrote:
> How can i do for printing the value of an array given the numeric key for
> example i have this code:
>
> $array = array (
He is referring to a question that is answered here:
http://www.php.net/manual/en/faq.html.php#faq.html.encoding
Spoiler: htmlspecialchars() -> http://www.php.net/htmlspecialchars
Regards,
Philip Olson
On Sat, 21 Dec 2002, Justin French wrote:
> on 21/12/02 2:00 PM, Alexander G
Use is_numeric()
http://www.php.net/is_numeric
See also the ctype functions which can
be read about here:
http://www.php.net/ctype
And yes, regular expressions are another
option but aren't needed here.
Regards,
Philip Olson
On Sat, 21 Dec 2002, Beauford.2002 wrote:
> Hi,
&g
ynamically, that would be ideal.
Regards,
Philip Olson
On Sun, 22 Dec 2002, Tony Earnshaw wrote:
> >I have a site hosted at JTL Networks, and I'm looking into setting up
> > a spell checker for my message boards. The problem is, JTL doesn't have
> > pspell compil
or similar instead for
reasons described here:
http://www.php.net/variables.external
Regards,
Philip Olson
On Sat, 21 Dec 2002, Beauford.2002 wrote:
> Thanks for the info, but . is_numeric does not appear to accept
> variables i.e. is_numeric($num) and ctype gives me the foll
This tutorial lists many oop tutorials:
Know of any basic tutorials on PHP Classes and OOP?
---
http://www.faqts.com/knowledge_base/view.phtml/aid/7569
Regards,
Philip Olson
On Mon, 23 Dec 2002, Wee Keat wrote:
>
> >
Another good one:
fudforum:
http://fud.prohost.org/
Regards,
Philip
On Tue, 24 Dec 2002, [windows-1254] Fatih Üstündað wrote:
> do you know freeware forum in php I can easly use?
>
> thanks.
> fatih ustundag
>
> --
> PHP General Mailing List (http://www.php.n
I've heard that RH8 decided to disable short tags
in their default php.ini If this is true, the people
at RedHat deserve a good spanking. Talk about being
irresponsible!
Regards,
Philip
On Tue, 24 Dec 2002, Tom Woody wrote:
> I have found this to be very true with RedHat 8 (
Any chance you can do a somewhat frequent export from informix into mysql
or the other way around so all your stuff is in one database?
-philip
On Fri, 3 Jan 2003, Jeff Bluemel wrote:
> ok - here's my problem. I have some data in mysql, and other data in
> informix.
>
> here
ecord at a time
> upon request which won't be too frequent.
>
> hoping there's another solution I'm not aware of, or over looked.
>
> Jeff
>
> "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTE
inking about is just not giving the distributors
> access to this information, but restricting it to users with permissions to
> the entire batch only.
>
> thanks,
>
> Jeff
>
> "Philip Hallstrom" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">
ut anyway
4.1.1 is old so you should upgrade.
Like with any version of PHP you download it and
follow the install instructions.
http://www.php.net/downloads
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is register_globals on or off? If it's off on the new machine that
explains why $DOCUMENT_ROOT is evaluating to "" which would produce the
error message you are getting...
On Thu, 9 Jan 2003 [EMAIL PROTECTED] wrote:
> I absolutely cannot understand the include_path directive.
> Can somebody, ple
http://www.php.net/manual/en/ref.shmop.php
On Tue, 14 Jan 2003, Mathias Rockel wrote:
> Hi all !
>
> It seems I did not state exactly enough what I need ... if I use the
> $_SESSION functions or write the stuff myself makes no difference, actually
> then I can just leave it in the database and re
You could use fetchmail to get the mail and pipe it into your php script
which would see it as standard input...
Or look on zend.com for a POP class...
On Tue, 14 Jan 2003, David Russell wrote:
> Hi all,
>
> I want to develop a script that can read an e-mail from a pop account,
> and then perfor
> Which part of $_ is the REQUEST_URI be found from?
It's a web server predefined variable so only lives
in $_SERVER.
http://www.php.net/variables.predefined
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
$_SERVER[DOCUMENT_ROOT]
On Fri, 17 Jan 2003, Don wrote:
> Hi,
>
> How do I access $DOCUMENT_ROOT when register_gobals is set off? I think
> there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
> find it in the documentation.
>
> Thanks,
> Don
>
>
> ---
> Outgoing mail is
Everyone from this thread needs to reread this:
http://www.php.net/variables.external
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> How do I access $DOCUMENT_ROOT when register_gobals is set off? I think
> there's an array, something like $HTTP_ENV_VARS['DOCUMENT_ROOT'] but I can't
> find it in the documentation.
http://www.php.net/variables.predefined
Regards,
Philip
--
PHP General Mai
I wonder if appending time() would be better... granular to a second and
you save the filesystem lookup effort??
On Mon, 20 Jan 2003, Jim Lucas wrote:
> I would add the modification time of the file in question with
>
> filetime($filename);
>
> that way you will be sure to get a unique argurment.
Why not:
$array = split("[ ,]", $line);
?
On Wed, 22 Jan 2003, Kris wrote:
> Hi
>
> I'm having dramers with fscanf
> I have a line:
> text, text, text
>
> I can't work out how to scan removing the comma and whitespace.
> the text can be absolutle anything.
>
> at the moment I have
> $array = fs
> >
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Replace your last line with this...
$date = $month . $mday . $year
Or take a look at the date() command... something like:
$date = date("mdy", time());
would do the same thing (check the man page for sure).
On Fri, 24 Jan 2003, Guru Geek wrote:
> Hello,
>
> I'm trying to use getdate() and th
does it hog the CPU and stop other things from running or is it just using
100% of the CPU? If the latter, that's fine. If the former, read the man
page for nice or renice (it's renice on freebsd)
-philip
On Fri, 24 Jan 2003, Gareth Thomas wrote:
> Hi all,
>
> I have a comm
Read:
http://www.php.net/variables.scope
Also note that $_SERVER is an autoglobal.
Regards,
Philip
On Sun, 26 Jan 2003, @ Nilaab wrote:
> Hello Everyone,
>
> I am a little confused. Why do predefined variables like $PHP_SELF or
> $DOCUMENT_ROOT not process within a class, in
help to the php-dev team. Also
I believe many changes to the Java extension went
into 4.3.0 so maybe it'll work for you.
Regards,
Philip
On Sun, 26 Jan 2003, John Wells wrote:
> Working on getting Java integration going. I was able to get it to work
> with the online example and ca
com/sql/
http://www.sqlcourse.com/
Learn PHP
http://www.faqts.com/knowledge_base/view.phtml/aid/2836/fid/51
http://www.php.net/manual/
http://www.php.net/links.php
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 27 Jan 2003, Wei Weng wrote:
> Is there any environment/Global variable in PHP that indicates whether the
> server port you connect to is SSL port?
$_SERVER['HTTPS']
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ed example
that demonstrates your definition of "weird"
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Use several smaller forms and store the results of each into a session
variable.
Also store a "got-results-for-form-1" (through 7) that gets set for each
of the 7 forms. Once all 7 are set you can do the final processing.
Set the action of each form to say "save.php" and pass in a "saving_what"
I could be wrong, but I'd guess that filesize fails for remote files.
If all you're doing is spitting out the text, why not use readfile()?
-philip
On Mon, 27 Jan 2003, Guru Geek wrote:
> Hello,
>
> I'm a recent convert from CGI/Perl and so am still getting my feet wet
quot;rb");
> $contents = fread ($handle, filesize ($filename));
[snip]
See:
http://www.php.net/filesize
You cannot use it with urls. Also if you can help it,
don't go through http like this. But anyway, see
also: file(), fgets(), and include()
Regards,
Philip
--
PHP General
Something like...
$body = "blah blah blah\n";
$body .= "Name = $name\n";
$body .= "Address = $address\n";
$body .= "Comments = $comments\n";
mail("[EMAIL PROTECTED]", "subject", $body);
would do it.
On Tue, 28 Jan 2003, Bruce Levick wrote:
> I have a number of field entries that I am trying t
ude_path setting? It's important
you know it and what it means as that'll answer the
question in your last post:
print ini_get('include_path');
http://www.php.net/manual/configuration.directives.php#ini.include-path
Also, no need for "exit" here as that happens
Unless you've got a compelling reason to switch to Perl, I wouldn't. I
like Perl, but like you have used PHP a lot more often in the last couple
of years.
Where I find it really nice is when my cron scripts need to use the same
libraries as my web scripts...
-philip
On Mon, 27 Jan
Regarding keeping . as . and not _ in variables:
This isn't going to happen as it seriously breaks
BC. This also would affect functions such as
import_request_variables() and extract(). There
is no worthy benefit here, this will never happen.
Regards,
Philip
--
PHP General Ma
One too many $'s in your code, use:
$_REQUEST['my_passed_variable']
This is how all arrays work, autoglobals are the same.
See also:
http://www.php.net/variables.external
http://www.php.net/variables.predefined
Regards,
Philip
On Wed, 29 Jan 2003, CF High wr
server wasn't restarted or .htaccess/httpd.conf
gets in the way or ... ...
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
if (isset($_REQUEST['thebuttonname_x'])) {
print "The button was clicked";
}
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I don't see where you include() your class definition in that second
file... add include("nycmgMail.php") right before the session_start()
line and see if that makes a difference.
-philip
On Thu, 30 Jan 2003, Weston Houghton wrote:
>
> Ok, now I'm frustrated.
>
o not use them and
leave this deprecated directive off. Now what happened
in PHP 4.1.0 was the introduction of autoglobals but
this is all described in various places in the manual
and here's such a place that links to others:
http://www.php.net/variables.external
May as well read this too:
http://www.php.net/release_4_2_0.php
Where have you been, hibernating? :)
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
* (because
of the isset($addjoke) call. You could set it to whatever you want, but
setting it to 1 is commonly done to indicate "trueness" or "it's on".
You could set it to "yes" if you wanted and the script would work the
same.
Hope this helps.
-philip
On T
e, and they will
now exist. (assuming you already installed the mysql rpm)
In short, there are three rpms: php, mysql, and php-mysql.
http://www.rpmfind.net/
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
specific
faq for each form type, such as checkboxes or select boxes or...
Ideally one faq would explain it for all types, checkboxes or
otherwise. Making it short/concise and understandable for all
user levels (such as newbies) is the tricky part. Well,
actually, the tricky part is convincing people
is
> happening or how to fix it. FWIW, I have compiled 4.23 just fine on
> that box.
[snip]
Are you using the GNU utilities? PHP requires them, for example,
sed must be of GNU origin. Same for bison, flex, etc. This is
a common problem on Solaris these days as it comes with a broken
sed
gt; the PHP script gets executed.
Yes, use GET:
eat an apple
See also if() and switch()
http://www.php.net/else
http://www.php.net/switch
http://www.php.net/variables.external
print $_GET['fruit'];
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
p://lxr.php.net/
Also, the following may be helpful to you:
http://www.zend.com/phpfunc/
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sat, 1 Feb 2003, CF High wrote:
> Hey all.
>
> In cold fusion I was able to define a default value with the "test" default = "myValue"> tag
>
> When I passed the variable "test" via a form or query string, it would over
> ride the parameter value.
>
> How can I do this in PHP? I looked in
in string phenomena (except the bug hasn't been
mentioned as I'm waiting for it to be committed first).
http://www.php.net/types.string
Sunfire, you aren't seeing this E_NOTICE error because your
error level is turned down (by default). Put this on top
of your scri
t;select * from members where company like 'test'");
> while($row=mysql_fetch_array($result)){
> print("\n\n");
// Try this instead, see also: htmlspecialchars()*
print "";
Regards,
Philip
* http://www.php.net/manual/en/faq.html.php#faq.html.encoding
> }
&
ED
Although it doesn't depend on the variables_order directive
like register_globals does, it is flexible. Keep in mind
that variables are written from first to last so you
certainly don't want GET coming after SERVER.
Regards,
Philip
> "Davy Obdam" <[EMAIL PROTECTE
t)) {
> echo("| %s | %s | %s | %s | %s |", $array[id], $array[username],
> $array[password], $array[status], $array[notes]);
> }
> ?>
Maybe this will help:
\n";
}
?>
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
vailable in PHP for a
very long time (along with __FILE__). PHP 4.3.0 introduces
the following:
__FUNCTION__ Function name
__CLASS__ Class name
debug_backtrace() Debugging information including the
line number
See: http://www.php.net/debug_backtrace
R
mas are okay
here but as someone else already stated, echo doesn't behave
like printf so no special %formatting% with echo.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, 2 Feb 2003, Lon Lentz wrote:
>
> Is there a PHP version of the ColdFusion tag ?
Go here:
http://marc.theaimsgroup.com/?l=php-general&s=cfparam
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
me please.. Your help is greatly appreciated;-)
Please read the example in the manual as well as the user
contributed notes. They show how to do this:
http://www.php.net/mysql_field_name
See also: mysql_num_fields()
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
the user name that was selected
> in the listbox but after i get how that works then it will load a form with
> all user data in it so it can be changed..
Read this:
http://www.php.net/variables.external
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
ve
> someone have written one already. I have not the skills (yet) to write it
> myself
See:
http://www.php.net/readdir
http://www.php.net/filemtime
The examples within will help you write this.
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Read this:
http://www.php.net/features.http-auth
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
t; in the form. See:
http://www.php.net/variables.external
Debugging101 would have you do: print $sql;
And lastly, posting a TON of code won't get you very
far. I just ignored it and based my response on the
one above.
Regards,
Philip Olson
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Add the directory that contains the script you want to run to
safe_mode_exec_dir (check the docs to confirm this)
-philip
On Tue, 4 Feb 2003, [ISO-8859-2] Bc. Radek Krejèa wrote:
> Hello,
>
> I need use function exec or backtick operator, but i have PHP in
> safe mode. I need
t; or > or " or whatever ... read
this faq:
http://www.php.net/manual/en/faq.html.php#faq.html.encoding
If the error is something else it's because you did
not describe the question very well. Knowing the
error would be a huge help.
Regards,
Philip
>
> - Original Message -
to do it all the math as the number of seconds since 1970
(look at time() and strtotime()) and you'll be fine.
-philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Mon, 3 Feb 2003, Chris Shiflett wrote:
> --- Philip Olson <[EMAIL PROTECTED]> wrote:
> > No offense Sunfire but I don't think you're ready to
> > be answering questions.
>
> Please try to be a little more kind. While his answer does
> have proble
On 4 Feb 2003, Adam Voigt wrote:
> I believe he meant the HTML source of an HTML page.
An example in the manual does exactly this:
http://www.php.net/file
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
we hope you
enjoy this webpage.
Or a little heredoc:
http://www.php.net/manual/en/language.types.string.php#language.types.string.syntax.heredoc
Regards,
Philip
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
1 - 100 of 1707 matches
Mail list logo