http://cihosts.com/ has always made me drool...you might only be one of
90,000, but they are very very customer-centric.
They'll do anything to make you happy it would seem, but if you get a
dedicated server...you are basically like a little god to them, lol. 24/7
unlimited tech support, as long
[EMAIL PROTECTED] (Mike P) writes:
> Can I use Mysql fetch_row to specify which row i want to get?
> Like---$row[5]=mysql_fetch_row($result) ?
You might try:
// move row pointer to 5th row
mysql_data_seek ($result, 4);
// fetch current row
list (...) = mysql_fetch_row ($result);
--
PHP Ge
At 2:17 AM + 4/13/01, Mike P wrote:
>Can I use Mysql fetch_row to specify which row i want to get?
>Like---$row[5]=mysql_fetch_row($result) ?
>Mike P
>[EMAIL PROTECTED]
>
Are you talking about a specific row in the mySQL result set? If so,
use the mysql_result() function. However, this funct
"distinct" and "order by" are all I need.
Thanks to John Keith and John Perkins for their quick answers!
--
Plutarck
Should be working on something...
...but forgot what it was.
""Plutarck"" <[EMAIL PROTECTED]> wrote in message
9b6229$48j$[EMAIL PROTECTED]">news:9b6229$48j$[EMAIL PROTECTED]..
lmao
No problem. And my problem is solved :)
Thanks to you and John Keith for your quick help. Greatly reduces the amount
of work I need to do in multiple instances!
--
Plutarck
Should be working on something...
...but forgot what it was.
""Jason N. Perkins"" <[EMAIL PROTECTED]> wrote in mes
Take a look at northwesthost.com
> I currently am using Thehostpros.com for my hosting, but I can't
> say its been a pleasant experience. I had to have them install
> PHP because they are more ASP oriented. So that cost me more.
> Then I wanted MySQL and they have spent 3 months saying they'
sorry about all the posts...i was getting a message that an error had
occured and my message wouldn't be posted. like a dumbass i took it at face
value...
--
:: jason n. perkins
:: email -> jason[at]somebodydial911.com
:: url -> www.somebodydial911.com
:: "for a vegetarian rents, you're a (obsce
> The thing is, I want to have only one entry for each guild, and I want
them
> to be in alphabetical order.
try the following sql:
"select distinct guild from tablename order by guild"
--
:: jason n. perkins
:: email -> jason[at]somebodydial911.com
:: url -> www.somebodydial911.com
:: "for a
> The thing is, I want to have only one entry for each guild, and I want
them
> to be in alphabetical order.
try the following sql:
"select distinct guild from tablename order by guild"
--
:: jason n. perkins
:: email -> jason[at]somebodydial911.com
:: url -> www.somebodydial911.com
:: "for a
> The thing is, I want to have only one entry for each guild, and I want
them
> to be in alphabetical order.
try the following sql:
SELECT DISTINCT guild FROM tablename ORDER BY tablename
--
:: jason n. perkins
:: email -> jason[at]somebodydial911.com
:: url -> www.somebodydial911.com
:: "for a
I need to query a MySQL database with something like: "select guild from
table_name"
I'm going to take "guild" and eventually make a drop-down box with the
information, but that I can handle.
The thing is, I want to have only one entry for each guild, and I want them
to be in alphabetical order.
MySQL is returning floor. (I'm not a MySQL heavy user, though :)
PHP's result is correct for its function name, I think.
If MySQL returns floor for round(), how about use floor() in PHP?
Regards,
--
Yasuo Ohgaki
"Lee Howard" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL P
You don't have to make the user wait for confirmation.
What you could do if you wanted to be sure to tell the user if the
connection failed or not, is to have him give his email addy for
confirmation. When the file move is done, make a call to mail().
Once you've gotten the file from the user, d
Hi
Probably the only way will be with a java applet to do the transfer
directly to the other host.
Not sure if applets can connect to a host that they did not originate from
(not done much with java yet :)
Tom
At 11:09 PM 12/04/01 -0500, David Minor wrote:
>hmm, good idea, but the only acce
hmm, good idea, but the only access I have to the remote machine is ftp.
Can't put a script on it. I am getting the feeling that I actually have to
move the file(s) from the user's machine to my server and then transfer them
to the FTP site? I was hoping there would be a way to transfer directly
On Thu, Apr 12, 2001 at 09:01:22PM -0700, Franklin Hays wrote:
>
> Chris,
>
> This is correct. The provider has the following:
>
> magic_quotes_gpc ON ON
> magic_quotes_runtime ON ON
> magic_quotes_sybase OFF OFF
>
> and I have:
>
> magic_quotes_gpcON ON
>
Thanks to Chris Adams this problem is now solved. magic_quotes_runtime
was set to ON at my hosting service. I used
set_magic_quotes_runtime(0) in the top of my script and the site works
like a champ now. If you want magic quotes to be ON then just use 1
instead.
http://www.php.net/manual/en/f
http://us.php.net/manual/en/function.set-magic-quotes-runtime.php
Someone should make the manual search a little better...it couldn't find a
search for "magic" ;(
--
Plutarck
Should be working on something...
...but forgot what it was.
"Franklin Hays" <[EMAIL PROTECTED]> wrote in message
[EM
Chris,
This is correct. The provider has the following:
magic_quotes_gpcON ON
magic_quotes_runtimeON ON
magic_quotes_sybase OFF OFF
and I have:
magic_quotes_gpcON ON
magic_quotes_runtimeOFF OFF
magic_quotes_sybase OFF OFF
Is there a
On 12 Apr 2001 19:20:44 -0700, Franklin Hays <[EMAIL PROTECTED]> wrote:
>Any ideas? I have tried using stripslashes() in the 'script' above but get
>errors. Is there something unique to the php cgi I am missing? Something
>else?
Check your magic quotes settings on both systems using phpinfo(). I
Or you could just put a PHP script on the target server that will take the
input via GET and store the data for you. So you don't even have to use FTP.
--
Plutarck
Should be working on something...
...but forgot what it was.
"Lindsay Adams" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED
It doesn't tell you if a variable is actually null, but unless you
specifically need to know if it is actually "NULL", just testing for truth
is usually enough.
For most uses it works fine, but if you really need to know wether or not
it's null, take one of the other suggestions.
For instance,
Even better, there is a whole PHP function just for that.
I use the following code in scripts where I need to debug the available
variables and their values:
// Print all available variables.
$arr = get_defined_vars();
print_r($arr);
I love print_r ;)
--
Plutarck
Should be working on someth
Nothing keeping you from doing it, but it can occasionally be a pain to have
everything on just one page without using includes.
I like to take all my function declarations and stick them in another file
(if it's database related I stick it in the database file, or authorization
related goes in t
Use the mysql_query as mentioned. You need the CREATE TABLE syntax.
For all your basic SQL syntax ponderings, I found a great site:
http://sqlcourse.com
Helped me out tremendously.
For the create table:
http://sqlcourse.com/create.html
--
Plutarck
Should be working on something...
...but fo
It's easy once you get the hang of it.
I use:
// Format of MySQL DATETIME timestamp.
$time = date("Y-m-d H:i:s");
$time is ready for insertion into MySQL. To get the time out though you'll
need to use the unix timestamp function in mysql.
That's a bit tougher to get the hang of :)
--
Plutarc
lol, no problem :)
I might use the mail list anyway...by making a new Message Rule in outlook
express I can stuff the messages over into their own folder.
Then I just list the account last so my important messages get checked
first, and viola.
Someone really should create a listing of techie n
While Im on the subject Is there anything that resembles a recorset
curser I can use with mysql?
Mike P
[EMAIL PROTECTED]
--
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 admini
Asked this earlier but didn't get a response, may have been lost in the
volume or I need to clarify things. If the latter please let me
know. Some help is greatly appreciated as I am stuck.
Experiencing a frustrating problem on this end with slashes being added to
my template files. Here are t
In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Jennifer)
wrote:
> I wanted to use is_null, but it isn't available in my version
> (4.0B2)
>
> What would be an equivalent? I'm fairly new to PHP.
>
> I was using isset, but sometimes it is set to Null.
>
> Null values are unacceptable, but
Can I use Mysql fetch_row to specify which row i want to get?
Like---$row[5]=mysql_fetch_row($result) ?
Mike P
[EMAIL PROTECTED]
--
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 adm
If I grab values from fields and they contain nothing, and I retrieve them using
mysql_field_array, it will give an index out of range. Is there a way to prevent the
error or do I have to keep putting a @ in front of the variable declaration?
php-general Digest 13 Apr 2001 02:13:07 - Issue 624
Topics (messages 48299 through 48387):
Re: Creating Arrays
48299 by: Rodney J. Woodruff
48358 by: Jeffrey Greer
48359 by: Jeffrey Greer
Re: www.php.net - gateway timeout?
48300 by: Plutarck
48302 by
Using MySQL 3.23.32 on RedHat Linux 7.0...
MySQL's ROUND function rounds 5 up when the preceding digit is odd and down
when the preceding digit is even.
mysql> select round(1.5);
++
| round(1.5) |
++
| 2 |
++
1 row in set (0.00 sec)
mysql> select rou
yes you're right - i seem to have misread plutarck's mail. apologies ;)
@lvin
-Original Message-
From: John R.Marshall [mailto:[EMAIL PROTECTED]]
Sent: Friday, April 13, 2001 4:04 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Newsgroups like this one?
On 11 Apr 2001 21:07:01 -0700 Alvin
Hello all.
We've written here before some time ago offering PHP training
courses. Unfortunately, we've had to postpone previously
scheduled classes. These issues are now behind us, and we are
pleased to post the following information on our next class.
In response to many requests for a combin
sure.
keep track of the files on the server drive, then open a connection using
fopen() and fputs the contents of each file.
On 4/12/01 3:13 PM, "David Minor" <[EMAIL PROTECTED]> wrote:
> Well, I didn't get a response from my previous post, so I'm trying again. I
> need to collect a group of f
True but hehe I can't seem to do it witht he datetime thing.
I'm not sure how am I going to insert the date and time into the mySQL
database.
- Original Message -
From: Chris Anderson <[EMAIL PROTECTED]>
To: Zeus <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Friday, 13 April, 2001 1:27
Greetings.
(wrote an email too)
> If you can't give your webserver write permission in the content
directories
Does that have anything to do with .HTACCESS and files such as that?
- Richard
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For add
Needs to be read/writeable by the web server.
Sorry dude, no other way that doesn't open up huge security risks.
If you can't give your webserver write permission in the content
directories- then write to /tmp.
On Fri, 13 Apr 2001 01:57:40 +0200
"Richard" <[EMAIL PROTECTED]> wrote:
> Greetings
I've put together a howto for setting up apache with mod_dav with dynamic
content so that you can use a webdav client to update the site while still
keeping the php source hidden from non authenticated users.
My solution uses a virtual host (With using ForceType directive in an
Alias, it works- b
Is there a way to execute a system command and get both stdin and stderr into separate
variables?
--
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
Greetings.
What can I do about file writing to a local folder, except for making
the entire folder WRITE/EXECUTE, and ALL for me.. Is there any way I can
program my scripts to be able to write or what is the problem? I have tryied
making the folder WRITE/EXECUTE, and I had READ also for all a
It's supported from 4.0.4, I think.
Regards,
--
Yasuo Ohgaki
"Jennifer" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> I wanted to use is_null, but it isn't available in my version
> (4.0B2)
>
> What would be an equivalent? I'm fairly new to PHP.
>
> I was
Is anyone else getting these messages when posting to the PHP list?
They're starting to get annoying. If this individual can't be bothered
to change their email subscription, they should be dropped all together.
Original Message
Subject: Delivery Notification: Delive
Brandon Orther wrote:
> I there a way for me to find out what variables are being sent to script?
> Example:
> http://www.myscript.com/myscript.php?var1=asdf&var2=asdf
>
> that above would be $var1 and $var2
Stick at the end of your script, and go through it so you
can see all the nifty var
Hafu check out the ftp funtions build in PHP? You can find them on their
website www.php.net.
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
--
Phone: (+354) 4615501
Mobile: (+354) 8960376
Fax: (+354) 4615503
E-mail: [EMAIL
Hello,
I there a way for me to find out what variables are being sent to script?
Example:
http://www.myscript.com/myscript.php?var1=asdf&var2=asdf
that above would be $var1 and $var2
Thanks
Brandon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
F
I wanted to use is_null, but it isn't available in my version
(4.0B2)
What would be an equivalent? I'm fairly new to PHP.
I was using isset, but sometimes it is set to Null.
Null values are unacceptable, but zero is a perfectly acceptable
value for what I want.
Jennifer
--
PHP General Maili
Just a comment...
I tried your code and it worked just fine for me, I could see the session
contents.
The only thing that is different in my setup is that I use PHP 4.03pl1...
Try downgrading and see if it works...
// Tobias
""Schulz, Evan"" <[EMAIL PROTECTED]> wrote in message
919AAA764477D3118
"Michael Geier" <[EMAIL PROTECTED]> wrote:
> What I need to find is all the urls in the document and make hrefs out of
> them.
>
> ie:
> http://www.mysite.com becomes href="http://www.mysite.com">http://www.mysite.com;
>
> any ideas? TIA!
I use this code in my PHPost project:
on http://www.php.net/manual/en/function.preg-match-all.php there is a
regex:
$url = "http://www.catho.com.br/index.phtml";
$contents = Implode("", File($url));
preg_match_all("|href=\"?([^\"' >]+)|i", $contents, $arrayoflinks);
While(List(,$link) = Each($arrayo
Well, I didn't get a response from my previous post, so I'm trying again. I
need to collect a group of files in a form and ftp them to a different
server than the script is located on. Can this be done? how?
Thank you,
David Minor
--
PHP General Mailing List (http://www.php.net/)
To unsubscr
I am about to pull my hair out trying to figure out why this isn't working.
I figured I would wait and hope that someone else's eyes would pick
something up, though. I am running it on 4.04pl1 CGI / Win 2k / IIS 5. I
am trying to read from the session files that are in C:\php\sessiondata in
orde
Thanks.
george
--
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]
the % is the modulus operator meaning it returns the remainder of a
division operation. If the number is divisible by 50 the remainder is 0 (
aka false for the if statement ) other wise it is not 0 ( aka true )
http://www.php.net/manual/nl/language.operators.php
morgan
At 04:42 PM 4/12/200
Andrew,
Thanks for the help! It worked!
:)
Gee, how happy I am, now I get to work on the unlink file portion, and
confirmation texts :)
THANKS!
Sean
On 4/12/01 6:25 AM, "Andrew Rush" <[EMAIL PROTECTED]> wrote:
> on 4/12/01 7:32 AM, g0thic at [EMAIL PROTECTED] wrote:
>
>> copy($f_loc
I have to make sure that a number entered into a field is divisible by 50
but I am unsure how to validate the number to make sure that is the case
before it goes into the db.
george
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional com
Hi: we are an alexandria, va small travel dot.com (small but robust and
profitable!) and I am looking for a senior php developer to join our
team. for a full
job description please see http://www.HotelsCentral.com/jobs
thanks,
marcin miszczak
ceo
hotelscentral.com
--
PHP General Mailing Lis
At 4:50 PM +0200 4/12/01, Dominick Vansevenant <[EMAIL PROTECTED]> wrote:
>Mat,
>
>did you put in a reset?
>
>reset($HTTP_POST_VARS);
>
>D.
Yes, you'll need the reset() there if you're looping through the
$HTTP_POST_VARS array more than once. However:
I take it that you were trying something l
On 11 Apr 2001 21:07:01 -0700 Alvin Tan said...
> Hi Plutarck,
>
> The 'mailing list' at MySQL _is_ very much like this one and is also very
> active. Send mail to [EMAIL PROTECTED] to subscribe.
Except that it is a *mailing* list not a *newsgroups* format (like
news.php.net) which was what th
[posted and emailed]
On 12 Apr 2001 12:48:52 -0700, [EMAIL PROTECTED] (Jeffrey
Greer) wrote:
>
>// putting the values in an array is trivial, but you should do it
>like this
>// or you will confuse your numeric ids with the ids that php
>puts in an array automatically
Whoops. I was wrong a
[posted and emailed]
If you're looking for a simple way to work with databases I would use
phplib. Phplib is a db abstraction layer which supports over a dozen
databases including mysql. You can get the libraries at
http://phplib.netuse.de/download/phplib-7.2c.tar.gz You will need to
use "db_
You need to use a frameset to do what you want.
the problem is the browser will only launch the Acrobat control if it
receives the content type app/pdf, an html page uses the content type
text/html.
your links should point to another page that outputs something like the
following based on inpu
On Thu, 12 Apr 2001 15:42:54 -0400, Mike ([EMAIL PROTECTED])
wrote:
>I would like to put a mysql resultset into an array of type
>row(rownunber)(data).Any Ideas?
>Mike P
>[EMAIL PROTECTED]
>
>
>
>
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For a
I would like to put a mysql resultset into an array of type
row(rownunber)(data).Any Ideas?
Mike P
[EMAIL PROTECTED]
--
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 administrator
Greets,
Just to elaborate: I want my user to be able to click on a hyperlink that
points to my PDF file, and have a new window pop up, displaying the contents
of the PDF file in the browser window (without prompting if they should save
the file) as well as set the HTML tag to the name of the rep
[Andi Gutmans <[EMAIL PROTECTED]>]
> Oh is all of pear out of the PHP CVS now?
No, Jesus is the first one besides me to commit anything to the "pear"
module. We'll do it bit by bit.
- Stig
--
Stig Sæther Bakken <[EMAIL PROTECTED]>
Fast Search & Transfer ASA, Trondheim, Norway
--
PHP CV
Check out these two tutorials, might help:
chainedSelectors: A Better Way to Drop-down a PHP List :
http://zend.com/zend/tut/drop-down.php
Loading JavaScript Arrays with MySQL Data :
--
On Thu, 12 Apr 2001, Jesus M. Castagnetto wrote:
>
> --- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> > On Tue, 10 Apr 2001, Derick Rethans wrote:
> > > hrm,
> > >
> > > is it really needed to add 3.6MB of stuff to the
> > PHP cvs?
> >
> > Grr, I agree. Maybe it can wait until PEAR is out of
>
--- Andrei Zmievski <[EMAIL PROTECTED]> wrote:
> On Tue, 10 Apr 2001, Derick Rethans wrote:
> > hrm,
> >
> > is it really needed to add 3.6MB of stuff to the
> PHP cvs?
>
> Grr, I agree. Maybe it can wait until PEAR is out of
> PHP's CVS.
Ehem, I did *not* commited to the code PHP code dir
(ph
php is server side only
so you are going to have to use javascript.
You can have php build an array, or two in javascript so that your menu
canchange.
checkout hotscripts.com, resourceindex.com, devshed.com,
http://wsabstract.com/
to name a few.
On 4/12/01 11:14 AM, "Erin Quick-Laughlin" <[EM
yes, the subdomains cost you $20/setup, and $2/month extra.
the reason for the setup? they won't let you mess with the dns (which makes
a lot of sense)
overall, it is worth it. you will of course pass the setup fee on to your
clients, and charge more than $2/month, but you can see, that the retu
At 11:09 AM 4/12/01 -0700, Dennis Gearon wrote:
>I've been looking through the book, and so far, I can't find the command
>for 'show tables' in Oracle 8i. Anyone know it? It should be
>programmatically available, I would think, as an SQL command.
SELECT TABLE_NAME FROM ALL_TABLES;
- Brian
Can PHP update a second field on the form, based on the contents chosen
from the first field (I'm thinking of JavaScript's function) ?
I'm pulling a list of id,name,email from MySQL and displaying name for
the first field. After the user picks it, I want the appropriate email
address to show up
i
I've been looking through the book, and so far, I can't find the command
for 'show tables' in Oracle 8i. Anyone know it? It should be
programmatically available, I would think, as an SQL command.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For addi
By the way, I am having problems with the javascripts that are enabled by
default with PHPNuke..
I'm going to disable them for now until I can figure out what is wrong.
Charlie
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands,
Hi all,
I have a question that can I do my dynamic web application in one page
without any other hyperlink page if I have all the classes needed to run the
dynamic web application? Are there any Pros and Cons for running application
on one page? The application is mainly used for ERP. Thank you.
i'll have to try that. But can they use my current domain. Also do setting
up sub-domains in an hour cost me anything?
- Original Message -
From: "Lindsay Adams" <[EMAIL PROTECTED]>
To: "PHP" <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 1:36 PM
Subject: Re: [PHP] Do any of you provid
Check out aitcom.net
get a resellers account, and go hog wild. you can even edit the httpd.conf
page for custom liasing of directories, and anything else.
I wasn't able to get them to compile PHP with some of the extras, at least
not as an apache module, BUT I was able to compile PHP as a cgi fo
On Thu, Apr 12, 2001 at 10:34:26AM -0400, Chris Anderson wrote:
> Someone who can host my domain (I own the domain already)
> Can provide MySQL and PHP. Both up-to-date.
> Can give around 60 meg of space (ballpark, less should be fine)
> Also a way to set up subdomains without needing to go throu
Do you still need to create a seperate database for phpnuke or did they add
functionality to customize the table names.?
oktay
-Original Message-
From: Charlie Llewellin [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 2:27 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Geeklog or
I prefer to write my own
- Original Message -
From: "Zeus" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, April 12, 2001 10:11 AM
Subject: [PHP] Easy News Script
I'm sure many of you heard of newsphp ? (the newspro-clone).
Somehow I felt attached to it except that it doesn'
I believe there is header called "Content-disposition: filename.pdf" which
is defined in the proper RFC. And as far as I know some browsers don't
respect it. Search the list for it, you should find allot of info.
Mike
-Original Message-
From: Jason Mowat [mailto:[EMAIL PROTECTED]]
Sent
Check out mysql_query. It will allow you to execute any query that you
would normally do via the command line interface to MySQL.
--
phill
""Chris Anderson"" <[EMAIL PROTECTED]> wrote in message
000301c0c373$a3522960$b01012d1@null">news:000301c0c373$a3522960$b01012d1@null...
Alright I finally g
Alright I finally got around to installing MySQL on my cpu, and I sucessfully created
a database. Now I have a ryyy dumb question. In the manual I see no
functions for creating tables in a database through code. Maybe I'm just missing the
function. Can someone help me?
I currently am using Thehostpros.com for my hosting, but I can't say its been a
pleasant experience. I had to have them install PHP because they are more ASP
oriented. So that cost me more. Then I wanted MySQL and they have spent 3 months
saying they'll install that. Basicly here's what I need:
Try doing a print_r in the place where you are trying to print data.
So you can see if a second dimension slipped in there, or if there is some
other problem.
I know that the post/get vars are always associative arrays, but I assume
refering to them by their numeric keys should work...don't see
Greetings,
I am having a small problem displaying PDF files to my users via passthru.
This is the situation: I have a bunch of PDF files on my server directory.
I show the user a listing of the PDF files they can view, and allow them to
hyperlink click on the PDF they wish to browse. When the us
From Changelog :
http://php.net/ChangeLog-4.php
Version 4.0.2 29-Aug-2000
Fixed problem with nested foreach()'s. (Andi, Zend Engine)
Just tested the below example code with 4.0.1 and 4.0.3 and above changed
fixed it.
regards,
philip
On Thu, 12 Apr 2001, Tim Ward wrote:
> not for
andrei Thu Apr 12 09:35:41 2001 EDT
Modified files:
/CVSROOTavail cvsusers gen_acl_file.m4
Log:
Removing accounts for inactive people.
Index: CVSROOT/avail
diff -u CVSROOT/avail:1.143 CVSROOT/avail:1.144
--- CVSROOT/avail:1.143 Tue Apr 10 09:00:18 2001
Thats what i was thinking...we have flamed him enough...and i hope that he
gets the message that we don't need to know about 8 dollar hosting...:-)
~kurth
On Thu, 12 Apr 2001, Greig, Euan wrote:
> Date: Thu, 12 Apr 2001 09:39:31 +0100
> From: "Greig, Euan" <[EMAIL PROTECTED]>
> To: [EMAIL PROTE
Yes, this looks very good, thanks for the recommendation
- Original Message -
> phpnuke would be my recommendation
>
> www.phpnuke.org
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
ok, if Im understanding this right, you want to have categories, with multiple sub
categories, you want to have links inside any category (inc sub-categories) right?
well I use three tables.
link
- link_id
- link_name
- link_url
link_cat
- link_id
- link_cat
cat
- cat_id
- cat_name
- cat_parent
Well, based on your previous post:
Plutarck wrote:
> Well after looking at the file I just downloaded...the specification of RTF
> is 164 pages long.
Oooo I'm soo happy...toys toys toys! So many wonderful bits and bytes to
play with now...
you should change it to:
Oooo I'm soo happy...toys t
the PEAR library has an error class
-Stewart.
-Original Message-
From: Boget, Chris [mailto:[EMAIL PROTECTED]]
Sent: 12 April 2001 16:19
To: Php (E-mail)
Subject: [PHP] Error Handling class
I've looked around but haven't really found one...
Does anyone know where I can find a class (or
not for the same array it can't, the pointer in the first foreach is moved
by the second one
try:
$array = array("a", "b", "c");
foreach($array as $val1)
{ foreach($array as $val2) echo "$val1:$val2";
}
it gives
a:a
a:b
a:c
then stops, the manual says that the foreach creates it's own poi
another good way is to use an associative array $session[] as your only
session variable, that way you don't need to worry abopout session variables
overwriting local or vice versa, so $value as a session variable becomes
$session["value"]
Tim Ward
Senior Systems Engineer
Please
Hello Tim,
Thursday, April 12, 2001, 1:43:53 PM, you wrote:
TW> you can't nest foreach as you should be able to. Ecah foreach is supposed to
TW> have it's own pointer in the array, but it doesn't ... this is a known bug.
What do you mean? Foreach() can be nested, and it works perfect.
$first)
I've looked around but haven't really found one...
Does anyone know where I can find a class (or a
set of functions) that handles errors gracefully?
I'm about to write something to do this but would
rather not reinvent the wheel.
thnx,
Chris
1 - 100 of 172 matches
Mail list logo