Personally I would look at a templating system, there are lots of them
around. I have only used FastTemplates and Smarty I would reccommend the
later.
http://www.phpinsider.com/php/code/Smarty/
or have a look at for a few more:
http://phpclasses.upperdesign.com/browse.html/class/1
Hope this he
What happens there is this:
$email = "1. row";
$email = "2. row";
$email = "3. row";
echo $email;
You really need to put echo $email inside the loop or use '.=' to set up
values to $email.
Niklas
-Original Message-
From: Richard Kurth [mailto:[EMAIL PROTECTED]]
Sent: 26. lokakuuta 2
your while loop is working fine -- it's just that you're re-setting the value
of $email every time it loops through.
I'm not sure what you're trying to accomplish, but you might try something
like:
$query = "SELECT * FROM members Where Company LIKE '%$search1%'";
$result=mysql_db_query($dbNam
On Fri, 26 Oct 2001 16:40, Richard Kurth wrote:
> I am trying to get the data out of the while loop if I echo $email
> inside the } it gives me all of the data but if I echo it out side of
> the loop it only gives me one record even though I know there is
> more. How can I get this to work
>
>
Or you can do something like:
$query = "SELECT * FROM members Where Company LIKE '%$search1%'";
$result = mysql_db_query($dbName, $query);
$numRows = mysql_num_rows($result);
for ($i=0; $i<$numRows; $i++) {
$row = mysql_fetch_array($result);
$email[] = $row[email];
}
OR
while ($row = mysql
The only pages that are getting this error are the ones that php is mapped
to parse (i.e. .html .php .phtml) if I go to a page that doesn't exist with
a .htm or .cgi extension etc it works fine and I get the standard IIS 404
error page.
But when it is a page that php processes thats when the CGI
I'd like to create an array of "available resources", and be able to
check it every time. What I'd like to do is something like;
$site = array( "section1" => #, "section2" => #, etc.. )
where "section*" is a STRING variable and # is an INT (if it's even
possible to do that)
O
On Friday 26 October 2001 03:42, Julio Nobrega wrote:
> If I unset variables/arrays/etc, that I will not use on my script
> anymore, should I expect a performance increase?
No. unless these variables use up so much memory that the system starts
swapping.
--
Christian Reiniger
LGDC Webmaster
Sorry all but I really need to figure this out. Here's a recap of my
problem:
I have an two dimensional array that is returned from code from an included
file. I'm assigning parts of the array to variables ( $variable =
$array["key"]["value"]; ). This works fine and can be printed until I send
it
I want to know how to open an Excel file from a link in an web pages
I did try this but an error box appears telling me the following :
warehouse_credits.xls is not accessible
The computer or share name could not be found
This is my link:
href="file://warehouse_credits.xls"
File sharing on
hi everybody!
have done a function that splits up the search results into multiple pages
and are displayed using a "scroll bar" like this:
< 1 2 3 4 5 6 7 8 9 10 11 12 >
what i need (when the database grows) is a function that limits the
scrollbar to only show like 10 pages at a time. i can't
I do believe you need to use the full path for the file
Rick
> I want to know how to open an Excel file from a link in an web pages
> I did try this but an error box appears telling me the following :
>
> warehouse_credits.xls is not accessible
> The computer or share name could not be found...
I have 2 images, and I want to copy/reescale a block from image A to image
B, when I do it (imagecopyresized) I get a gray square on image B, I think
that the problem is palette colors, how can I copy palette from image A to
image B?
Thnx
--
PHP General Mailing List (http://www.php.net/
How can I know the line and the file from where a function has called. I
already know __FILE__ and __LINE__, but I don't want to transmit them in
arguments.
Exemple :
--- toto.php ---
1 : include("test.inc")
2 :
3 : test("bidule");
4 :
--- test.inc ---
> The only pages that are getting this error are the ones that php is mapped
> to parse (i.e. .html .php .phtml) if I go to a page that doesn't exist with
> a .htm or .cgi extension etc it works fine and I get the standard IIS 404
> error page.
> But when it is a page that php processes thats when
How can I know the line and the file from where a function has called. I
already know __FILE__ and __LINE__, but I don't want to transmit them in
arguments.
Exemple :
--- toto.php ---
1 : include("test.inc")
2 :
3 : test("bidule");
4 :
--- test.inc ---
1
> I have an two dimensional array that is returned from code from an included
> file. I'm assigning parts of the array to variables ( $variable =
> $array["key"]["value"]; ). This works fine and can be printed until I send
> it through a function eg. ( ereg_replace(" ", "_", "$variable"); ). After
On Friday 26 October 2001 05:03 am, you wrote:
> I have 2 images, and I want to copy/reescale a block from image A to image
> B, when I do it (imagecopyresized) I get a gray square on image B, I think
> that the problem is palette colors, how can I copy palette from image A to
> image B?
>
>
>
>
Where can I get that code for PHP 4.0.6?
I added to ./ext/gd/gd.c
/* {{{ proto int imagecopyresizedbicubic(int dst_im, int src_im, int dst_x,
int dst_y, int src_x, int src_y, int dst_w, int dst_h, int src_w, int
src_h)
Copy and resize part of an image */
PHP_FUNCTION(imagecopyresizedbicubic)
{
z
On Fri, 26 Oct 2001 18:17, Ashley M. Kirchner wrote:
> I'd like to create an array of "available resources", and be able to
> check it every time. What I'd like to do is something like;
>
> $site = array( "section1" => #, "section2" => #, etc.. )
>
> where "section*" is a STRING varia
Don't you like the side-benefits of this list, eg that someone comes up with a
question that gets your thought processes
running or suggests an idea you'd not otherwise come up with!?
So further to the question:
> How can I know the line and the file from where a function has called. I
> alread
On Fri, 26 Oct 2001 17:18, John wrote:
> Hello All,
>
> I am new to this list and am sure most of you are tired of this subject
> appearing. Please forgive me as I am becoming tired of searching archives
> and the internet and I am hoping someone here can help me.
>
> I am using fsockopen to post
Hi !
I'm making a web site whitch should enable the user to add the news to the site. I'm
doing this with the database, but I'm trrying to let them add the pictures with the
text. I'd like to let hte user choose the position of the image, as well as the image
position(left - center - right
Hi
I have a problem with writing html code to a file.Every time i write html to a file
PHP replace every " character into a \" character.Further more every character
will replace into a empty character.
So what should i do to stop replacing this character ?
Thank you very much!
Chris
Hi,
This solution works in most browsers:
(your text)
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
Tel.4615501
GSM 8960376
E-mail [EMAIL PROTEC
Hello Mike,
Thursday, October 25, 2001, 10:09:18 PM, you wrote:
MF> Actually your problem is with the function itself. In order for it to work
MF> you need to use the "this" keyword:
MF> class A {
MF> var $xxx;
MF> function print() {
MF> echo $this->xxx;
MF> }
MF> }
MF> Y
run the function stripslashes() on it this will get rid of the \ in front of
the single and double quotes.
I do not know how to help you with the non breaking space problem though. I
have no clue why it would replace that... very strange..
Rick
> Hi
>
> I have a problem with writing html code
Hello Steve,
Thursday, October 25, 2001, 10:30:16 PM, you wrote:
SC> On Thursday, October 25, 2001, at 02:08 PM, Martín Marqués wrote:
>> On Jue 25 Oct 2001 15:36, you wrote:
>>> Hello php-general,
>>>
>>> I have such code:
>>>
>>> class A
>>> {
>>> var $xxx;
>>>
>>> fun
There is option in PHP (php.ini file) magic_quotes_runtime set it Off.It
shuold help You. Restart apache after.
Krzysztof
[EMAIL PROTECTED] wrote:
> Hi
>
> I have a problem with writing html code to a file.Every time i write html to a file
>PHP replace every " character into a \" character.F
[EMAIL PROTECTED] (Leon Mergen) wrote:
> Hello,
>
> Just curious, before I get into the heat, but did anyone who already
> has installed MySQL 4 had any problems compiling PHP?
read somewhere that as long as you use the built in mysql lib and not
mysql4 it should work.
--
Henrik Hansen
-
hi all
I tried to install php-4.0.6 (as a dynamic module for Apache) on my Red
Hat 7.1 with
apache_1.3.4+ssl_1.31
and mysql-3.23.39 but I've got a very big trouble:
when I type: "./configure --with-mysql=/[path to mysql]
--with-apxs=/[path to apxs]"
I got:
"Sorry, no shared object support for Apa
Hi Folks
I can write to txt files, no problem!
What is the easiest way to get my end user to upload images, is there a
method to generate an online form that can handle the input of txt and
images so that the images will get uploaded and then automatically
linked to a template???
Hope someone c
I want any script work as yahoogroups
can any body help me to found it ?
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";)
but fail
Hello list,
Simple Enough Objective: store file remotely (wu-ftp);
MinorSnag: PHP's ftp-functions unavailable at localhost;
BelowWorkaround: works fine for deleting remote file;
MajorSnag: how to STORE a file remotely using socket?
BTW: I also messed with fopen("ftp://user:pass@...";)
but fail
I was looking to take a string like Dan and return it like
D
A
N
is it the str function that does that
=
Dan McCullough
---
"Theres no such thing as a problem unless the servers are on fire!"
h: 603.444.9808
w: McCullough Famil
I was looking to take a string like Dan or Dan is great and return it like
D
a
n
or
D
a
n
i
s
g
r
e
a
t
is it the str function that does that and if so does someone have an example?
thanks
=
Dan McCullough
---
"Theres no
Strings are arrays, so you can print out a string by doing something like
this:
$string = "hey there!";
for ($i=0; $i I was looking to take a string like Dan and return it like
> D
> A
> N
>
> is it the str function that does that
>
> =
> Dan McCullough
> --
To be more precise add the at the end of the line between the for loop:
Strings are arrays, so you can print out a string by doing something like
this:
$string = "hey there!";
for ($i=0; $i';
}
That's about all there is to it! :) Use the strtoupper() function if you
mean to have everything u
> Strings are arrays, so you can print out a string by doing something like
> this:
Yups, this is possible, but i think he wants to have a newline for each
character,
you can doe this excelent with a small addition to your example:
> $string = "hey there!";
>
> for ($i=0; $i echo strtoupper($st
$string = "hey there!";
$out = '';
for ($i=0; $i if output is to
browser
}
echo $out;
"Richard Baskett" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Strings are arrays, so you can print out a string by doing something like
> this:
>
> $string = "hey ther
to tail a file use the "+" flag when opening that log file,
and write a simple PHP script that spits that file to you, ie:
showlog.php
"Yamin Prabudy" <[EMAIL PROTECTED]> wrote in message
003901c15de4$82f0cb70$fe2796ca@dusak">news:003901c15de4$82f0cb70$fe2796ca@dusak...
> Hi there I need help her
In article <023601c15de3$c05d8bc0$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Is the PHP code you provided below working, I need something like than and i
> wonder if i could use it.
> NOBBY
Actually, right now I'm using some code stripped from the PHP-Nuke Weather
add-on. But it gets its
Hi,
I'm currently working on something like that.
I had already done this but I need to find the file!
I don't have time right now but I'll send you another email later :o)
What do you think about using a form: input for max rows and drop-down for
the 1 2 3... (for example: max rows=10; drop-dow
This only returns the first letter?
--- _lallous <[EMAIL PROTECTED]> wrote:
> $string = "hey there!";
>
> $out = '';
> for ($i=0; $i$out .= strtoupper($string[$i]) . "\n"; // or if output is to
> browser
> }
> echo $out;
>
> "Richard Baskett" <[EMAIL PROTECTED]> wrote in message
> [EMAIL
From: Dan McCullough <[EMAIL PROTECTED]>
Date: Fri, Oct 26, 2001 at 06:03:00AM -0700
Message-ID: <[EMAIL PROTECTED]>
Subject: [PHP] String breaking up
> I was looking to take a string like Dan and return it like
> D
> A
> N
>
> is it the str function that does that
>
> =
> Dan McCullough
Hello,
I am a recent return to the list. Wow has the traffic grown! This is
awesome.
I have a couple of questions and one may be a RTFM but I can't find the
answer.
#1) While I thought I was extremely familiar with the MYSQL functions
available in PHP I found on e in a code snippet that I have
Alex,
You can access MS Access via ODBC, but you do need a Windows box (and
Access) to serve the .mbd file.
It's possible to connect from BSD to Windows using ODBC - OpenLink's
Multi-Tier drivers can affect this connection for you, and can be downloaded
for free.
Let me know if you need any assi
I have a script (let's call it a.php3) that brings in another script b.php3
with the include or require call.
In script b.php3 there is an include or require call to bring in script
c.php3.
Script a.php3 after making one and only one include (the include is not
repeated anywhere in a.php3) then
Ray Todd Stevens wrote:
> I ahve been using go-live (4.0) to edit pages containing php scripts.
> this is not really working well. Is there a better way or a better editor
> to use for this?
Try SciTE:
http://www.scintilla.org/
--
Pavel a.k.a. Papi
--
PHP General Mailing List (http:/
I have finally uploaded a tar ball to the phpfax.sourceforge.net
website.
All the code is there, but it will take a good bit of work to get the
whole thing working. Those who have shown interest in the project will
probably just be interested in parts of the code for there own
projects.
If you
When I run odbctest I get the following prompt:
OpenLink ODBC Demonstration program
This program shows an interactive SQL processor
Enter ODBC connect string (? shows list): ?
DSN| Description
---
Enter ODB
Hi,
can any body know about free php & mysql free web hosting service provder ?
i will be greatful if u let me know
Kamran H. Hassan
Hi Guys (and Gals),
I'm having a little difficulty at the moment.
I have a script where users can input HEX encoded data via a form. This
data is being received by my script but is terminated at the first
occurance of %00.
For example;
%01%24%84%00%01%02
becomes;
%01%24%84
Does anybody know
better yet, just use backticks:
On Fri, 26 Oct 2001 16:13:31 +0200, _lallous wrote:
>to tail a file use the "+" flag when opening that log file,
>and write a simple PHP script that spits that file to you, ie:
>showlog.php
>readfile('logfile.txt');
>?>
>"Yamin Prabudy" <[EMAIL PROTECTED]> wrote i
What's the difference between mail() in PHP and sendmail?
Thanks!
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]
Brad Hubbard wrote:
> // Suck 'em in
>
> $site = array (
> "section1" => 007,
> "section2" => 11,
> "section3" => 57.5,
> "section4" => 12,
> "section10" => 1
> );
Okay, this answer the f
www.f2s.com sometimes it's a little slow but u have php+mysql
- Original Message -
From: "Kamran H. Hassan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 11:20 AM
Subject: [PHP] free php web hosting
Hi,
can any body know about free php & mysql free web host
Toni,
You need to enter a string of the syntax:
DSN=[name of your dsn]
Since nothing shows up with a "?" I bet you haven't set your ODBCINI
environment variables.
Running the openlink.sh against the current shell should do this: .
openlink.sh
If you are doing it by hand, you need to set:
ODBCI
Sounds like getting a stack trace in various other languages. I know that
Komodo and I think maybe a couple others has a built in debugger. It may
(or may not) show you a stack trace/call trace display.
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26
Not a whole lot. The PHP mail function is just a nice fuzzy function
wrapper to popen("sendmail").
The gory details can be found at
http://cvs.php.net/co.php/php4/ext/standard/mail.c?r=1.44.
-Original Message-
From: Web user [mailto:[EMAIL PROTECTED]]
Sent: Friday, October 26, 2001 8:4
Nothing, really. I believe PHP's mail() actually calls sendmail directly
(or whatever you have configured in php.ini).
Also Mike
Web user wrote:
>What's the difference between mail() in PHP and sendmail?
>Thanks!
>Mike
>
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe,
I've always been partial to TextPad, myself.
http://www.textpad.com/
You gotta download the PHP4 Syntax Definition file for syntax hilighting.
Mike
Pavel Jartsev wrote:
> Ray Todd Stevens wrote:
>
>> I ahve been using go-live (4.0) to edit pages containing php
>> scripts. this is not really
MM> Check your code again. Without the this-> I get the same error that you got.
With this->> I don't.
I don't know what php you're using... Or maybe you haven't understood
something. Try this code:
And php will tell you "Parse error: parse error, expecting `T_STRING'
in Newprint.php on lin
This is really I guess a non-PHP question, so please excuse...
What is the most reliable, browser-safe way to redirect the browser from a
default index.html to, say, index.php? The I'm doing it now is with the
following javascript:
document.location="index.php"
And it works, but I wanted to
You might try META tags. Put this in the head section of your index.html file:
< meta http-equiv="refresh" content="0; url=index.php" >
If the user has JavaScript disabled, you're probably best off using a link
and letting the user click through.
You may also be able to adjust your A
Before any of your HTML code, put in:
header('Location: index.php');
If anything has been sent to the browser yet (through echo/print/etc, or
through code outside of the tags), though, you will get an error.
Mike
René Fournier wrote:
>This is really I guess a non-PHP question, so please exc
René Fournier wrote:
> And it works, but I wanted to know if any of you are using a better [more
> compatible] way of redirecting the browser (say, if it doesn't have
> JavaScript (!?)).
If you're using Apache, add 'index.php' to the DirectoryIndex option in
httpd.conf. Then you can remove
On Friday 26 October 2001 10:25, you wrote:
> What is the most reliable, browser-safe way to redirect the browser from a
> default index.html to, say, index.php? The I'm doing it now is with the
> following javascript:
The most reliable, browser-safe, non-PHP way to redirect mail is to do it
se
Right. My bad.
Heh, I have an excuse.. it's before noon here ;)
Definitely go with the approach, then:
Example:
Click here to enter the site
Mike
this wouldn't work from an index.html page unless html pages were set up to
parse as php file...
At 10:35 AM 10/26/2001 -0700, yo
A while ago an email came through here about how to parse out email message
from a php script. The thing that was mostly of interest to me is the
ability to send an email to a php script, I guess through a sendmail
alias? I asked how to accomplish this, and never saw an answer come
through.
Hello,
I am looking through the documentation and archives and have been unable
to find anything about my problem, which is:
Installing php-4.0.6 on alpha OSF1 v5.1
CONFIG LINE:
./configure --with-apache=../apache_1.3.22
--with-imap=/usr/local/src/imap-4.7 --with-mysql=/usr/local/mysql
--with-
Hi there,
I have a serious problem in my programming architecture.
The architecture looks like fusebox (those of you familar with CF might now
this a.) The point is, that I am sending html code at the beginning. Body
tag and so on. Now there is the content. And inide this content there might
be
Hi there,
I heared that search engines are not following things after the question
mark. Now I looked arround and noticed, that some sites yust have numbers
behind the .php extension. How does this work? Can anybody make an example
and list advantages and disadvantages?
Thanx,
Andy
--
PHP G
Hello Andy,
Its just a way of passing along variable information as you would do
with a form except you attach the variable/args directly to the URL.
For example if you have a script that list all records in a database,
you may have a link for deleting records that would be attached to
each reco
Hi,
I have a simple authentication script.
if ($username == "abc")
{
readfile("abc/index.php");
}
else
readfile("index.php");
What I would like to know if there is some way that I can have the user
checked against the user in directory /abc/.htaccess? I would like to have
the script to jump
As far as i know PHP can't handle SSL yet.. at least that was the situation
a few versions ago. =(
- Original Message -
From: "Brad Hubbard" <[EMAIL PROTECTED]>
To: "John" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, October 26, 2001 5:54 AM
Subject: Re: [PHP] fsockopen and http
Andy wrote:
> I heared that search engines are not following things after the question
> mark. Now I looked arround and noticed, that some sites yust have numbers
> behind the .php extension. How does this work? Can anybody make an example
> and list advantages and disadvantages?
Search engi
Two ways:
#1 - If you have server admin access, just add to the default page list
"index.php" in your server config.
#2 - Use a meta refresh:
http://www.yourdomain.tld/path/to/your/script.php";>
Mike Frazer
"René fournier" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[E
It can also use procmail, or any other SMTP-capable application you have
installed. It is called from the php.ini file.
Mike Frazer
"Nathan Cassano" <[EMAIL PROTECTED]> wrote in message
392201c15e37$535ab3f0$2925ae3f@amos">news:392201c15e37$535ab3f0$2925ae3f@amos...
>
> Not a whole lot. The PH
I found several problems with managing this. All links on the page CANNOT be
relative (i.e. HREF="filename.php/var/var/var" it must be
HREF="/filename.php/var/var/var" or with the full path. Otherwise your
browser will try to attach the filename to the end of the long querystring
you created. Unl
Actually beyond that, for #1, if you server allows you to create
.htaccess files, simply create a .htaccess file in your root directory,
and put this in it:
DirectoryIndex index.php
Mike
Mike Frazer wrote:
>Two ways:
>
>#1 - If you have server admin access, just add to the default page list
I know in ASP it's as easy as doing:
Response.Clear
Response.Redirect
But PHP doesn't seem to have that feature.
My best suggestion would be to try and re-work your code so that the
redirect can be detected *before* any html code is written to the browser.
Mike
Andy wrote:
>Hi there,
>
>I h
I had the same type of problem. ( i think)
I had one main page (say index.php) that had a bare bones html page. No
functions or anything.
Then i had separate pages that would be included only if i was using them
(like, say, a category.php for displaying categories, then products.php for
showing
www.f2s.com
At 17:20 26/10/01, Kamran H. Hassan wrote:
>Hi,
>
>can any body know about free php & mysql free web hosting service provder
>?
>
>i will be greatful if u let me know
>
>Kamran H. Hassan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTE
Hi, i'm trying to find elegant way to find if Array was declared with
explicit keys or only as values.
Like, I would like to make a function that knows if array argument was given
with keys or only values,
function that can distinguish between:
func(array("value1","value2","value3"))
and
func(
Response.Clear
Response.Redirect
Doesn't that imply that ASP buffers the output? The problem with
redirecting the browser after you output data isn't a PHP issue, it's
the HTTP spec.
I think the best solution would be to turn on output buffering, then
immediately flush the output buffer when y
AFAIK, ASP does output buffering by default (meaning it doesn't send the code
to the browser until the page is fully parsed and ready to send to the
client) That's what allows it to response.redirects after headers have been
generated. Cold Fusion is the same way.
However, once the actual HT
On Thu, 25 Oct 2001 02:04:14 -0700 (PDT) impersonator of [EMAIL PROTECTED]
(Rasmus Lerdorf) planted &I saw in php.general:
> if(strpos("abcdef","abc")) { ... }
>
>and then be confused that the condition appeared not to be met. What they
>actually should have done was:
>
> if(strpos("abcdef","
I was debating perl Vs. PHP with a friend, and he came up with this:
"Perl can include compiled C binaries without backprocessing them, which is
a pretty useful trick."
I don't know anything about this, so couldn't comment on it. Can PHP do
this, or anything similar?
Thanks!
--
PHP Genera
"Jim Lucas" <[EMAIL PROTECTED]> wrote in message
022901c15dbd$76a34c20$[EMAIL PROTECTED]">news:022901c15dbd$76a34c20$[EMAIL PROTECTED]...
> try this
>
> system("php.exe ", $output);
> echo $output;
> ?>
>
> make sure you put the correct paths to the .exe and file otherwise it
will
> think that i
Our company is looking into purchasing an application package that requires
the use of the Informix (IBM) Redback application. We have been told that
Redback objects can be used in php scripts but I was wondering if any of you
have had experiece with it and if you have had any problems or difficul
I'm trying to figure out how am I supposed to write this snippet
properly:
if (($index = array_search($search, array_keys($pages))) !== false) {
echo "index: $index\n";
} else {
echo "Not found\n";
}
When I search for something that I know exists, it returns the $index
just fi
Hello fellow PHPer's,
Daylight savings is soon upon most of us and I have some
questions in regard to timestamps. My problem: So we put our clocks an
hour back. I have database tables with plain integers that store
timestamps. I like to do comparison operations with these timestamps.
When
[EMAIL PROTECTED] (Kamran H. Hassan) wrote:
> Hi,
>
> can any body know about free php & mysql free web hosting service provder ?
>
http://alt-php-faq.org/links.html - under hosting
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PR
does anyone know the HTML event that knows when a checkbox has been
checked and unchecked?
So far I'm using onChange but that is not exactly what I need. I need to
run one JS function when a checkbox is checked and another when it is
unchecked.
NE1?
berber
--
PHP General Mailing List (http://w
The command is STOR not STORE. Take a look at the FTP RFC- I think its 951,
but im not 100%- just search for FTP RFC.
On Friday 26 October 2001 05:42 am, you wrote:
> Hello list,
>
> Simple Enough Objective: store file remotely (wu-ftp);
> MinorSnag: PHP's ftp-functions unavailable at localhost
Actually,
After coding with PHP since the days me and bourbon shared a cube at
Netvision while he developed php3 I think that's something I would know
:)
The funny issue is that only if I use double stripslashes does it work.
e.g.
$str = stripslashes($str); // This will NOT do the job.
$str = s
onClick
Kirk
> -Original Message-
> From: Boaz Yahav [mailto:[EMAIL PROTECTED]]
> Sent: Friday, October 26, 2001 3:03 PM
> To: PHP General (E-mail)
> Subject: [PHP] checkboxes
>
>
> does anyone know the HTML event that knows when a checkbox has been
> checked and unchecked?
--
PHP
function jsFunc()
{
// then check the status of the checkbox
if (checked)
{
run this
} else {
run this
}
}
onClick="jsFunc()"
Jim Lucas
- Original Message -
From: "Johnson, Kirk" <[EMAIL PROTECTED]>
To: "PHP General (E-mail)" <[EMAIL PROTECTED]>
Sent: Fr
1 - 100 of 136 matches
Mail list logo