Dave wrote:
I am setting up downloads.ca so as to be like downloads.com I need to be
able to upload files several gigs in size
Dave
Dave :
Don't top post.
FTP is what you need to "upload files several gigs in size"
--
Burhan Khalid
phplist[at]meidomus[dot]com
http://www.meidomus.com
--
PHP Gene
[snip]
Warning: Cannot modify header information - headers already sent by
(output
started at /home/ewako/public_html/cintadp/config.php:153)
in /home/ewako/public_html/cintadp/mod/forum/forum_functions.php on line
547
help me!!!
[/snip]
Stop sending headers And send a little code
--
PHP
[EMAIL PROTECTED] wrote:
Warning: Cannot modify header information - headers already sent by (output
started at /home/ewako/public_html/cintadp/config.php:153)
in /home/ewako/public_html/cintadp/mod/forum/forum_functions.php on line 547
help me!!!
Output has been sent to the browser before you tri
aiwi> Warning: Cannot modify header information - headers already sent by (output
aiwi> started at /home/ewako/public_html/cintadp/config.php:153)
aiwi> in
aiwi> /home/ewako/public_html/cintadp/mod/forum/forum_functions.php on
aiwi> line 547
aiwi> help me!!!
Check there are no spaces or newlines
look at the html code, this is no problem related to php, but the HTML.
Hope that helps
Nitin
- Original Message -
From: "3mip1s4la/Nath/Pisanty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, February 21, 2004 7:24 AM
Subject: [PHP] HELP PLEASE!
> this is my first post, s
Hello ajay,
Sunday, February 22, 2004, 7:57:21 PM, you wrote:
a> hi!
a> i have a class called DB that i include in a page as include(classes/DB.php);
a> however when i run this page i get an error saying
a> Warning: main(/home/bikkar/public_html/ajay/classes/DB.php): failed to open
a> stream: No s
hi!
the code is
print_header();
printf("");
$page->print_banner();
$page->print_menu();
$db = new DB("localhost", "usydbasketball", "", "");
$query = "SELECT * FROM updates ORDER BY ID DESC";
thanks
ajay
Quoting adwinwijaya <[EMAIL PROTECTED]>:
> Hel
Tomar Rajeev (ext) wrote:
Hello All,
I am a new member of this group and in the world of PHP;-)
and I guess to mailing lists in general too. You should give a hint
about your problem in the subject.
In my company, around 12 web pages are there. So, I want to make a web
portal in PHP from wher
I think u have to go for
http://www.w3schools.com
Thnx for joining the group
Ankur Dave
Quoting "Tomar Rajeev (ext)" <[EMAIL PROTECTED]>:
>
> Hello All,
>
> I am a new member of this group and in the world of PHP;-)
>
> In my company, around 12 web pages are there. So, I want to make
Tomar Rajeev (ext) wrote:
> I am a new member of this group and in the world of PHP;-)
>
> In my company, around 12 web pages are there. So, I want to make a web
> portal in PHP from where all these web pages can be accessed.
>
> Also, I want to provide the link for the web pages ( will make th
[snip]
Thanks guys for any help troubleshooting this.
[/snip]
Is the drive full? Enough memory? An unusual number of connections? Any
other applications added to the system? what do you see when you run
top? Have you looked at a MySQL process list?
--
PHP General Mailing List (http://www.php.net/
I would check what hitting the machine from the network. At the most
basic level, just try "netstat 1" on the command line. Also try iostat
1 to see what load the machine has. It may not be PHP or Apache but
something else, maybe a denial of service attack.
On Jan 13, 2005, at 10:02 PM, Brent C
On Thu, 2005-02-17 at 19:11 +0530, K Karthik wrote:
> > can u help me to use $_SERVER['remote_addr'] to find the IP address ?
> > i am new to php. i also want to find what page of my site he is viewing ?
>
print_r($_SERVER);
what do you see?
--
/***
* Robb
http://www.php.net/date
On Fri, 18 Feb 2005 12:07:14 +0530, K Karthik <[EMAIL PROTECTED]> wrote:
> i am so surprised for the immediate reply.thank you so much.
> i'll be thank ful again if you could help me finding the current date
> and time using php.
> thanks,
> karthik
>
> --
> PHP General M
K Karthik wrote:
> i'd like to get a date from my database(mysql).and then show a combobox
> of calendar(date-month-year) with the retrieved data selected.
> can you help me doing this?? am new to php.
http://www.google.com/search?q=PHP+date+combobox
--
Like Music?
http://l-i-e.com/artists.htm
This is how I would do it, don't know if it is the best way.
A. get the date out of the database
Let's say $maindate is that date you retrieved from the database
B. split up the date into several parts for day month and year The day as a
number (dd):
$day=date ("j", strtotime($maindate));
The mo
"Conbud" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey, Im making a site to where I can fill out a form and it adds updates
to
> the main page, but I only want the site to display 5 updates on it, now I
> know how to make it only show 5 updates, but then that means when a new
>
On Fri, 29 Oct 2004 15:22:29 +0530, suma parakala
<[EMAIL PROTECTED]> wrote:
> I developed a html form in which I have text box and combo box. Now my
> problem is I have to pass the values of this page to another page. How can i
> pass the values/variables to next page using href
> Kindly hel
>
> Hi
> I developed a html form in which I have text box and combo
> box. Now my
> problem is I have to pass the values of this page to another
> page. How can i
> pass the values/variables to next page using href
> Kindly help me
> Thanks
> Suma
As you've posted to a PHP list I will assume
JUST FOR ALL OF YOU OUTTHERE TO KNOW...
the problem was that site had Frontpage 2002 extensions installed.
Incredibly enough, that was sufficient not to accept the files.
Thanks again to all that answered.
Vamp
"Jason Sheets" <[EMAIL PROTECTED]> escribió en el mensaje
news:[EMAIL PROTECTED]
>
Ok, well from the looks of it I've got it working, thanks to whoever
pointed out the conf.php.net archive of the slideshow. The sample files
from that slide work fine, but I can't get any of the other samples I've
snagged to work. Maybe they're what's broken, but I don't see how.
Now that th
> Was just wondering how to do the following:
>
> class Foo {
>
> var $bar = $foo; // causes parse error
> var $bar = "$foo"; // causes parse error
> var $bar = '$foo'; // works but $foo is not evaluated
>
> }
> ?>
>
> So how does one correctly assign a variable to a variable inside a class
witho
On Mon, 12 Feb 2001 20:11:14 -0800
Joe wrote:
JC>
JC> I was curious too, so I looked it up. Seems you can't. From
JC> http://www.php.net/manual/en/language.oop.php
JC>
JC> "Note: In PHP 4, only constant initializers for var variables are
JC> allowed. Use constructors for non-constant initia
> So how does one correctly assign a variable to a variable inside a class withot
>doing something like:
>
> var $bar = '';
> $this->bar = $foo;
>
That's how you have to do it.
class MyClass {
var $bar;
// This is the class's constructor
sub MyClass () {
On Mon, 12 Feb 2001 23:44:08 -0500 (EST)
Sean wrote:
SC>
SC> That's how you have to do it.
SC>
SC>
SC> class MyClass {
SC> var $bar;
SC>
SC> // This is the class's constructor
SC> sub MyClass () {
SC> $this->bar = $foo;
SC> }
SC> }
I didn't think php had sub routi
> SC>
> SC> That's how you have to do it.
> SC>
> SC>
> SC> class MyClass {
> SC> var $bar;
> SC>
> SC> // This is the class's constructor
> SC> sub MyClass () {
> SC> $this->bar = $foo;
> SC> }
> SC> }
>
> I didn't think php had sub routines like perl? shouldn't that be:
>
> function MyClass(){
>
On Mon, 12 Feb 2001 21:04:30 -0800
Joe wrote:
JC> Is this closer to what you were looking for?
JC> - Joe
JC>
JC>
JC> class Foo {
JC>
JC> var $bar;
JC>
JC> function mymethod(){
JC>
JC> global $foo;
JC> $this->bar = $foo;
JC>
JC> }
JC>
JC> }
JC>
JC> $foo = "hello world";
JC>
JC> e
you do this in the class constructor
class foo
{
var $bar;
function foo($fooval)
{
$this->bar=$fooval;
}
}
hope that helps
Ankur Verma
HCL Technologies
A1CD, Sec -16
Noida, UP
India
- Original Message -
From: "Joseph H Blythe" <[EMAIL PROTECTED]>
To: "php-general" <[EMAIL
You can allso do this:
//foo.class.php
class Foo{
var $bar;
function Foo($bar){
$this->bar = $bar;
}
}
//foo.php
include("foo.class.php");
$bar = "1234";
$foo = new Foo($bar);
//Now: $foo->bar = "1234"
Regards: Marcus Rasmussen
*** REPLY SEPARAT
on 2/13/01 12:04 AM, Joe Conway at [EMAIL PROTECTED] wrote:
>
> class Foo {
>
> var $bar;
>
> function mymethod(){
>
> global $foo;
> $this->bar = $foo;
>
> }
>
> }
>
> $foo = "hello world";
>
> echo "";
>
> $cls = new foo();
> $cls->mymethod();
> echo $cls->bar;
>
> echo "";
> ?>
Thi
I think you want the session_start() and session_register() calls at the top
of the script, not buried in your if() statements.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.c
Use the variable $REMOTE_ADDR. It contains the request ip address.
Jason
- Original Message -
From: "Bruno Freire" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 19, 2001 12:34 PM
Subject: [PHP] Help!! IP functions!!!
> Hi!!
>
> My name is Bruno, From Brazil!!!
Mensaje citado por: Bruno Freire <[EMAIL PROTECTED]>:
> Hi!!
>
> My name is Bruno, From Brazil!!!
>
> I need to know how can i discovery the ip address when somebody access
> my
> home page
>
> What function can I use
Bruno, check the phpinfo() function, which will give you lots of i
use
$HTTP_SERVER_VARS[REMOTE_ADDR]
Yev
>-Original Message-
>From: Bruno Freire [mailto:[EMAIL PROTECTED]]
>Sent: Monday, February 19, 2001 11:34 AM
>To: '[EMAIL PROTECTED]'
>Subject: [PHP] Help!! IP functions!!!
>
>
>Hi!!
>
>My name is Bruno, From Brazil!!!
>
>I need to know how can i
What do you mean flatlines? Does the solaris machine's CPU move to ~100%
utilization?
You might be hitting the automatic garbage collection. Use gstat -h to
watch your transactions states. Particularly the oldest transaction and the
oldest interesting transaction. By default an auto garbage c
Jan Grafström wrote:
>
> Hi!
> I am trying to change a filename this is my php:
> change $filename = "yourfile.php3.xml";
> to $filename = "yourfile2.php3.xml";
> ?>
> It doesn´t work do I need some more code to get it working, something
> like fopen?
>
> Thanks for any help.
>
> Regards
>
>
On Thursday 22 February 2001 08:57, Jan Grafström wrote:
> I am trying to change a filename this is my php:
> change $filename = "yourfile.php3.xml";
> to $filename = "yourfile2.php3.xml";
> ?>
> It doesn´t work do I need some more code to get it working, something
> like fopen?
Well, Use PHP i
On Tue, Feb 27, 2001 at 03:12:17PM +0700, Yamin Prabudy wrote:
> Hi there I had a problem here
> I got a database in mysql that contains the date format like this "Mar 12
> 2001"
> now i try to sort the database and find out how many data in my MySQL that
> had a date > "Mar 12 2001"
>
> how can
> What are the directives for the sprintf function to format an integer with
>
> commas (e.g.: 1,250,560)?
you don't mean commas but thousands' grouping???
if you want thousands' grouping it depends on your locale setting!
--cut--
For some numeric conversion a radic character (`decimal
po
consider using number_format, for example :
$formatted_number = number_format(1250560, 2); // 1,250,560.00
$formatted_number = number_format(1250560);// 1,250,560
regards,
Philip Olson
http://www.cornado.com/
On Sat, 3 Mar 2001, Anthony Rodriguez wrote:
> What are the directives fo
>Warning: Rename failed (Invalid cross-device link) in
>/usr/local/etc/httpd/htdocs/intranet/upload.php on line 26
In Un*x, you can't "rename" a file from one hard drive onto another.
That's what you are trying to do.
Change your use of rename() to be copy() instead.
--
Visit the Zend Store at
On Thu, 11 Jan 2001, Jesus Nava wrote:
> Hi everybody!!!
> I want to create a new database using a form to take the name of the database. For
>some reason I get "Couldn't create database". Can some body tell me what I am doing
>wrong...
>
> if (!$dname)
> {
> header("Location: http://loc
better use 'root' user or create a user with enough privilage to create
database
Jesus Nava wrote:
> Hi everybody!!!
> I want to create a new database using a form to take the name of the database. For
>some reason I get "Couldn't create database". Can some body tell me what I am doing
>wrong.
> Ive gotto format a date such as 30/12/1956 to format 30-Dec-1956,
> I can not use mktime cause that only provides the timestamp from 1970.
> Is there any other method of getting this right.
mktime() can be used for this. 0 is from 1970. Negative values are used
for dates prior.
Chris
$date = 30/12/1956;
$month = Array(1=>'Jan', 2=>'Feb', 12->'Dec');
// The array of month...
function date_format($date) {
Global $month;
$date = explode('/', $date);
// And it became to you an array...
return $date[0].'-'.$month[$date[1]].'-'.$date[2];
}
//will return 30-Dec-
Thanx
This should make live a bit easier :)
- Original Message -
From: "Niel Zeeman" <[EMAIL PROTECTED]>
To: "php gen list" <[EMAIL PROTECTED]>
Sent: Tuesday, January 16, 2001 7:46 AM
Subject: [PHP] HELP! Date formatting
Hi
Ive gotto format a date such as 30/12/1956 to format 30-Dec
When not explicitly set, a cookie works only for the domain where it was
originally set. That means that if the user visits your website using the
server IP address, he will receive a cookie that will not work when he uses
the domain name instead of the IP address. Therefore, I recomend you set th
> How is the sintaxe of this command
Like, a database rollback?
That depends on the database, not on PHP.
Something not unlike this:
$query = "rollback";
mysql_query($query);
Only I dunno if the mysql team has that new transaction stuff they bought
really integrated yet or not, much less
No idea dude, but I will bring the topic back to the top and some
all-knowledgable guru will hopefully help you *hint hint* :)
-Original Message-
From: Bruno Freire [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, 23 January 2001 3:01 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP] Help!!! MY ODBC
try,
$photos[] = $buffer; // without $i in brackets, this means append to the end of
the array
in the loop, maybe this helps.
- Original Message -
From: "tk" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: 2001. május 7. 19:37
Subject: [PHP] help with fgets
> hi.
>
> i'm try
On Monday 07 May 2001 19:37, tk wrote:
> when i echo $buffer to the screen it prints out hte content of hte file
> line by line
> if i echo $photos[i] to the screen it just prints out random numbers
> and not the content i'd expect
>
> (the code i'm using to do this is:
>
> $i = 0;
> while(!feof
On 17-May-01 Jack Sasportas wrote:
> OK I have asked the question before and not really gotten the answer, so
> I will re-word what I am trying to do.
> First I figured out that part of my problem may be how I am storing the
> date into mysql from php.
> Currently we are using the now() function
Make a recursive function which work on global var or on var passed on reference
function rec($parent_id, &$the_parent_array){
/// select name, theme_id from some_table where par_id=$parent_id;
while ($arr = mysql_fetch_assoc($res)){
$the_parrent_array[$arr['theme_id']]=array('nam
I think you can use a URL when you specify your value in the include
statement, can you not?
[EMAIL PROTECTED] wrote:
>Hi, I need some help with the include function.
>I have a phpBB script and want to put the config.inc.php file in a password
>protected directory, Easy peasy you might say, and
I have installed phpBB several times. Your problem should
not be the password protected directory.
The install.php script tries to wright into the config
file.
so, you have to chmod your file and give r/w access to
everybody.
once insallation is completed, then change it the was it
was originally.
Hi Erik,
> "$phone" is a 10-digit string.
> I would like the output to be
> $phone = "(555) 555-";
you don't need regex to do that.
just insert add "(" to the beginning of $phone,
add ") " to the 4th position,
and "-" to the 4th position from behind,
using substr_replace() function.
anyway
I haven't seen any RPMs for PHP.
However, I have installed using the source. It works
fine.
Try to install the CGI version first. That is easier.
Than, you could dive into the apache module stuff.
--- Juni Adi <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I'm new to PHP (actually I'm just about to
Juni,
Apache, MySQL and PHP are really well debugged when it comes to
installation, and I found installation from source easier than messing with
.rpms on RH systems and with dselect on Debian. The following article at
DevShed has really good instructions:
http://www.devshed.com/Server_Side/PH
On Thu, 17 Jan 2002, Anas Mughal wrote:
|I haven't seen any RPMs for PHP.
Yes there are RPMs for PHP (ftp.mirror.ac.uk)
|However, I have installed using the source. It works
|fine.
|Try to install the CGI version first. That is easier.
|Than, you could dive into the apache module stuff.
Ok, I'm
If I remember correctly, when you install MySQL and Apache from rpm you get
the binary version and no source is installed on your system.
It's been a while since I've looked for them, but there used to be a source
rpm for MySQL at the MySQL site, and it took some digging to find it. Ditto
for
Mughal" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Friday, January 18, 2002 2:09 PM
Subject: Re: [PHP] help installing php
> On Thu, 17 Jan 2002, Anas Mughal wrote:
>
> |I haven't seen any RPMs for PHP.
> Yes there are RPMs for PHP (ftp.mirror.ac.uk)
>
hi juni,
although i totally agree with the folks who recommended you compile php
from source, maybe it's time you sat down :)
compiling apache, mysql and php from source can tax even the greatest
patience the first time it is tried. hopefully, here's a couple things to
think about.
create a
On Fri, 18 Jan 2002, Juni Adi wrote:
>
> Ok, I'm now in the middle of installing it from
> source code. But I'm not sure where the path to
> apache and mysql source code to fill in :
> ./configure --with
> apache=/path/to/apache_source_code --with
> mysql=/path/to/mysql_source_code
>
> I 'm eve
Ok, I did it through
./configure --prefix=/usr/local/php3 --with-mysql
--with-apx
I didn't give the '--with' any directory argument
(and for the prefix, I din't create the directory
first). For the first try, it failed (said that
apx is broken). But after a couple retry, it
worked! Brb..I don'
$number=mysql_num_rows(mysql_query("SELECT DISTINCT date FROM $table"));
Op zaterdag 09 februari 2002 13:41, schreef Daniel Alsén:
> Hi,
>
> i can´t seem to get my head to wake up...
>
> How would i do to count how many different values that exists in a mysql
> field? Ie i have a date-field and ne
> Hi,
>
> i can?t seem to get my head to wake up...
>
> How would i do to count how many different values that exists in a mysql
> field? Ie i have a date-field and need to know how many different dates
that
> exists in the table.
select count(distinct name) from site; in Mysql
Valentin Petruche
why don't you submit it to a php script (instead of using the mailto ) and get mail()
to email it to you, you could also process it and save the info somewhere.
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Karl James" <[EMAIL PROTECTED]>
To: <[EMAI
Hello,
"Karl James" <[EMAIL PROTECTED]> wrote:
> http://www.ultimatefootballleague.com/Create_Account.htm
>
> Im Trying to create this form so that this will give you access to login
> Team action page
> Where you can do the add/drops Trades and submit starters..
I suggest you try something simp
On Tuesday 12 November 2002 15:05, conbud wrote:
> Hey,
> How would I insert $_SESSION['user'] and $_SESSION['pass']
>
> into this
> mysql_query("select count(*) AS numfound from admins where user='$user' AND
> pass='$pass'",$db);
>
> right now I have
> $_SESSION['user'] = $_POST['user']
> $_SESSIO
Hey,
I do have it in a variable but I just choose to leave it out.
Ive tried so many different things with this and even what you gave me for
some reason didnt work. The variables are being set, if I echo
$_SESSION['user'] then right data is shown. However as soon as I put it in
the mysql_query it
Also the echo statement is just there for testing purposes to make sure the
variable were containing the correct data.
Lee
"Conbud" <[EMAIL PROTECTED]> wrote in message
news:20021112075942.16291.qmail@;pb1.pair.com...
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tr
On Tuesday 12 November 2002 15:59, conbud wrote:
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tried so many different things with this and even what you gave me for
> some reason didnt work.
*Why* doesn't it work?
> The variables are being set, if I echo
> $_SESSI
what PHP version are you running?
$_SESSION variable is only available since PHP v4.1.0 and, btw, you
always need to use session_start() before using it.
--
Maxim Maletsky
[EMAIL PROTECTED]
Jason Wong <[EMAIL PROTECTED]> wrote... :
> On Tuesday 12 November 2002 15:59, conbud wrote:
> > Hey,
>
I am using session_start, im using php 4.2.3
Lee
"Conbud" <[EMAIL PROTECTED]> wrote in message
news:20021112075942.16291.qmail@;pb1.pair.com...
> Hey,
> I do have it in a variable but I just choose to leave it out.
> Ive tried so many different things with this and even what you gave me for
> som
This is the 4th and last time I'm going to write this, because you don't
seem to be listening. There is an EXCELLENT working example / tutorial /
article on member/session management by Kevin Yank on sitepoint.com:
www.webmasterBase.com/article/319
It covers:
- creating a registration script an
*slaps head*
*screams*
feel better now *gets back to work*
Cheers
Brendon
-Original Message-
From: Karl James [mailto:karl.james@;verizon.net]
Sent: Thursday, November 14, 2002 3:41 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Help with project
Hello people
Im doing the fantasy footbal
echo testfunction($var1, $var2, $var3, $var4);
Or if you need to do something else with the value before echo()ing it:
$meat = testfunction($var1, $var2, $var3, $var4);
//Do something with $meat
Beauford 2002 wrote:
Hi,
I have form that a user would input information and that info is sent to
Beauford 2002 wrote:
Hi,
I have form that a user would input information and that info is sent to
a function, but I need to be able to return a result of this function
and is where I am having a problem.
For example:
testfunction($var1, $var2, $var3, $var4); //the form fills these
values.
e
Try:
$meat = testfunction ($var1, $var2, $var3, $var4);
echo $meat;
Or, alternatively,
print (testfunction ($var1, $var2, $var3, $var4));
hope this helps.
--t
On 11/20/02 8:40 PM, "Beauford 2002" <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I have form that a user would input information and that
You don't need the () around print.
print testfunction($var1, $var2, $var3, $var4);
Jason
On Wed, 2002-11-20 at 17:48, Tracy Finifter Rotton wrote:
> Try:
>
> $meat = testfunction ($var1, $var2, $var3, $var4);
> echo $meat;
>
>
> Or, alternatively,
>
> print (testfunction ($var1, $var2, $va
> I am calling data from 3 checkboxes in a form, I can do that
with
> the
> $_POST stuff.
> But I want to also do the following:
>
> 1. If check box ³x² is checked, then also display data from form field
³y²
> with a after it. (like this: X Y)
maybe...
if(isset($_POST['x']))
{ echo $_P
hi,
a function can be defined from inside another function!
this works here:
function howru()
{
function hi()
{
echo "hi,";
}
hi();echo "how r u";
}
howru();
hi();
?>
this gives the same result:
function hi()
{
echo "hi,";
}
function howru()
{
hi();echo "how r u";
}
howru();
hi();
?>
It
hi again,
about functions wholly, here is the php manual functions section
http://www.php.net/manual/en/functions.php
about classes and objects:
http://www.php.net/manual/en/language.oop.php
Note: an object is an instance of a class!
Regards,
Khalid Al-kary
> -Original Message-
> From: Khalid El-Kary [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, December 07, 2002 6:03 PM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP] Help on OOP
>
> hi,
> a function can be defined from inside another function!
> this works he
hi,
right, this is exactly what i mean
Khalid
_
Help STOP SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://
Don't double post and do a little thinking for yourself. The error is
undefined variable: Array. That means that where you are using
$Array["URL"], it doesn't have a value, it's, "undefined". Where is
$Array coming from, or where do you think it's coming from?
---John W. Holmes...
PHP Architect -
Without the error message you are making it kind of tough.
What's the response that you get.
Also you should use long HYPERLINK
>"http://host.makethewebsecure.com/~admin12/do_adduser.phps"http://host.m
>akethewebsecure.com/~admin12/do_adduser.phps
>
>
>can someone take a look at this
>and see
on 02/01/03 7:54 AM, Karl James ([EMAIL PROTECTED]) wrote:
> can someone take a look at this
> and see why this wont work.
why don't you start by telling us what's wrong, or HOW it "doesn't work"?
Justin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.n
There's your answer...
You do not have permission to insert into the database with that user.
Contact your DBA! :-)
and if that's you read the MySQL manual.
Especially about the mysql.user table
*** REPLY SEPARATOR ***
On 01/01/2003 at 1:19 PM Karl James wrote:
>
>Access d
You need to tell preg_match that there will be multiple characters. Right
now, you're searching for one, and only one.
if (! preg_match ('/^[a-z0-9]+$/', $unchecked_text)) {
The "+" means one or more matches to the range in brackets.
-- tracy
On 1/4/03 9:03 AM, "Anders Thoresson" <[EMAIL PROT
Sorry all, I can't type. The reference should be "imap_header()" and
also, here's a snip of the code I'm using:
>>SNIP
$mbox = imap_open("{localhost:143}","user","pass")
or die("can't connect: ".imap_last_error());
for($i=1; $i <= 5; $i++)
{
$msg_header = imap_header($mbox
> From: R'twick Niceorgaw [mailto:[EMAIL PROTECTED]]
> Sent: Monday, September 09, 2002 10:32 AM
> Subject: [PHP] help with installation
>
> Sure I'm missing some thing silly here but its monday morning :)
> I have just installed php 4.2.3 with apache 1.3.26.
> I have all loadmodule/addmodule as
hp-source .phps
- Original Message -
From: "Matt Schroebel" <[EMAIL PROTECTED]>
To: "'R'twick Niceorgaw'" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Monday, September 09, 2002 10:37 AM
Subject: RE: [PHP] help with installation
>
Of course, you restarted Apache?
Also, try leaving this out ---> and just write
LoadModule php4_moduleextramodules/libphp4.so
(Applies to AddModule as well...)
And make sure that the "extramodules" folder does exists!
- E
On Monday, September 09, 2002 11:43 PM
R'twick Niceorgaw wrote:
Hi,
is it a free assistance or a non-free one?
--
Nicos - CHAILLAN Nicolas
[EMAIL PROTECTED]
www.WorldAKT.com - Hébergement de sites Internet
"Michael Plasse" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hello,
>
> I need a PHP programmer to assist me with updates
Variables are not evaluated within single quotes. You are trying to send
an email to $address, literally. If you just have a single variable,
lose the quotes entirely.
Mail($address,$subject,$body);
---John Holmes...
> -Original Message-
> From: Chuck "PUP" Payne [mailto:[EMAIL PROTECTE
Ok, that work. Why does the ' (quote) not make it work is it because it's an
array? Any thanks John that got it work.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
strings in double quotes are evaluated looking for $vars and {$vars} to
substitute. strings with in single quotes are not evaluated for vars.
$var = "my favourite color is {$col}"; // works
$var = "my favourite color is $col";// works
$var = 'my favourite color is $col';// doesn't work
e string.
---John Holmes...
> -Original Message-
> From: Chuck PUP Payne [mailto:[EMAIL PROTECTED]]
> Sent: Sunday, September 22, 2002 11:53 PM
> To: [EMAIL PROTECTED]
> Cc: PHP General
> Subject: Re: [PHP] Help with mail...
>
> Ok, that work. Why does the ' (quote)
Sort the arrays and pick off the first and last elements.
On Wed, 2 Oct 2002, Christopher J. Crane wrote:
> I am looking for a way to find the highest 5 and lowest 5 numbers within 300
> or so numbers. Here is what I have so far...
>
> $Tickers = array();
> $Current = array();
>
>
> // SQL QUERY
201 - 300 of 2050 matches
Mail list logo