FYI-- Page breaks can be designated with CSS (style sheets)...
Although that's not a completely cross-platform method.
-Original Message-
From: * RzE: [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 18, 2001 4:01 AM
To: hue micheal; [EMAIL PROTECTED]
Subject: Re: [PHP] Print
Thanks for the clarification...
Anyone have any benchmarks of the MySQL ODBC driver? Just out of
curiousity...
--Matt
-Original Message-
From: Andrew Hill [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 17, 2001 9:47 AM
To: Matthew Loff; 'Michael Kimsal'; 'Masami Kawakami'
Cc
Can't be done...
1) Browser sends request
2) PHP page is compiled and executed
3) PHP output is sent to browser
4) Browser displays page/executes javascript/etc.
-Original Message-
From: Salty Marine [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 3:54 PM
To: [EMAIL
+ 'color_depth=' +
screen.colorDepth
-Original Message-
From: Seb Frost [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 16, 2001 4:13 PM
To: Matthew Loff; 'Salty Marine'; [EMAIL PROTECTED]
Subject: RE: [PHP] Getting screen resolution and color depth
But you could then re-submit the page
I would agree that the DB is probably the biggest bottleneck...
Are you connecting to the DB via ODBC? I'm not an expert at DB stuff
outside of the MySQL realm, but I've heard many say ODBC is horribly
slow. I don't know ASP that well, but could someone comment on ADODB?
It uses OLEDB, not
Are you using Internet Explorer? I've found that broken installations
of Acrobat will cause that... Try reinstalling acrobat on your computer,
and also try using Netscape... See if they work.
--Matt
-Original Message-
From: George Pitcher [mailto:[EMAIL PROTECTED]]
Sent: Wednesday,
What version of PHP are you running?
There were a few bugs in the file upload code that have been fixed in
recent relases of PHP...
--Matt
-Original Message-
From: Jani Rautiainen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 3:51 PM
To: [EMAIL PROTECTED]
Subject:
echo SELECT NAME=\whatever\\n;
while($row = mysql_fetch_assoc($yourquery)
echo OPTION . ($whatever == $row['value']? SELECTED :)
.VALUE=\{$row['value']}\{$row['name']}/OPTION\n;
echo /SELECT\n;
Just insert a ternary operator in there, and check if the submitted
value is equal to the
Oops... My bad.
I misread the question... Ignore my previous reply.
-Original Message-
From: Jason Bell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 12, 2001 6:47 PM
To: Jared Mashburn; PHP Users
Subject: Re: [PHP] Dynamic Form
PHP does not know what the user has selected
Subdomains are first a DNS issue... The first place you have to go is
your DNS config, since users.body-builders.org wouldn't exist without an
A or CNAME record.
I don't know if mod_rewrite can do anything about the subdomains like
that, if it can't, you will have to add VirtualHost directives
[mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 1:38 PM
To: [EMAIL PROTECTED]; 'Matthew Loff'
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] mod_rewrite
How about http://wasarrested.com? IO don't know how they do it, but you
can enter whatever subdomain you want and it reflecst
There isn't any difference, if your php.ini settings allow it
(short_tags, I believe), you can use ? instead of ?php
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, September 09, 2001 2:43 PM
To: [EMAIL PROTECTED]
Subject: [PHP] difference between
You could insert a ternary operation...
($order?$order:defaultfield)
Is the same as:
if($order)
echo $order;
else
echo defaultfield;
...
$result = mysql_query(SELECT
articles.title,vote.votes,vote.total,articles.date,staff.firstname,artic
les.content,articles.id FROM
Doesn't PHP exec sendmail when mail() is called anyway? (Unless you run
another MTA, of course)
I would think they'd take the same amount of time, unless there is
overhead with using popen()
--Matt
-Original Message-
From: Chris Lee [mailto:[EMAIL PROTECTED]]
Sent: Thursday,
Banning PHP from your system just because GD won't compile with it seems
a bit drastic...
You have to realize that the PHP developers don't really have anything
to do with GD, pdflib, etc... they have added support for them into the
PHP language, but an issue with one of these external
and maintaining the relational database.
Try it you'll like it. It's not PHP though (TCL likely).
Best regards,
Matthew A. Schneider
[EMAIL PROTECTED]
- Original Message -
From: daniel goldin [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, August 31, 2001 10:31 PM
Subject: [PHP] seeking good
running
PHP?
There, that was my 2 cents worth. Or was that a 2 bit opinion? (I'll leave
the next joke to the group)
Also, I'll be proactive. Send all monies to me ;)
Matthew A. Schneider
- Original Message -
From: Frederick L. Steinkopf [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Wednesday
You need to specify which item to group the query by.
SELECT users.uid FROM users, picks WHERE users.uid picks.user_id
GROUP BY users.uid;
-Original Message-
From: Jeremy Morano [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 29, 2001 10:42 AM
To: [EMAIL PROTECTED]
Subject:
As someone who has little programming experience I'd have to say jump right
in and forget the GUI (I'm not aware of any IDE for PHP). PHP is pretty
easy (to learn, becoming a master is something else I suspect) and there is
always outstanding support either by reading this newsgroup's archive or
I got the same error message, and couldn't figure out why...
In the example for pdf_findfont(), it has:
$font = pdf_findfont($pdf, Times New Roman, winansi, 1);
Try changing your embed parameter to 0...
$font = pdf_findfont($pdf, Times New Roman, winansi, 0);
... That fixed it for me. Give
It's postscript points, I believe... 72 points per inch.
So, an 8.5x11 page is 612x792 points large.
--Matt
-Original Message-
From: Johan Holst Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 27, 2001 3:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: [PHP]
the mail directly to the
smtp server? Can you foresee any problems?
I look forward to your reply...
Regards,
Matthew Delmarter
--
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
1) strftime(%T on the %D, strtotime($yourdate));
Should produce: 00:12:45 on the 08-22-2001
You can check the manual page for strftime() to see different ways to
format the time to your liking:
http://www.php.net/manual/en/function.strftime.php
2) The way you're trying to do that sounds
PHP docs are weak on debugger_on() because the debugger isn't a feature
in PHP 4 :)
It was not included in the transition from PHP 3 to 4. You'll have to
use a 3rd-party debugger for PHP code. Search the archives for this
list, it has been discussed in the past.
-Original Message-
JavaScript Reference Guide--
http://rts.ncst.ernet.in/resources/javascript/reference/
I remember having trouble finding a complete object/method reference
too, this document really helped me.
-Original Message-
From: Al [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 15, 2001
Let's say I am mailing 1000 members of a mailing list - is it possible
to stop the process once started? In particular I am looking for a
browser based solution...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
Let's say I am mailing 1000 members of a mailing list - is it possible
to stop the process once started? In particular I am looking for a
browser based solution...
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
How exactly is the username/password from the mysql_connect() call shown
to the browser?
I normally just get a PHP error when the db connection can't be made.
No code is shown, just a line number. If, in your case, PHP dumps the
source code to the browser window when the db connection won't
The debugger is not built into PHP 4, it was a feature in PHP 3.
--Matt
-Original Message-
From: Peter Dowie [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 12:48 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Is there a debugger ???
Hi,
I noticed in php.ini there was a
Ha ha... hardcore the user/password
Sorry... I realize you gave a good answer, just had to laugh. :)
-Original Message-
From: Attila Strauss [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 1:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] MySQL connection
hi,
there
Usually if-statements and regex's are used to validate data... If you
just want to make sure the form is filled out completely, you could do
this: (which is how I do it)
if(empty($name) || empty($address) || empty($phone))
{
// Form is not complete
echo 'Name: INPUT TYPE=TEXT
For reference, in case anyone cares-- from within functions, I usually
just do:
global $HTTP_POST_VARS;
extract($HTTP_POST_VARS);
...to account for the scope of the form vars.
-Original Message-
From: Mark Roedel [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, August 08, 2001 4:08 PM
Resizing a whole page of large images on the fly every time is going to
put a heavy load on your CPU...
If you insist on doing that, see the PHP image functions available
through the GD library...
http://www.php.net/manual/en/ref.image.php
I recommend you use PHP 4.0.6 with GD 2.0.x... With
You can do this several ways... Either use explode():
http://www.php.net/manual/en/function.explode.php
...to split the retrieved data by a space as the delimeter, then use
a for() loop to print X number of words... E.g.:
$array = explode( , $db_string);
for($i = 0; $i 25; $i++)
Hi all,
I am curious about how to best define the size of fields in mysql. Is
there some size that are better used than others?
For example without thinking about it to much I would tend to size
fields in multiples of 10 - 20, 50, 100, 200 etc... Is this the best
answer?
Regards,
Matthew
is displaying the results of a mail program as
it fires off mail to hundreds of members in a database.
Will this slow down the execution of the script at all - or much?
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional
respectively... but nothing
happens. I presume it is a variable problem...
Can anyone help with this code?
Matthew
--
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
I agree with the try to answer your own question first theory that you
propose...
I have used PHP for almost 2 years now, and just subscribed to this list
a month or two ago, but have yet to ask a single question... But I
realize we're all at different skill levels, and so far, I haven't done
Try this:
function month_list()
{
echo select name=\month\\n;
$month_names = array(1 = January, 2 = February, 3 =
March,
4 = April, 5 = May, 6 = June, 7 = July,
8 = August, 9 = September, 10 = October,
11 = November, 12 =
Oops! I forgot to include the parameter...
function month_select($month)
{
echo select name=\month\\n;
$month_names = array(1 = January, 2 = February, 3 =
March,
4 = April, 5 = May, 6 = June, 7 = July,
8 = August, 9 = September, 10 = October,
Is it possible to dynamically assign a variable name?
For example:
variable name is $var_.name
or $var_.$name
Regards,
Matthew Delmarter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL
RTFM... Read the Fabulous Manual. :) ha ha...
It's possible, and downright easy.
http://www.php.net/manual/en/language.variables.variable.php
-Original Message-
From: Matthew Delmarter [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 31, 2001 10:58 PM
To: PHP Mailing List
Subject
##firstname## with the value of $row[firstname]... but
nothing happens.
Matthew
--
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]
Instead of using numbers, I use this system:
chmod a+rwx
(all users read/write/execute)
chmod u+rwx
(owner of file read/write/execute)
chmod g+rwx
(group read/write/execute)
chmod o+rwx
(all users read/write/execute)
The plus + can be substituted with a minus - to remove specific
?
Regards,
Matthew Delmarter
Web Developer
AdplusOnline.com Ltd
www.adplusonline.com
Phone: 06 8357684
Cell: 025 2303630
--
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
argument supplied for foreach(). I am using:
$array = unserialize($db_result-lists_actual);
foreach($array AS $val) {
echo $val;
};
I hope the problem is clear, I am thoroughly confused at this stage! I
should admit that I am only just getting used to arrays...
Matthew
How do I search mysql based on an array?
For example suppose I had an array of array(1,2,3). And I want to
search like so:
SELECT * FROM table WHERE id=arrayvalues
Regards,
Matthew
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED
How do I search an array?
For example if I want to know if $array contains 1...
Regards,
Matthew Delmarter
--
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
If you're only doing one DB query per page, then the query is probably
what's taking the longest.
Log into mysql, and execute EXPLAIN SELECT ...rest of query ... It'll
tell you how MySQL plans on performing the query across the rows of the
table(s). You can use the information it provides to
I was reading through the PHP manual and got to the section on constructors.
snip
class A {
function A() {
echo I am the constructor of A.br\n;
}
function B() {
echo I am a regular function named B in class A.br\n;
echo I am not a constructor in A.br\n;
}
}
class B extends
If the PDF file is publicly accessible via a web server, you should be
able to simply do:
header(Location: http://www.server.com/file.pdf;);
-Original Message-
From: kaab kaoutar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 7:47 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
I've gotten this far:
URL to open an advanced search window(window2) from window1:
a href=\javascript:newWindow =
window.open('db_viewMD.php?dsn=$dsndb=$dblm=$lmadvsrch=true','advsrch','h
eight=$vsize,width=310,scrollbars=$bln,resizeable=yes');
newWindow.focus()\)Advanced Search/a
Enter text
Specifically,
If I have 3 HTTP_POST_VARS:
HTTP_POST_VARS[client] = test1
HTTP_POST_VARS[directory]= test2
HTTP_POST_VARS[password] =
and I don't know the names of the vars ahead of time, how would I run a
check to see if they exist and then get the specific POST_VARS's value. This
is what
O'Reilly book and PHP manual? That's the best you're going to get.
(Others will recommend other books, but the O'Reilly one is great to
start with)
Good luck!
-Original Message-
From: Kyle Smith [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 9:06 PM
To: [EMAIL PROTECTED]
That's like saying What's C++ good for?
Well, not quite... Ha ha... I get a bit carried away... But it's close
enough.
PHP does what you want it to do... Database-driven sites are covered
frequently on this list because PHP's database support is extensive and
very easy to use.
You
http://www.php.net/manual/en/function.substr.php
string substr (string string, int start [, int length])
Substr returns the portion of string specified by the start and length
parameters.
If start is positive, the returned string will start at the start'th
position in string, counting from
I was reading through the PHP manual and got to the section on constructors.
snip
class A {
function A() {
echo I am the constructor of A.br\n;
}
function B() {
echo I am a regular function named B in class A.br\n;
echo I am not a constructor in A.br\n;
}
}
class B extends
Ben--
Thanks for pointing that out... I've been looking for info like that for
a long time!
Much appreciated.
--Matt
-Original Message-
From: Ben Bleything [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 24, 2001 1:23 PM
To: Vincent P. Cocciolone
Cc: [EMAIL PROTECTED]
Subject: Re:
Output control functions will let you buffer the output, and you can
decide to send a header instead of flushing the buffer to the client:
http://www.php.net/manual/en/ref.outcontrol.php
ob_start() flush() should accomplish this all for you.
-Original Message-
From: Clayton Dukes
I don't see why you wouldn't be able to access that share... Did you try
escaping the path?
e.g. chdir(computer\\dir);
-Original Message-
From: ReDucTor [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 6:20 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Networking
Hey does any
I think ucfirst() only does the first character of the string...
ucwords() will do all the parts of the name.
The only shortcoming I've found is if people put in a middle initial and
add a period to it, or put a nickname in quotes... ucwords() skips
those.
-Original Message-
From:
a script to run in the background? I am
only familiar with processing script within an html page that is returned to
a client. Will a script like this keep running even if a browser window is
closed?
Also is there any examples of this kind of app?
Regards,
Matthew Delmarter
Web Developer
Whew! They're giving away a lot of vacations if we -all- qualify...
:)
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Sunday, July 22, 2001 4:06 PM
To: [EMAIL PROTECTED]
Subject: [PHP] 33 Need A Vacation? Let Us Take You On One for FREE...
You have
Well, there are a few ways to do it. The secret is to know a little bit
of HTML. Another poster suggested using the br (line break) tag. The
paragraph tag would also work nicely:
?php
echo pIP ADDRESS/p;
echo p$remote_admin/p;
?
Or you could start to get fancy by doing it with a table:
If $lookup is passed from the client, then you should be careful with
that exec() call...
http://www.php.net/manual/en/ref.exec.php
Use one of the escape...() functions, perhaps?
-Original Message-
From: David Robley [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 23, 2001 12:47 AM
Ahh yes, that was exactly what I needed. (I knew it was simple!)
But that brings up another question: whenever I have POST information
propagate over more than one page, is it generally a good idea to *always*
use htmlspecialchars () on my data?
I.e., even if the data shouldn't need
Greetings,
I am developing an
application that will access a MySQL database remotely from another
server. I would like to be able to use a standard database connection
using the 3306 port if possible for ease of development, but I certainly do not
want to be sending unencrypted data
-
From: Mauricio T?llez Jim?nez [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 12:03 PM
To: Matthew Aznoe
Cc: Php-General-Digest
Subject: Re: [PHP] Secure Access to Remote MySQL DB
CONTENT-DISPOSITION: INLINE
I think that SSL is the more transparent choice.
Cheers.
On Wed, Jul 18
On Wed, Jul 18, 2001 at 06:43:55PM -0400, Tom Malone wrote:
I think that both TextPad and NoteTab are excellent editors, with TextPad
being the better of the two.
If it hasn't been mentioned already, check out vim (www.vim.org). I got
hooked on it using by using Linux. This summer I'm
INPUT TYPE=HIDDEN NAME=name_of_variable VALUE=value_of_variable
-Original Message-
From: Tim Olsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 2:12 AM
To: [EMAIL PROTECTED]
Subject: [PHP] passing variables from forms to the same page
repetatively
People,
I have 4 forms
I don't know a way around the problem you're describing with your
version of PHP, but PHP 4.0.6 with GD 2.0.1 allows you to call
ImageCreateTrueColor(), which eliminates the 256-color limitation with
JPEG files-- solved my problem right away.
-Original Message-
From: Jennifer
$site = fopen( http://www.whatever.com/ http://www.whatever.com/,
r);
$contents = fread($site, 102400);
fclose($site);
-Original Message-
From: Clayton Dukes [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 17, 2001 2:08 PM
To: [EMAIL PROTECTED]
Subject: [PHP] GEt Command
Does
On Tue, Jul 17, 2001 at 04:55:11PM +1000, Jason Rennie wrote:
This approach worked pretty well with previous people i teached
PHP, but they already had some sort of programming background.
This guy hasn't. I find that he has some difficulties picking
it up. And I have some
Hello:
I wrote an small web application that interfaces a Microsoft Access
database. The database is fairly small and simple: it is a listing of
employees, their phone number(s) and their department. My interface
allows folks to view the phone list, search for a name, list by
department,
I installed PHP 4.0 on an MS Windows 2000 server (running IIS 5.0). It
processes files whose extension is .php but displays files with .php3
and .php4 extensions as text.
I might have specified such behavior in the original installation. But
now I can't find out where to associate other
On Mon, Jul 16, 2001 at 05:19:41PM +0300, Marius Andreiana wrote:
În 16 Jul 2001 09:07:17 -0500 garman a scris:
I forgot to mention that I already looked into the PDF extensions.
Although
it looks like it would do exactly what I want, the PDFLib isn't free for
You can generate xml in
At the organization I'm interning at this summer, we have an intranet web.
My job is to update, maintain and enhance it.
On the main intranet web page, there's a weather channel magnet that
displays the local weather conditions. Now, since not everyone has
inTERnet access, some people simply
If PHP won't overload them to an array, you could parse $QUERY_STRING
manually.
-Original Message-
From: Jason Murray [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 11:06 PM
To: 'Kurt Lieber'; 'PHP General List (E-mail)'
Subject: RE: [PHP] REPOST: converting multiple URL
I am not sure how easy it would be to learn PHP from scratch without any
prior programming experience...
In my case, knowing C and HTML very well made learning PHP easy as
pie... I think both are great starting points for someone who wants to
do PHP well.
-Original Message-
From:
Just for reference, I originally meantioned a comparison of PostgreSQL
beta vs. MySQL latest-- here's the article:
http://www.phpbuilder.com/columns/tim2705.php3?page=1
I'm curious to hear comments on stability of Postgres, since the author
of that article meantions it as a concern of
You probably mean SSH tunnel, which is quite feasable-- Hank Marquardt
posted this earlier to the list:
--- BEGIN QUOTE ---
Works just fine ... as does postgres --
ssh -N -2 -f -C -c blowfish -L3306:yourdatabase.server.here:3306
[EMAIL PROTECTED]
or the other usual
on a Windows platform. Is there any way to get this
functionality on Win32?
I downloaded the tar.gz file with teh libmcal library in it, but I have
no idea what I would do next.
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 1:43 PM
Unfortunately, it doesn't -- you bring up a good point.
It does support the compressed client/server protocol, which would make
it harder to intercept-- but encryption is not an option yet on the
client.
I don't suppose there's any way on Win32 to use an SSH tunnel, is there?
-Original
by describing the variable name as
it is being declared, and it would encourage a better coding style.
Does anyone else have any thoughts on this?
Matthew Aznoe
[EMAIL PROTECTED]
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
-h 127.0.0.1
for postgres examples, change the port numbers (3306) to 5432
On Fri, Jul 13, 2001 at 06:39:51PM -0400, Egan wrote:
On Fri, 13 Jul 2001 12:28:37 -0400, Matthew Loff [EMAIL PROTECTED]
wrote:
Does mysql-front encrypt the password before it travels the net?
It does support
I second that recommendation-- MySQL-Front is downright excellent!
http://www.mysqlfront.de/
-Original Message-
From: Steve Brett [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 6:47 AM
To: Steph; [EMAIL PROTECTED]
Subject: RE: [PHP] Alternative to phpMyAdmin
mysql front
Message-
From: Alexander Skwar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 12, 2001 2:15 PM
To: Matthew Loff
Cc: 'Steve Brett'; 'Steph'; [EMAIL PROTECTED]
Subject: Re: [PHP] Alternative to phpMyAdmin
So sprach »Matthew Loff« am 2001-07-12 um 14:07:16 -0400 :
I second
libmcal is a pain in the butt to set up, but once it's set up, it has
some great features... I had to write a PHP page that handled
scheduling of appointments, and mcal saved me a lot of time, after I
spent the initial 2 hours pulling my hair to set it up. :)
-Original Message-
From:
Jason--
There are many reasons I don't quite recommend creating the thumbnails
on the fly with ImageMagick:
1) I've heard many say that storing/retrieving images from MySQL
databases isn't the greatest idea, because you end up with -huge-
tables, which leads to long query times.
2) Resizing a
With PHP, not without creating an index file.
If the server is apache, you can simply create a .htaccess file in the
directory, containing:
order deny,allow
deny from all
I'm pretty sure that should do it.
-Original Message-
From: Tom Malone [mailto:[EMAIL PROTECTED]]
Sent:
Maybe his mysql.sock file isn't in /var/lib/mysql/mysql.sock?
Mine is /tmp/mysql.sock
-Original Message-
From: Rasmus Lerdorf [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 13, 2001 1:31 AM
To: Gaylen Fraley
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP installed - MySql Server can't
and then arsort the array.
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
What I'm doing is having a form page ask, How many
children do you want to sign up? Then it spits out form
fields for as many children as they asked for. So each
field has name=C_Last_Name$x
; closed but not opened tags...
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
Hello. I wrote a comments application that allows the use of some HTML
tags for text formatting (ib). I ran into a problem of users not
closing the tags (/i/b), so when I
Ahh! I forgot to meantion the \n at the end of the headers in my
original post...
-Original Message-
From: Marcus James Christian [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 1:37 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Mail Bcc to a $variable?
Like this...
I think using isset should do it. try:
for ($i = 0; $i = $ffromx; $i++) {
if (isset($ffrom.$i)){
echo $ffrom.$i.BR;}
}
Matthew Luchak
Webmaster
Kaydara Inc.
[EMAIL PROTECTED]
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED
Since IDs can disappear when records are delted, I think it's best to do
a COUNT() first, then retrieve your listings with
SELECT * FROM table WHERE blah LIMIT offset,number_to_retrieve;
-Original Message-
From: scott [gts] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001
Have you tried a non-persistant connection? Does that work?
mysql_connect()?
-Original Message-
From: Tom Beidler [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 11, 2001 3:12 PM
To: php list
Subject: [PHP] Fatal error: Call to undefined function: mysql_pconnect()
in ...
I'm
;
}
but that's also a quick-n-dirty way, becuase it
doesnt know when the first/last record is...
however, that's less quick and less dirty than
the original code i posted
TIMTOWTDI - there's more than one way to do it. :)
-Original Message-
From: Matthew Loff [mailto:[EMAIL PROTECTED
(This is assuming you'll have all images in the directory, and no other
file types...)
$directory = opendir(./);
$dirEntry = readdir($directory); // Skip .
$dirEntry = readdir($directory); // Skip ..
while($dirEntry = readdir($directory))
{
// GetImageSize Code for Each $dirEntry
Sendmail should (by default) attempt to send the mail immediately... If
it can't deliver it on that attempt, then it should be queued to send
again later (30 mins?)...
Unless you've configured sendmail differently, it should attempt to
deliver as soon as the mail is sent from PHP.
You can
901 - 1000 of 1089 matches
Mail list logo