> From: Analysis & Solutions <[EMAIL PROTECTED]>
>
> How's this?
>
> $summary = preg_replace('/^(.*)(\r?\n){2,}.*/', '\\1', $summary);
>
> --Dan
>
That's great -- works, and I generally see how it works. Thanks.
Also, can anyone recommend a good online reference, book, or tutorial for
regular
On Thu, 4 Jul 2002 20:43:25 +0100, you wrote:
>Not really a PHP question - more an FTP protocol question - try reading the
>FTP RFC at http://www.ietf.org/rfc/rfc959.txt
>
>However, in a nutshell, to get all of the files in a directory -
>
>1. get a listing of that directory (read the RFC for ins
Hi there,
zend optimizer 1.3.1 / IIS 5 / PHP 4.2.1 / Windows 2000
I've been getting "Stack Overflow" errors frequently. Our software has
hundreds of db queries and hundreds of includes per page execution. Just to
give you some context, so I can't tell you exactly what I'm doing that's
causing
Actually, it's Netscape'sCrap, if you get specific :) Java's a totally
different kettle of crap.
Danny.
- Original Message -
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 4:05 PM
Subject: Re: [PHP] Button can't see form!
Actually I did see the "4.1.0", but mis-read it thinking "4.0.1" (I
did read the manual, just not carefully enough. (Thank you, Mr. Wong,
for your helpful reply.))
Anyways, I came up with a workaround until my ISP upgrades PHP:
$str = rtrim($str);
if (substr($str,-1) == ",") { $str = subs
Liam Gibbs wrote:
>Chris Hewitt wrote:
>
>>One quick test is to set up an email client (Netscape whatever) to talk
>>to sympatico's smtp server directly (leaving out your exim server). If
>>you can send mail from this then permissions to send are OK, and we look
>>around the Exim configuration.
>
Not really a PHP question - more an FTP protocol question - try reading the
FTP RFC at http://www.ietf.org/rfc/rfc959.txt
However, in a nutshell, to get all of the files in a directory -
1. get a listing of that directory (read the RFC for instructions) and store
the filenames in an array.
2. go
Chris Hewitt wrote:
> >>Can you use exim to send mail from the console? Is sympatcio allowing this?
> >>
> >Sympatico allows it but I can't do it (I used to have another
> >box that did this but it got hacked and pretty much destroyed...)
> >
> One quick test is to set up an email client (Netscape
Hi, i'm making a script to donwload files from a ftp server to the server
hosting the script, but i don't know how to download all the files from a
directory. I'm using the file system functions to conect to the ftp server,
because the ftp functions in php does not always work, and, actually t
Liam Gibbs wrote:
>Miles Thompson wrote:
>
>>Can you use exim to send mail from the console? Is sympatcio allowing this?
>>
>Sympatico allows it but I can't do it (I used to have another
>box that did this but it got hacked and pretty much destroyed...)
>
One quick test is to set up an email clie
Thanks I figured it out it was to do with configurations...
I was searching the wrong directory (do I ever feel dumb?!)...
Spike...
"Kondwani Spike Mkandawire" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hallo Folks
>
> I have come across this problem many
Can anyone recommend a good book or web page on php and xml?
The "Professional PHP4 XML" book by wrox looks good but I haven't read any
reviews on it.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
If you don't like arrays you can use objects:
function multireturn()
{
$result->first = "Ticket #1";
$result->second = "Ticket #2";
return $result;
}
--
Sincerely, val petruchek
"Andy" <[EMAIL PROTECTED]> ÓÏÏÂÝÉÌ/ÓÏÏÂÝÉÌÁ × ÎÏ×ÏÓÔÑÈ ÓÌÅÄÕÀÝÅÅ:
[EMAIL PROTECTED]">news:[EMAIL
Miles Thompson wrote:
>
> Liam,
>
> Is "anydomain.ca" in exim's configuration file? Where did that come from?
I put "anydomain.ca" because if I try to mail any domain it fails. I was
using "sympatico.ca" when I was doing my testing.
I don't think I have any domains expilicitly in the exim conf
Liam,
Is "anydomain.ca" in exim's configuration file? Where did that come from?
And, you probably know much more about this than I do, but did you try
those little validation exercises in exim's setup guide? I assume exim
let's you send mail to yourself on the same box.
This ain't much help -
Miles Thompson wrote:
> Unfortunately I discarded the earlier messages, so I don't know what your
> error is.
When I try to send an email I get:
unrouteable mail domain "anydomain.ca"
I can resend you the full error messages if you want.
> Do you have a fixed IP or do you have something like th
Liam,
Unfortunately I discarded the earlier messages, so I don't know what your
error is.
Do you have a fixed IP or do you have something like the Mpowered service
where you're behind sympatico's NAT server?
Can you use exim to send mail from the console? Is sympatcio allowing this?
You may h
Sorry ... busy morning ... I misplaced the & for the reference. They
should be on the arguments on the function definiton, not the function
call.
Sorry if I caused any confusion.
~Chris /"\
\ / Microsoft Security Speci
On Thu, 4 Jul 2002, andy wrote:
> i am wondering if it is possible to return more than 1 value from a
> function?
You can pass your arguments by reference.
The result will be that $var1 == "foo" and $var2 == "bar".
You can mix it up too ... if you want the function to return a value (say,
tr
Chris Hewitt wrote:
> I was going to ask you whether a normal user on your computer could send
> mail (OK, root counts). As the answer is no, it is not a problem with
> your php setup.
>
> sympatico.ca has several MX entries, the first of which is
> smtp26.bellglobal.com and I can ping that from
On Thu, Jul 04, 2002 at 07:16:39PM +0200, andy wrote:
>
> i am wondering if it is possible to return more than 1 value from a
> function?
>
> test(){
> return $value1, $value2
> }
You can return an array. Or, you can global the variables and then set
them to the values you want.
--Dan
-
Liam,
I was going to ask you whether a normal user on your computer could send
mail (OK, root counts). As the answer is no, it is not a problem with
your php setup.
sympatico.ca has several MX entries, the first of which is
smtp26.bellglobal.com and I can ping that from here. I also get a
re
On Thu, Jul 04, 2002 at 11:00:55AM -0600, René Fournier wrote:
>
> I did. It didn't help. (That's why I posted this message.)
Suggestions to RTFM generally mean that there's something plainly visible
in the manual that states what your problem is. Did you go back to the
manual after Jason's e
hi there,
i am wondering if it is possible to return more than 1 value from a
function?
something like
test(){
return $value1, $value2
}
Thanx for any help,
Andy
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, Jul 04, 2002 at 12:41:10PM -0400, Lowell Allen wrote:
> $summary = preg_replace("/^(.*)\n/", "\1", $summary);
How's this?
$summary = preg_replace('/^(.*)(\r?\n){2,}.*/', '\\1', $summary);
--Dan
--
PHP classes that make web design easier
SQL Solution | Layo
I did. It didn't help. (That's why I posted this message.)
On Thursday, July 4, 2002, at 10:47 AM, Jason Wong wrote:
> On Friday 05 July 2002 00:41, René Fournier wrote:
>> echo rtrim($feat,", ");
>>
>> On my local Apache-OSX web server (PHP 4.1.2), this command works fine.
>> (The reason I use
On Friday 05 July 2002 00:41, René Fournier wrote:
> echo rtrim($feat,", ");
>
> On my local Apache-OSX web server (PHP 4.1.2), this command works fine.
> (The reason I use it is that sometimes $feat contains a comma and a
> space at the end of the string, which I want to remove (if it's there)
>
echo rtrim($feat,", ");
On my local Apache-OSX web server (PHP 4.1.2), this command works fine.
(The reason I use it is that sometimes $feat contains a comma and a
space at the end of the string, which I want to remove (if it's there)
before echoing.)
When this same script is run on my ISP (PH
> I'm wondering if anyone has found or ended up
> writing something similar to
> the MSWC AdRotator object in ASP, but for PHP? Or
> is there already a module
> on apache.org that I missed?
(Figre I should pull my weight on this list here.)
Hmm. Not sure exactly what MSWC AdRotator is, but
here
I'm having difficulty returning the first paragraph of a string called
$summary. (Usually this string will only be one paragraph, but it might
contain more than one paragraph. Current data has one occurrence of a
two-paragraph $summary.)
Here's how I process when I want multiple paragraph display
Jason Wong wrote:
> On Thursday 04 July 2002 23:47, Liam Gibbs wrote:
> > > Are you able to do an nslookup of these domains from the server?
> >
> > Those, of course, were just example email addresses (I'd replaced
> > them before sending out this email so it would be more clear).
> > If I use a r
> From: andy [mailto:[EMAIL PROTECTED]]
> Hi there,
Hey, Andy.
> I am wondering how to resize an image which is stored in a
> mysql blob field.
> With files this workes just fine, but how to do this with the
> image comming from blob? Has anybody done this already?
Incidentally, I've done th
Hi there,
I am wondering how to resize an image which is stored in a mysql blob field.
With files this workes just fine, but how to do this with the image comming
from blob? Has anybody done this already?
Thank you for any help on that,
andy
--
PHP General Mailing List (http://www.php.net/
On Thursday 04 July 2002 23:47, Liam Gibbs wrote:
> > Are you able to do an nslookup of these domains from the server?
>
> Those, of course, were just example email addresses (I'd replaced
> them before sending out this email so it would be more clear).
> If I use a real email address I get the sa
Folks:
On Thu, Jul 04, 2002 at 11:05:38AM -0400, Analysis & Solutions wrote:
> On Thu, Jul 04, 2002 at 01:44:00PM +0100, Mark Colvin wrote:
> >
> > > value='New' onClick="this.form.action='newproduct.php?mode=new';
> > this.form.submit()">
>
> And then folks with Java'sCrap turned off won't u
> Are you able to do an nslookup of these domains from the server?
Those, of course, were just example email addresses (I'd replaced
them before sending out this email so it would be more clear).
If I use a real email address I get the same error "unrouteable mail
domain"
I am able to nslookup t
I dont think forms can be nested. In fact I'm pretty sure.
Mark Colvin wrote:
>I use the following line in some of my php scripts to navigate between
>pages:
>
> value='New' onClick="this.form.action='newproduct.php?mode=new';
>this.form.submit()">
>
>The problem I have is with a page I build dy
None that I know of. You need to use copy & unlink
Tim Stoop wrote:
>Marek Kilimajer wrote:
>
>
>
>>rename can "move" the file only on the same partition, it is realy just
>>_rename_, not full _move_
>>
>>
>
>So there is no full-features move in PHP?
>
>
>
--
PHP General Mailing List
If the regexp matches, it is a valid email, so you need ! in front of it.
dan radom wrote:
>I've got a form that's posted to a php page where I'm attempting to validate a field
>contains a valid email address. The eregi below seems to be totally ignored...
>
> if (eregi("^[a-z0-9\._-]+@[a
Greetings.
I have two pages where I upload images to a database.
The first one is a "capture", where I insert a record to the database, and the second
is to edit the data.
The problem: When I go to insert, the following code works flawlessly:
But, if I do in another page (the same darn snip
Hallo Folks
I have come across this problem many times... But still haven't
seen anyone give a reasonably coherent solution... I am trying
to get my script to read Paradox Tables... Its a no go so far...
I do believe that this can be achieved via. odbc... I have tried
the configurations but h
On Thu, Jul 04, 2002 at 01:44:00PM +0100, Mark Colvin wrote:
> I use the following line in some of my php scripts to navigate between
> pages:
>
> value='New' onClick="this.form.action='newproduct.php?mode=new';
> this.form.submit()">
And then folks with Java'sCrap turned off won't use your si
On Thu, Jul 04, 2002 at 08:48:26AM -0300, Skyhawk wrote:
> Please, How do I make to get all errors of MySql ?
>
> I'm making a function for translate all errors. Example:
Uh, why? PHP's mysql_error() does the job for you.
http://www.php.net/manual/en/function.mysql-error.php
If you're hell ben
Hi All,
My query (below) has been solved. Thanks to all who responded so quickly!
Putting single quote marks around 'Colour and Imaging Institute' did the trick.
DAniel
Hi,
I'm gleaning microsoft SQL from queries within a MS Access database, for insertion
into my PHP pages. This has been w
Patrick:
Grouping and sorting is something databases specialize in.
--Dan
--
PHP classes that make web design easier
SQL Solution | Layout Solution | Form Solution
sqlsolution.info | layoutsolution.info | formsolution.info
T H E A N A L Y S I S A N D S
You probably shoul start here: http://www.php.net/manual/en/zend.php
/Joakim
> -Original Message-
> From: adelpfephp [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 04, 2002 4:34 PM
> To: php-france; [EMAIL PROTECTED]
> Subject: [PHP] extension problem
>
>
>
>
--
PHP General Mail
On Thu, Jul 04, 2002 at 11:01:50AM +0100, Ford, Mike [LSS] wrote:
>
> I can't let this go unchallenged -- what happens if you're sending this to a
> browser which *doesn't* honour the "Location: " header, but *is* capable of
> displaying any attached page content? The poor user wil
My main cnocern at this point is that the eregi is being totally ignored. I just want
to make sure the email address is in a valid format, not that it is a valid email
address. I'll look at validEmailFormat as well, but I don't understand why it's not
even being examined.
dan
* Justin Fren
Hiyas :)
I'm having a problem with the code copied below not creating the cookies
that it should do;
setcookie("loggedInUID",$_POST['uname'],ms_cookie_time((time()+120)),'/',
$cookie_base);
setcookie($_POST['site_id'],$_POST['ucaps'],ms_cookie_time((time()+120)),'/'
, $cookie_base);
Basically
Dan,
I'll give you a little piece of advise that was given to me a little while
back on this list:
Go to http://www.killersoft.com/ and grab a copy of the validateEmailFormat
program.
PHP4 translation of Jeffrey E.F. Friedl's definitive Email Regex Program
from O'Reilly's Mastering Regular Exp
Latex Master wrote:
> Hello Tim,
> Tim why don't you try shell_exec ?
As a last resort, I might, but I'd rather do it in PHP... Code-portability,
y'know :)
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
> rename can "move" the file only on the same partition, it is realy just
> _rename_, not full _move_
So there is no full-features move in PHP?
--
Kind regards,
Tim
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Take a look at this class. I think thats what you want !
> Help
>
> I'm a newbie to indepth PHP.
>
> I want to issue an fsockopen command to pass a POST data set to a remote
server script.
>
> I understand the pricipals behind fsockopen, but I cannot figure out the
string I need to pass to POST t
HI,
How to send atashments with mail() function?
I have a form to mail page, and i want to atash and transmit files
tx
Hi all
I am working with php on linux.
I want to create dynamic library and use it in php.
For example:
I have to built this
#include
char* aa(){
return "true";
}
I succeed to compile this into a dynamic library x.so.
When I try to call this from php I get
Cannot load x.so. may be n
I've got a form that's posted to a php page where I'm attempting to validate a field
contains a valid email address. The eregi below seems to be totally ignored...
if (eregi("^[a-z0-9\._-]+@[a-z0-9\._-]+$", $emp_email)) {
echo "please enter a valid email address";
It's the right approach, but since you're dealing with large amounts of
user-contributed (untrusted, dangerous, suspicious, whatever) data both to
create the forms AND to gather information from form submissions, I'd be
very wary about security.
Infact, I wouldn't recommend it for a first project
thanks for your help
I have tested that everything works, valid handles, returned method values,
etc.
Line 23 is the dbase_add_record line. Do you know of anywhere there may be
an example
thanks Labhras
"Miles Thompson" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTE
You need to install php-mysql* too.
Jadiel Flores wrote:
>Hi, I installed php and mysql today and I'm trying to use phpMyAdmin but
>I'm receiving the error message:
>cannot load MySQL extension,
>please check PHP Configuration.
>
>I checked the php.ini and couldn't find anything related, my conf
I'm trying to develop a software package for end users with no knowledge of
PHP. The package would allow these users to generate Web pages displaying
a custom questionnaire to be used by consumers to answer questions online.
I thought of writing a PHP script that asks the end users the type of
Hi friend,
I want to trigger one java script function ( time delay) every time.
How can I achieve this?
Here my questuion is: I want to play all song files from my database.
Here what I do is initially I display one button "PLAY" and then call
java script delay function and it has to come back
Thanks for all the responses.
C.
> -Original Message-
> From: César Aracena [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, July 03, 2002 1:36 PM
> To: PHP General List
> Subject: [PHP] Other than substr
>
> Hi all.
>
> I need to show up some data from a DB which consist of phone numbers
Hello Daniel,
Try to use a query line like below:
WHERE (((ExamPapers.School)=\"Colour and Imaging Institute\") AND ((ExamPapers.[Add to
Webpage])=True));
And let us know it it will work
Thursday, July 4, 2002, 5:21:50 PM, you wrote:
DJOM> Hi,
DJOM> I'm gleaning microsoft SQL from queries wit
rename can "move" the file only on the same partition, it is realy just
_rename_, not full _move_
Marek
Tim Stoop wrote:
>Hi people,
>
>I want to move a file from one location to another. I expect I can only do
>this with 'rename', because there's no 'move'-command (at least nog in the
>
Hello Tim,
Tim why don't you try shell_exec ?
Thursday, July 4, 2002, 5:03:34 PM, you wrote:
TS> Hi people,
TS> I want to move a file from one location to another. I expect I can only do
TS> this with 'rename', because there's no 'move'-command (at least nog in the
TS> manual). Following situ
Hi,
I'm gleaning microsoft SQL from queries within a MS Access database, for insertion
into my PHP pages. This has been working fine but the example below just refuses to
work,
SELECT ExamPapers.EPaperID, ExamPapers.EPapersText, ExamPapers.[Title of Paper],
ExamPapers.Course, ExamPapers.Schoo
Hi people,
I want to move a file from one location to another. I expect I can only do
this with 'rename', because there's no 'move'-command (at least nog in the
manual). Following situation:
original file: /var/www/html/webfotos/tmp/thumb_phpibmGBF.jpg
with /var/www/html/webfotos being a symli
I use the following line in some of my php scripts to navigate between
pages:
The problem I have is with a page I build dynamically. The whole page is
encased in tags. In between these tags there are sections
echoed as a result of a databasse query. Each of these sections is a form.
After all
I hadn't noticed that. My php.ini was set to on, changing it to off gave the
warning.
Having changed:
xml_set_object($this->parser,&$this);
to:
xml_set_object($this->parser,$this);
Stops the warning and the parser works fine.
This is the class I'm using and it works fine:
class parse_words_xml
Php 4.2.1 - Apache 2.0.36 -Win98SE
This configuration works great, but when I try to upgrade to Apache 2.0.39 nothing
works.Even when I try php 4.3.0 it wont work.
My question is: Is there anybody out there who have tried to configure php 4.2.1 or
4.3.0 with Apache 2.039 and Win98SE?
Please t
Hello Patrick,
Try to look at hotscripts.com there are lots of scripts there.
Personally i prefer to write ones by myself.
Thursday, July 4, 2002, 3:31:20 PM, you wrote:
PT> Hey,
PT> I'm wondering if anyone has found or ended up writing something similar to
PT> the MSWC AdRotator obj
Hello php-general,
I've got a little question about imap_headers. I working on a
project which must connect to local nntp server. I have no problems
doing it, but as far as I know from documentation Imap_headers()
fetches msg headers in to the arrey. So let's say I've got 5000 post
in t
I'm pretty sure you'll find what you are looking for here:
http://www.hotscripts.com/PHP/Scripts_and_Programs/Ad_Management/
/Joakim
> -Original Message-
> From: Patrick Teague [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 04, 2002 1:31 PM
> To: PHP-General
> Subject: [PHP] AdRotator
1. Please don't cross post.
2. Which line is #23?
3. Have you tested to ensure that you have a valid handle? ($db_num)
4. Have you tried adding error code to see the result of dbase_create(),
dbase_open()
5. I seem to remember reading in the docs, a long time ago (2 yr) that the
dbase functions
On Thu, Jul 04, 2002 at 01:24:04PM +0200, Grant wrote:
> My question is how do I go about calculating the correct Content-Length for
> each and every php page on my site.
>
> I have done some digging and presume I need to do "Output buffering" and
> calculate the strlen of the response the php re
Please, How do I make to get all errors of MySql ?
I'm making a function for translate all errors. Example:
function TranslateErrors($err)
{
global $result;
global $text;
Switch ($err)
{
case 1045 :
$text = "User or Password invalid";
Break;
case 2005 :
> This thread has been up before, but there was never sent a reply to it,
> and I'm having the same problem
Just idea.
If you doesn't have GD installed and php error reporting turned off
this situation is possible.
In other words php simply dies because of undeclared function and
doesn't repor
Hey,
I'm wondering if anyone has found or ended up writing something similar to
the MSWC AdRotator object in ASP, but for PHP? Or is there already a module
on apache.org that I missed?
Thanks for any help :)
Patrick
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hi I need to use PHP (ver 4 windows) to add a record to a dBase iv database.
I can create, open, read and close a database but when I try to add a
record I always get the following error:
Warning: unexpected error in C:\php\phpstuff\addTest1.php on line 23
Here is the code [shortened] that I u
Hey,
I'm working on a way to pull menus/pages from a database. Currently I have
this working on 2 levels - Topic headers & actual page titles - & it prints
it out fairly nice & doesn't take long to load. What I need to do is add a
level between the 2, a sub-header.
I'm running both the apache
Hi
I am currently having problems with a custom written
web-authentication-proxy. The proxy works fine with standard html pages but
not with php pages. After doing a bit of digging I have found that the
proxy does a HEAD request and checks the Content-Length to see if the page
if valid.
I have
Hi Balaji
Have re-written the code now works.. two problems:
1. checkall() appears to be a reserved function - have renamed function to
checkitall
2. You didn't need to put [] after OptionList in checkbox name
function checkitall()
{
var n=0,i=document.form1.OptionList.length;
while(n
I am setting up PHP on WinXP Pro with IIS 5.1.
I tried to start the IIS server and I get an "Unexpected error 0x8ffe2740
occured." error.
Anyone know how to resolve this problem?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi friend,
sorry for putting this question to php-list.
Here I am getting the error as "Object doesn't support this property or
method" in line number 22.
function checkall()
{
var n=0,i=document.form1.OptionList.length;
while(n
This is a nice easy one :)
It couldn't be simpler.
Just put empty square brackets (as used in arrays) in front of your
checkbox name.
The example below assumes you have PHP 4.1 or greater (which uses
$_POST to contain form posted data)
notice how name="ck[]"
Untitled
".$varval."")
Wilbert Enserink wrote:
> Later on in my script I'm calling the value of this column with php.
> $query="select * from tblA LEFT JOIN ";
it's been said over and over :) NEVER EVER write a select * query...
use syntax
Select
a.column1,
a.column2,
b.column1
from
tbl1 as a,
> -Original Message-
> From: Tom Beidler [mailto:[EMAIL PROTECTED]]
> Sent: 03 July 2002 21:41
>
> For the current issue I'm trying to unset some variables with
> common names
> and I would like to step through them with a loop. Here's
> where I'm at to
> give you an idea but the code d
> -Original Message-
> From: Richard Lynch [mailto:[EMAIL PROTECTED]]
> Sent: 03 July 2002 21:17
[...]
>
> It's a good idea to get in the habit of doing:
>
> header("Location: xxx");
> exit;
>
> There's no point in sending any more data after the Location:
> header anyway,
I can't
thx Jason,
now I understand the use of aliases in select queries.
Good ID:-)
Wilbert
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 04, 2002 11:38 AM
Subject: Re: [PHP] mysql/php how to retrieve the right column with 2 columns
> -Original Message-
> From: Scott Fletcher [mailto:[EMAIL PROTECTED]]
> Sent: 03 July 2002 20:58
>
> Still working on the script. Here what I found out so far.
> Why does the
> example #1 work and example #2 doesn't?
>
> Example #1
>
> Page 1
>
> $_SESSION[0] = "Zero";
>
> $_SESSION
Hi Uwe,
If you define the checkbox list as an array (OptionList[] in the example
below), only the checked values will be returned as an array $OptionList
when you post the form. You can then use this as an array or pass it as an
array to a function in the script:
";
$i++;
On Thursday 04 July 2002 17:23, Wilbert Enserink wrote:
> Hi all,
>
>
> I have to tables A and B.
> They boyh have a column with the same name.
>
> Now, I wrote this MySQL statement performing a left join.
> This results in a data set with rows consisting of 2 columns of the same
> name, in which
Hi All,
I'm currently working with a friends that want to use irc protocol at
his work cause there is only http proxy.
so it is very easy, i found phpIRC and everything works fine...He is
very happy
i've just seen that some process are always connected. this is really
weird. so i started to
Hello Richard, PHP,
Well I did a typo here. Sorry about it. At that moment i was
really nuts, and needed a rest. Now I solved that problem, but only
after UPDATING PHP from 4.0.6 to 4.2.1 And shell_exec worked. Exec
didn't :( I'm going to investigate this question in the future.
Thank's for
Hi all,
I have to tables A and B.
They boyh have a column with the same name.
Now, I wrote this MySQL statement performing a left join.
This results in a data set with rows consisting of 2 columns of the same name, in
which the date is stored when the record was last altered. This column is ca
Hello,
At the moment I have a PHP script which accesses a database, to
get the data to return a picture. So the follwing url is actually a
picture of type image/jpeg:
getdata.php?id=6
So I can use:
Thats great and it works fine, but I feel that it does
hi
I have an extension problem.
i have wrote this exemple
#include...
char* xx(){
return "true";
}
it's a simple example.
I have compiled it into .SO dynamic library.
when I try to load it into PHP i get this message
cannot include .(may be not php extension).
CAN YOU HELP ME PLEASE.
This thread has been up before, but there was never sent a reply to it,
and I'm having the same problem
Anyone who knows what to do?
Sincerely
Victor
> -Original Message-
> From: Kris Johnson [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, June 01, 2002 11:11 PM
> To: Leotta, Natalie (N
Uwe Birkenhain wrote:
> Hi everybody on this rainy morning!
Rainy!? It's damn hot in Kiev :)
> My problem:
> I give the user a form with a list of options with checkboxes.
> The list is long and not predictable - the values change always.
> I want to put the checked values (or all, that doesn't
On Thursday 04 July 2002 16:52, Uwe Birkenhain wrote:
> Hi everybody on this rainy morning!
>
> My problem:
> I give the user a form with a list of options with checkboxes.
> The list is long and not predictable - the values change always.
> I want to put the checked values (or all, that doesn't m
1 - 100 of 108 matches
Mail list logo