Hello all,
I have an issue with an application I have developed that has Macromedia
Director interfacing with MySql via PHP. I am told by our legal
representation that under the PHP license agreement, the PHP html source
code must be available. It was my understanding that only the compiler
sou
have you tried printing them out with surrounding characters, like
echo 'row8=(',$row[8],') LOGINNAME=(',$LOGINNAME,')';
to see if there are leading or trailing spaces?
On Mon, 19 Aug 2002, Pafo wrote:
> heh,, is it just me or can anyone see whats wrong with this code...
>
> $query = "SELECT
oops again, please ignore my last two posts :(
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 3:38 PM
To: 'Pafo'; [EMAIL PROTECTED]
Subject: RE: [PHP] php string match problem
oh, just realised, one of them needs to go below the "else" li
oh, just realised, one of them needs to go below the "else" line, to end the
"while" loop
-Original Message-
From: Martin Towell [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 3:37 PM
To: 'Pafo'; [EMAIL PROTECTED]
Subject: RE: [PHP] php string match problem
You've got too many
You've got too many closing braces...
if ($temp == $temp2) {
$ierror = "Loginnamnet är redan upptaget!" . $ierror; } <--- Here's
one
} <--- Here's
the other
} else { print "error"; } <--- And a
third
heh,, is it just me or can anyone see whats wrong with this code...
$query = "SELECT * FROM logininfo WHERE loginname = '$LOGINNAME'";
if ($result = mysql_query($query)){
while ($row = mysql_fetch_row($result)){
$temp = $row[8];
$temp2 = $LOGINNAME;
if ($temp == $temp2) { <-- this d
Roman,
Please direct your question to the list, no to me personally. When I have
time on the list, I answer what I can... if I start answering questions off
list:
a) others don't benefit
b) others can't join in
c) I consider it a billable, personalised service to you
Parsing HTML is pretty co
Hi all,
I have set the max_execute_time in php.ini to 300 (5 mins).
And i found that if my script have a infinitely loop( caused by careless
programming),
the script still executing even 5 mins is passed and uses up all my cpu
resourse.
Even i "stop" and close the browser, the script seen still r
On Sat, 17 Aug 2002 20:10:02 -0700
"Roger Lewis" <[EMAIL PROTECTED]> wrote:
> My problem is how do you create the variable, $to, from the MySQL table so
> that it contains all of the addresses separated by commas.
Daren Cotter [mailto:[EMAIL PROTECTED]] responded
Saturday, August 17, 2002 8:42
On Monday 19 August 2002 07:23, eriol wrote:
> I understand that PHP will retain the file in a temporary directory (/tmp/)
> until it is stored to the path I've specified (/uploaded/), but I don't
> understand how to get it to print the new file name within the email it
> sends to me.. Currently,
set_time_limit()
-Original Message-
From: Jason Wong [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 19, 2002 12:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Resetting the timeout
On Monday 19 August 2002 10:06, Mike Mannakee wrote:
> Is there any way to set the timeout (max length of
On Monday 19 August 2002 10:06, Mike Mannakee wrote:
> Is there any way to set the timeout (max length of time the script has to
> execute) from within a script, just for its own execution?
ini_set()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integr
Is there any way to set the timeout (max length of time the script has to
execute) from within a script, just for its own execution?
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
php-general Digest 19 Aug 2002 01:31:13 - Issue 1533
Topics (messages 113133 through 113168):
Sort multidimensional array using Natural-Order
113133 by: Hessu
113135 by: Hessu
Re: Help needed about queries with MySQL, thanks.
113134 by: Craig Vincent
113136
Hi All,
I have an XML file. I want to display a count of unique record(surname, forename)
using XSL. In the below example there are 3 records out of which 1 is duplicate in
that case I want to display using XSL [Total = 2]
This is my xml file
--
Coates
Arnold
T
The following is the partial source for an upload form.. I'm having trouble with
the mail() function including the actual file name the user is sending instead
of "/tmp/phpIkRjHq"..
I understand that PHP will retain the file in a temporary directory (/tmp/)
until it is stored to the path I've spe
Try
Select blah from blah where blah like '$letter%'
% is wildcard after first letter
Regards.
---
Chris Kay
Technical Support - Techex Communications
Website: www.techex.com.au Email: [EMAIL PROTECTED]
Telephone:
Tony,
> How would I go about selecting rows from a MySQL table where the first
> letter of a certain field is $letter ?
Depends upon the MySQL tbl's schema.
The MySQL online manual discusses wildcards (full text).
Alternatively see LEFT() and other string functions that can be used in
SELECT an
How would I go about selecting rows from a MySQL table where the first
letter of a certain field is $letter ?
--
-
[EMAIL PROTECTED]
http://www.cool-palace.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
Hi Roman,
> But on those phpbuilder's page there are also similar questions but
answered
> scripts don't work, for example:
> ...
> preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,$ar);
>...
> I really don't know :(
There's definitely something wrong with the RegEx above. The string
comme
Thanks Rasmus.
On Sunday 18 August 2002 02:37 pm, you wrote:
> usort(), uasort() or uksort(). uasort() has a nice little example in the
> user comment.
>
> On Sun, 18 Aug 2002, Evan Nemerson wrote:
> > I have an array that looks like
> >
> > $array = Array(
> > Array($var1, $var2, $var3),
For a list of common system variables, refer to:
http://cs-people.bu.edu/stevec/cs101/02s/php5_system.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
take a look at $QUERY_STRING. If that's not what you want, you should be able
to find something in phpinfo();
On Sunday 18 August 2002 02:53 pm, you wrote:
> is there some way to save all the info that is after the .php? in a var?
> need that for a function on my page, but I have no idea what t
>From reading your post, I believe you've successfully gotten the file upload
to work and now you're interested in using uploaded files (but with smaller
dimensions) on your webpage. What you'll need to do is create a separate
file named resize.php which includes only the following code.
On your
is there some way to save all the info that is after the .php? in a var?
need that for a function on my page, but I have no idea what to look for
Håkan
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi Mat,
I would not please for help if I would not read those texts. Of course I've
read them both.
But on those phpbuilder's page there are also similar questions but answered
scripts don't work, for example:
$text="http://aaa\";>ttrtert";
preg_match_all("|href=\"?([^\"' >]+)|i(+[ >])", $text,
usort(), uasort() or uksort(). uasort() has a nice little example in the
user comment.
On Sun, 18 Aug 2002, Evan Nemerson wrote:
> I have an array that looks like
>
> $array = Array(
> Array($var1, $var2, $var3),
> Array($var1, $var2, $var3),
> Array($var1, $var2, $var3)
> );
I have an array that looks like
$array = Array(
Array($var1, $var2, $var3),
Array($var1, $var2, $var3),
Array($var1, $var2, $var3)
);
I want to sort the arrays within $array by $var3 (although if it helps i can
easily change that to $var1). $var1 and $var2 are strings, $
Look up Regular Expressions. Basically they allow you to search out
matches in strings such as and any variable amount of letters
between the open and closed tags. So you'd need to read in the entire
file into a string, chop out all the pesky page returns ('\n') and then
run your function using
I think there is no message about the same idea.
I would need to parse html file and get all within href="" or href=''.
So I don't want to get all texts which could be links, but only content of
href variable within tag.
Is there any easy way ? I have read hundreds of messages in this list toda
www.squirrelmail.org
--
Dan Hardiker [[EMAIL PROTECTED]]
ADAM Software & Systems Engineer
First Creative Ltd
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Sun, Aug 18, 2002 at 08:54:45PM +0200, Andy wrote:
> Horde is really great. I can definatelly recommend it to.
>
> But why not stick with sendmail? It does a great job and is easier to
> install with horde.
>
> Andy
>
Try http://www.openwebamil.org .
>
> --
>
Horde is really great. I can definatelly recommend it to.
But why not stick with sendmail? It does a great job and is easier to
install with horde.
Andy
--
--
http://www.globosapiens.net
Worldwide Travel Community
"Met" <[EMAIL PROTECTED]> schrieb
IMP and SquirrelMail both do the job for me.
IMP = http://www.horde.org/imp/
SquirrelMail = http://www.squirrelmail.org/
~ Matthew
-Original Message-
From: Chill [mailto:[EMAIL PROTECTED]]
Sent: Sunday, August 18, 2002 2:35 PM
To: [EMAIL PROTECTED]
Subject: [PHP] W
Can anyone recommend a good Web-Based Mail System for php? I know
that there are a few out there but I was wondering which was the best
(and easiest to setup)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
True. But I think you missed the point of the original question--there's no
"non-web directory"...
- E
>
>To take it to another level, place the PHP file you
>are including in a non-web directory. That way, just
>in case the web server mucks up, there's no chance of
>PHP outputting the contents
I receive the following error msg when trying to load a php page:
"This PHP CGI binary was compiled with force-cgi-redirect enabled..."
So, I have changed the php.ini file in both c:\windows and c:\php to no avail. The
same error msg is given.
Any suggestions would be greatly appreciated!
J
Hello,
I got some great help from this newsgroup a few days ago, and I'm 90%
complete with my project, but I have one snag. I'm building a web page that
allows a business to import pictures of their products and then display them
on their page along ith other information.
My problem is getting
Hello all,
I receive the following error msg when trying to load a php page after
installing php and a web server on XP home:
"This PHP CGI binary was compiled with force-cgi-redirect enabled..."
So, I have changed the php.ini file in both c:\windows and c:\php to no
avail. The same error msg
this line is only for debugging: print $val
located within these tags in startElement
case "NAME": $da_relicname=$val;print $val;break;
case "TYPE": $da_relictype=$val;break;
"Pafo" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> i was almost done with
i was almost done with everything :) and ofcourse i find a problem with
the xml parser...
the parser is not collection some vital information, and i dont know why...
the xmlsite is: http://www.camelotherald.com/xml/servers.xml
the problem is market with a <-- :
1707
Up
-
<
Well, I'm not sure if this is what you're looking for but... if you name the
file with a .php extension (instead of .txt or .inc) then your password is
"protected".
For example, you have a password declared like this:
$my_db_username = 'MyUserName';
$my_db_password = 'MyPassWord';
And it'
now it works, thx alot :)
regards
patrick
"Jason Wong" <[EMAIL PROTECTED]> skrev i meddelandet
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> On Sunday 18 August 2002 12:25, Pafo wrote:
> > anyone that can find the problem..?
> > description below.
>
>
>
> > function PrintInfo() {
> >for (
Hi everybody:
I am trying to switch register_argc_argv to on. So I did edit php.ini
located where phpinfo() told me. I switched it to on and uncommented the
line. Then I restarted apache.
phpinfo() still tells me that the fallue is off.
What am I doing wrong? Can anybody give me a hint on how t
How can I protect my username and password for my connection
with a mysql server. I can't place a file outside the root by the
provider I use.
Thankx
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Same here... Even though allot of people say it's not necessary...
- Original Message -
From: "Carsten Mohr" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, August 18, 2002 5:22 PM
Subject: [PHP] Re: Help needed about queries with MySQL, thanks.
> Hallo,
>
> I don't know if it
Hallo,
I don't know if it helps you, but normally you have to quote the
variable in the SQL-Statement like:
SELECT * FROM sessions WHERE sessionID = '$sessionID'
Otherwise I always get an SQL-Error
Jean-Marc Godart wrote:
> Hello everyone,
>
> I am a new PHP user, from Belgium. I am trying to
Hi,
I have following filename/date array
Array ( [0] => Array ( [0] => 1.jpg [1] => 10.jpg [2] => 11.jpg [3] =>
12.jpg [4] => 2.jpg [5] => 3.jpg [6] => 4.jpg [7] => 5.jpg [8] =>
6.jpg [9] => 7.jpg [10] => 8.jpg [11] => 9.jpg ) [1] => Array ( [0] =>
1026502301 [1] => 1026502312 [2] => 1026502313
> I have a MySQL database (called "sessions") with a auto-increment
> INT field called "sessionID". I try to check if there is already
> a record in this database with a given sessionID, which is called
> $sessionID in PHP. I use this query, which must be wrong (but I
> cannot find out why !!!) :
Hi,
I have following filename/date array
Array ( [0] => Array ( [0] => 1.jpg [1] => 10.jpg [2] => 11.jpg [3] =>
12.jpg [4] => 2.jpg [5] => 3.jpg [6] => 4.jpg [7] => 5.jpg [8] => 6.jpg [9]
=> 7.jpg [10] => 8.jpg [11] => 9.jpg ) [1] => Array ( [0] => 1026502301 [1]
=> 1026502312 [2] => 1026502313 [
php-general Digest 18 Aug 2002 11:43:43 - Issue 1532
Topics (messages 113097 through 113132):
Re: preg_match help?
113097 by: Bas Jobsen
113098 by: vic
113099 by: vic
113115 by: Jason Wong
How Can I Generate an Email List from a MySQL Table
113100 by
Hi,
I have following filename/date array
Array ( [0] => Array ( [0] => 1.jpg [1] => 10.jpg [2] => 11.jpg [3] =>
12.jpg [4] => 2.jpg [5] => 3.jpg [6] => 4.jpg [7] => 5.jpg [8] =>
6.jpg [9] => 7.jpg [10] => 8.jpg [11] => 9.jpg ) [1] => Array ( [0] =>
1026502301 [1] => 1026502312 [2] => 1026502313
Hello Guys
I has FreeBSD4.3
I need help how install PHP under Apache2.0.35
when i compile PHP with apxs module support Apache say's
Cannot load /usr/libexec/modules/libphp4.so into
server: /usr/libexec/modules/libphp4.so: Undefined symbol "pthread_getspecific"
I'm the begginer in Unix.
Please i
On Sunday 18 August 2002 17:59, Jean-Marc Godart wrote:
> Thanks for your suggestion ... Yes, I tried to print $sessionID (using
> echo()) and I get the right value (the one I am looking for) ... Though the
> query does not work. Any other idea ??? Thanks again !
Please post your code so we can h
Thanks for your suggestion ... Yes, I tried to print $sessionID (using
echo()) and I get the right value (the one I am looking for) ... Though the
query does not work. Any other idea ??? Thanks again !
Jean-Marc
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL
On Sunday 18 August 2002 17:45, Jean-Marc Godart wrote:
> I have a MySQL database (called "sessions") with a auto-increment INT field
> called "sessionID". I try to check if there is already a record in this
> database with a given sessionID, which is called $sessionID in PHP. I use
> this query,
Well, you're going to have limitations with passing things around in a URL.
You need to post your JS function to comp.lang.javascript, and ask them how
to modify the script so that it POSTs the form data to the new pop-up
window.
Justin French
on 18/08/02 7:44 PM, Mantas Kriauciunas ([EMAIL
Hello everyone,
I am a new PHP user, from Belgium. I am trying to manage a MySQL database with PHP,
and I kindly request your help to solve a little (probably very stupid) problem I have
been dealing with for a while already ...
I have a MySQL database (called "sessions") with a auto-increment
> I just had a massive open house party...
>
> Is it possible to write a PHP script to collect all the bottles and
> cans, mop the floor, fumigate the carpet and make me lunch?
PHP is all. You need.
--
Julio Nobrega
Pode acessar:
http://www.inerciasensorial.com.br
"Liam Mackenzie" <[EMAIL PR
I just wrote something exactly like this today:
function news_window (headline_str)
{
var headline_link = "/story.asp?headline=" + escape(headline_str);
window.open(headline_link,'','scrollbars=yes,resizable=yes');
}
Now, if I needed to pass along more variables, I'd just add them to the
news_
Sometimes the easiest solutions are the best!!
http://web.icq.com/whitepages/online?icq=51362125&img=21";>
Courtesy of the ICQ site :)
Justin French
on 18/08/02 5:06 PM, Justin French ([EMAIL PROTECTED]) wrote:
> Has anyone built, or partially built an interface to ICQ?
>
> I'm not nec
Hello Justin,
i don't think that this thing will pass 300 simbols successfuly
i take $nw_text from and i need to pass it to pop-up (other
window) there it will generate preview of that text with some stuff...
but i need to pass also 2 more ...so total is 3 things...one text and
other ones is jus
62 matches
Mail list logo