Hello,
I have read on php.net that the vpopmail functions are available in 4.0.5 and
later. However, I have not been able to successfully use then on 4.0.6 or 4.1.0. Is
this something that needs to be enabled, or am I doing something incorrectly?
Pete~
I want to run a query like:
select * from table order by rand() limit 3
in MySQL it would work but I need to run it in MSSQL. I've been searching for a limit
function in MSSQL and I can't find a way to do it. I'm experienced with MySQL but
know nothing about MSSQL. If someone could point
On Saturday 16 February 2002 17:14, Dean Householder wrote:
I want to run a query like:
select * from table order by rand() limit 3
in MySQL it would work but I need to run it in MSSQL. I've been searching
for a limit function in MSSQL and I can't find a way to do it. I'm
experienced
On Saturday 16 February 2002 16:47, Pete Bekisz wrote:
Hello,
I have read on php.net that the vpopmail functions are available in
4.0.5 and later. However, I have not been able to successfully use then on
4.0.6 or 4.1.0. Is this something that needs to be enabled, or am I doing
Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it
in it's own SQL query or built into the select query? I'm looking at the
help and it doesn't seem very helpful...
Dean
- Original Message -
From: Jason Wong [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
On Saturday 16 February 2002 17:48, Dean Householder wrote:
Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it
in it's own SQL query or built into the select query? I'm looking at the
help and it doesn't seem very helpful...
It's been a while since I last used MS
I figured it out!
For benefit of all I'm posting the answer:
select top 3 * from table
This query will return the top three rows of the table but now I want to
them to be random.
Once again, in MySQL you could just say order by rand() but that doesn't
work in MSSQL. Does anyone know how to
At 05:54 PM 2/16/2002 +0800, Jason Wong wrote:
On Saturday 16 February 2002 17:48, Dean Householder wrote:
Is anyone familiar with how exactly to use the TOP command in MSSQL? Is it
in it's own SQL query or built into the select query? I'm looking at the
help and it doesn't seem very
Dear Steven and Kunal,
Agreed with what you had to say.
In my experience, 'modular coding' is entirely a process of evolution.
It's impossible to sit down and design software on paper. Every piece of
code I write is under constant evaluation. Each time a weakness is
exposed, I rethink my
Hi,
After the help given on my last script I got a bit more advanced. I am
trying to write a user auth script and start sessions. I wrote this script
and ran it and I am getting an error on line 4. Once again I cannot see any
problems. I would appriciate you experienced guys casting your eyes
Found 1 schoold box error AGAIN I ended line 4 with : not ;
I am now getting the parse error on line 64
Can anyone review this script and tell me where I am going wrong.
Thanks,
Matt.
SCRIPT
START--
?php
Hey,
The entire concept of OOP was based on the data and not the processing :)
But, no one has yet addressed the core of my question. How can I make any
application plugable? I am trying to create a standard which will work with
every other language. A simple example of what I am attempting to
I have apache compiled and working %100.
I have www.mydomain.com
when I visit thie domain apache loads index.html for my by default - wo my
browser displays www.mydomain.com - but the page viewed is
www.mydomain.com/index.html
I updated index.html (did not touch any apache configuration)
I am now getting the parse error on line 64
$sql_authorisation = SELECT * FROM account_details WHERE
account_name='$login_username' AND
account_password=PASSWORD('$login_password');
You're missing the closing on the last line above.
--
PHP General Mailing List (http://www.php.net/)
To
Hi,
is there someone who can give me some tips to rotate a text-box with
pdf-lib functions? I've tried with pdf_rotate(...), but i've been not able
to write a thing in other ways than horizontal.
Thanks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
got the apache thing sussed.
For some reason windows using ie takes doesn't see changed on the apache
webserver as quick as linux ???
-Original Message-
From: Matthew Darcy [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 11:58
To: PHP developers
Subject: [PHP] not really a php
Turn caching off in IE while you're developing ... or hit refresh so you
get the new page.
- Original Message -
From: Matthew Darcy [EMAIL PROTECTED]
For some reason windows using ie takes doesn't see changed on the apache
webserver as quick as linux ???
--
PHP General Mailing
never mind Matt,
I noticed the missin ); on line 65
Thanks for your help.
Matt.
-Original Message-
From: Matt [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 12:05
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: Re: [PHP] user auth script update.
I am now getting the parse
Hey,
I am trying to zip an entire directory and its contents on the fly. Any tips
or codes snippets for doing something like this? The one at zend doesnt seem
to be working for me :(
Regards,
Kunal Jhunjhunwala
Minds think with ideas, not information. No amount of data, bandwidth, or
processing
By default, a session (created with session_register) seems to last just
as long as the user has their browser open. If a user quits the
browser, the session is automatically destroyed.
I want a session to last indefinitely (or until my program destroys
it). There are some hints about how
Hey Kunal,
The entire concept of OOP was based on the data and not the processing :)
No, this seems too much of a simplification. In the 'good old days' we used to design
a program by using a
flowchart. Such is an entirely procedural/code-based approach. Each of the
philosophies that
Peter J. Schoenster wrote:
to all instances and sessions. It is for example very useful to
track different users at the same time, or to send messages from
one session to another, or the likes.
Well it started from the above where some guy said this magic
could track users. I assumed the
php-general Digest 16 Feb 2002 13:34:08 - Issue 1175
Topics (messages 84990 through 85029):
Re: The ASP application object in PHP?
84990 by: Michael Sims
84994 by: Tom Rogers
84995 by: michael kimsal
84997 by: Joshua Hoover
84998 by: Tom Rogers
Hello everyone,
I am searching for an alternate way to accomplish user synchronization.
I would like two or more users to block on the read of some stream, so that when one
person writes to it, the other person(s) will read it. The only way I currently know
to do this is with the socket
Anyone know of a good text editor for linux, WITH syntax highlighting for
php/html + other languages?
- TOrkil
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hi there,
I just installed my first linux box and I have problems on configuring php
for my needs.
It does not matter what I do to php.ini, nothing is changing. And yes, I did
restart apache. I thought php4.1.1
comes with gd2.0 build in, like on windows distrib. but it does not. I
compiled
Hey DN,
The Guestbook was an example of what im trying to do. I am NOT coding a
guest book...
Regards,
Kunal Jhunjhunwala
Minds think with ideas, not information. No amount of data, bandwidth, or
processing power can substitute for inspired thought. - Clifford Stoll
- Original Message -
there is a way of using vi/vim to highlight syntax with PHP and HTML.
I am playing with it at the moment.
Matt,
-Original Message-
From: Torkil Johnsen [mailto:[EMAIL PROTECTED]]
Sent: 16 February 2002 13:45
To: [EMAIL PROTECTED]
Subject: [PHP] Text editor for linux
Anyone know of a
I think changing a setting in php.ini will do it, I'm just not sure
which one. session.cache_expire seems like it might do something, or
maybe session.gc_maxlifetime. Look them up in the manual
-Original Message-
From: Nigel Gilbert [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February
Hi Justin, are you using ?php session_start(); ? at the top of every page
you want to keep the session?
Cheers, Joe :)
Justin Deutsch [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi All,
I am running Apache with PHP4 as a module. I have also written a
Is currently anyway of doing scheduled tasks with PHP (without using
crontab)?
What's wrong with using cron?
I'm building an OSS site where the PostgreSQL data base maintenance,
email sending, stats gathering, number crunching and graph plotting
needs to be automated. My target audience
Hi Nigel, you could set a cookie once they enter your site, and check at the
top of each page you want accessible with this variable to see if they have
it or not.
Joe :)
Nigel Gilbert [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
By default, a session
Hi list,
I'm using IE5 on Mac with MacOS 9.2.2.
I've made a script that use session_register(), but even when I quit the
browser the values registered with session still there.
Ex: I run the script, quit the browser, reopen it and do an echo($myvar)
and, the value is there, didn't expire.
How
At 06:41 AM 2/16/2002 -0800, [EMAIL PROTECTED] wrote:
Is currently anyway of doing scheduled tasks with PHP (without using
crontab)?
What's wrong with using cron?
I'm building an OSS site where the PostgreSQL data base maintenance,
email sending, stats gathering, number crunching and graph
Maybe the content of the page is cached. Try to reload/to clear the cache of the
browser.
Best regards,
Andrey Hristov
- Original Message -
From: Rodrigo Peres [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Saturday, February 16, 2002 4:50 PM
Subject: [PHP] My Session don't expire
Hello!
From my understanding of your question, I'd say that you'll
have to configure Apache so that it calls PHP for XML-files,
too. You can set this up in your either .htaccess files or
in your Apache config file (- see the docs, I don't know
exactly 'cos I'm using IIS/5.0 with Win2k). This is
Whoops, sent you a wrong .htaccess - file, here's
what I really use (the other one was old):
AddType application/x-httpd-php .php .php4 .htm .html .xml .xhtml
DirectoryIndex index.xml index.xhtml
IndexIgnore .htaccess .htpasswd
--
Christian Blichmann
I am using Komodo from Active State. http://www.activestate.com
It runs in windows and Linux.
On Sat, 2002-02-16 at 09:17, Matthew Darcy wrote:
there is a way of using vi/vim to highlight syntax with PHP and HTML.
I am playing with it at the moment.
Matt,
-Original Message-
Rite, a user logs in at http://localhost/employers/login.php and PHP sets a
cookie, eusername, that has his username, funnily enough.
then he clicks on to the /employers/search.php, submits his query and clicks
on the page of http://localhost/freelancers/some_guy/index.php
When I have a bit of
email me if you dont understand something about my question. I read it back
to myself, and it all sounds so complicated!
TIA
Georgie Casey [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Rite, a user logs in at http://localhost/employers/login.php and PHP sets
a
Hi guys,
I am not sure if this is possible. Not on my knowledge, but maybe someone is
smarter than I am :-)
I want to pass an icon to a function. Therefore I am putting all the html
into a var called icon.
Inside this html their is another variable with an array which value is set
inside the
On 16 Feb 2002, at 8:37, michael kimsal wrote:
I don't believe the original poster you quote really had/has
a firm grasp on what it actually does.
The tried and true example is a hit counter. No matter who hits a
page, if that page increases an application variable called counter
for
On Sat, 2002-02-16 at 05:55, Andy wrote:
Hi there,
I just installed my first linux box and I have problems on configuring php
for my needs.
It does not matter what I do to php.ini, nothing is changing. And yes, I did
restart apache. I thought php4.1.1
comes with gd2.0 build in, like on
Well, as long as you use double quotes: the variables will be parsed
inside you statement... single quotes however mean the exact string...
example:
$icon = 1.jpg;
$str = this is the image $icon;
$str2 = 'this is the image $icon';
print $str; // returns: this is the image 1.jpg
print $str2; //
Christian, never mind, my fault. It's working beauthifully now. Thanks so
much for the help! Save my weekend!
Jim
Jim Hankins [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Christian, when I changed the AddType to include .htm .html .xml and
.xhtml
now even
Hello =)
I have a template stored in a database which contains variables. Then, in a
separate file, I have the variables set, and I call the template and run it through
eval(). Unfortunately, it only is parsing a few of them. Could somebody take a look
and give me some input?
Thanks
OK so it's not working. I was having cache issues, so it now displays as
text instead of xml but does process the ?php ? commands. I'm close, any
ideas what I need to do? Do I need to now place some kind of header in all
my xml files or is there some type of apache config that needs changing?
Hi list
I have some buttons made in photoshop in .gif format. This buttons have
round corner, feather, multiple colors etc. There's a way to open it with
php and write some text to it. I know that is possible to create images, but
what about to change them??? I need to do this because the text
On Saturday, February 16, 2002, at 07:43 AM, Nigel Gilbert wrote:
By default, a session (created with session_register) seems to last
just as long as the user has their browser open. If a user quits the
browser, the session is automatically destroyed.
I want a session to last
On Friday, February 15, 2002, at 03:03 PM, Rodney Davis wrote:
Is currently anyway of doing scheduled tasks with PHP (without using
crontab)? For example, using an email script to send out e-mail
reminders every Monday or something like that?
One way to do it (stole this from my
button.php
?php
Header(Content-type: image/gif);
$string=str_replace(%20, , $string);
$theimage = images/ . $button ..gif;
$im = imageCreateFromgif($theimage);
$white = ImageColorAllocate($im, 255, 255, 255);
$font = /fonts/VERDANAB.TTF;
$box = imagettfbbox ( 12, 0,
But very many commercial sites, including Apple and Amazon to name two,
do exactly this. When you re-enter the site they 'remember' who you are
using a cookie. In my case, I'm building a multi-player strategy game
and while I want the players to go through an initial briefing the first
time
ya its completly possible..
I've never done it, but I'm sure I read how to over at phpbuilder.com
Andrew
- Original Message -
From: Rodrigo Peres [EMAIL PROTECTED]
To: PHP [EMAIL PROTECTED]
Sent: Saturday, February 16, 2002 7:49 PM
Subject: [PHP] Change gif image with php
Hi list
I
Rodrigo,
I've been struggling with this for some time, so here goes:
The php4 builds do not support .gif files, you'll need to change your files
to .jpg or .png format, or use php3 (I can't change to php3).
I use imagecreate() func. before imagecreatefromjpeg() func. because if I
didn't do
What do people think about making a cron job call a page by doing a lynx
http://www.site.com/automatedtasks.php every hour?
-Original Message-
From: Michael Sims [mailto:[EMAIL PROTECTED]]
Sent: February 16, 2002 9:59 AM
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP]
What do people think about making a cron job call a page by doing a lynx
http://www.site.com/automatedtasks.php every hour?
-Original Message-
From: Erik Price [mailto:[EMAIL PROTECTED]]
Sent: February 16, 2002 3:02 PM
To: Rodney Davis
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] scheduled
Rodrigo,
I've been struggling with this for some time, so here goes:
The php4 builds do not support .gif files, you'll need to change your files
to .jpg or .png format, or use php3 (I can't change to php3).
This is not true. GIF support depends solely on the version of the GD
library PHP
Hi!
You can find details at the next link:
http://endi.go.ro/ml.htm
__
Do You Yahoo!?
Yahoo! Sports - Coverage of the 2002 Olympic Games
http://sports.yahoo.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Hello,
Everything works with the FTP connection...but
I have a problem with the address at ftp_rawlist.
I tried / to see the root directory and it didn't accepted it...
What is rong?
Artemis Mendrinos.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit:
Test please ignore
Just a test to see if I am on the list yet.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there a way to fake adding images with a constrained size as appose to a
scale?
I am trying to build a dynamic catalog, but I want all images the same size
and not scaled.
I am sure the response will be to make them all the same size before using
pdf_place_image, but the items change
I am looking for a good manual or introduction on how to write readable,
extensible code (in any programming language). To give you an example,
this bit looks pretty darn horrible and I just don't know how to
rephrase it to make it more concise and readable:
- snip
But very many commercial sites, including Apple and Amazon to name two,
do exactly this. When you re-enter the site they 'remember' who you are
using a cookie. In my case, I'm building a multi-player strategy game
and while I want the players to go through an initial briefing the first
At 12:26 AM 2/17/2002 +0100, Frank Joerdens wrote:
I am looking for a good manual or introduction on how to write readable,
extensible code (in any programming language). To give you an example,
this bit looks pretty darn horrible and I just don't know how to
rephrase it to make it more concise
I have a template stored in a database which contains variables. Then,
in a separate file, I have the variables set, and I call the template and
run
it through eval(). Unfortunately, it only is parsing a few of them.
Could
somebody take a look and give me some input?
Here's what my
I am trying to develop a music scheduling system on Windows using the
command line to fire off WinAMP. The first exec works fine, then it
stops
and says that program execution time has been exceeded.
An example would be:
exec (winamp.exe M01.mp3);
a while loop kicks off the second. I
Anyone know of a good text editor for linux, WITH syntax highlighting for
php/html + other languages?
Vim - http://www.vim.org/
If you use X, then use gvim.
Greg Donald - http://destiney.com/
http://phprated.com/ |
Nedit, Bluefish are also good under X
-Original Message-
From: Greg Donald [mailto:[EMAIL PROTECTED]]
Sent: Saturday, February 16, 2002 7:22 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] Text editor for linux
Anyone know of a good text editor for linux, WITH syntax highlighting
for
Im trying to control the way a new window opens when submiting
a form.
When I do it from a regular button, I use:
p align=center a href="#pv"
>rollbars=0,width=300,height=340,top=150,left=150');return
true
and it works, it opens the new window, but Im
not transferring any values
php-general Digest 17 Feb 2002 01:40:02 - Issue 1176
Topics (messages 85030 through 85076):
php blocking functions
85030 by: Sofhian Mahat
Text editor for linux
85031 by: Torkil Johnsen
85034 by: Matthew Darcy
85044 by: Jackson Miller
85074 by: Greg
Perfect! Thank you, my mind was out in left field somewhere.
On Tue, 12 Feb 2002, DL Neil wrote:
Hi Scott,
In my constant effort to improve my perl conversion project, I have a
question regarding file reading. I am taking two files and combining
them in an array and then writing out
More info on my latest issue regarding the integrating of xml and php for
dynamic xml documents
Thanks for help, could use another assist if you have a moment. When I used
the method of using the application it worked only the output is text not
xml, ie it does update the dynamic information
Hi,
I was trying out this breadcrumbs code found at evolt.org:
http://www.evolt.org/article/Breadcrumbs_for_PHP_Lovers/17/4455/
and tried it on my site. The same problem as documented on that page
exists on my page, being that it doesn't include any directories between
the home and the current
Two questions:
1) Is it possible to write an array to a file?
2) Is it possible to specify the name of the key to each item of an array
when you get the array using file().
Thanks a lot.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Since you're assuming Javascript anyway, you can use a input
type=button instead of input type=submit and use the same
javascript code as for the a href, just that you append a
document.forms[0].submit().
HTH
Bogdan
webmaster mbtradingco wrote:
I'm trying to contro l the way a new window
ThanksÂ… I hope you can assist me a little more.
I put the text like this:
input type=Button value=Enviar
style=background-color: #E9B361
onClick=window.open('php/encuesta.php','1','scrollbars=0,width=300,heig
In article [EMAIL PROTECTED],
[EMAIL PROTECTED] (Clark) wrote:
1) Is it possible to write an array to a file?
http://php.net/serialize
http://php.net/fopen
http://php.net/fwrite
2) Is it possible to specify the name of the key to each item of an array
when you get the array using file().
ThanksÂ… I hope you can assist me a little more.
I put the text like this:
input type=Button value=Enviar
style=background-color: #E9B361
onClick=window.open('php/encuesta.php','1','scrollbars=0,width=300,heig
Hi,
I am learning how to use the PHP Java extension. I used the example
script/codes found in the PHP Java documentation:
?php
// get instance of Java class java.lang.System in PHP
$system = new Java('java.lang.System');
// demonstrate property access
print 'Java
You should make up your mind - do you want to use the form in order to
carry the data (use submit()) or do you want to submit the data via URL
(GET method - using window.open()). You can't use both!
Bogdan
webmaster mbtradingco wrote:
Thanks... I hope you can assist me a little more.
I
On Sunday 17 February 2002 04:10, Nigel Gilbert wrote:
But very many commercial sites, including Apple and Amazon to name two,
do exactly this. When you re-enter the site they 'remember' who you are
using a cookie. In my case, I'm building a multi-player strategy game
and while I want the
Does anyone know if it is possible to have a script declare a variable and make it
accesible by any script started by any browser?
Hello everyone,
I have a problem. I have a test database (used to learn MySQL) with a
table called customers and a field called email. The email field is set
to be unique, so I know that by using: $query = select email from
customers where email = $email; I will get one cell with the e-mail
I'm working on some PHP code to make it possible for a PHP
script to do net send messages.
Here's what I have so far, I've been successful sending
to localhost with it on a Windows machine.
If folks could try this out and make suggestions on how to
improve it, I'd be very appreciative...
I'm sorry but I cant seem to make it work.
The form instruction is now:
form method=get onSubmit=submitonce(this)
The Button Instruction is now:
input type=Button value=Enviar style=background-color: #E9B361
I get a parse error using my CGI version of PHP on the
following line:
$message = $$this-func_name($string);
However, the same above line works fine with my ISP's
CGI version of PHP.
The first thing that jumps to my mind is that my ISP's
CGI version could have been compiled with some
At 11:22 PM 2/16/2002 -0800, Anas Mughal wrote:
I get a parse error using my CGI version of PHP on the
following line:
$message = $$this-func_name($string);
However, the same above line works fine with my ISP's
CGI version of PHP.
That is strange. Just for kicks, try using curly braces to
Thank you very much...
This worked:
$message = ${$this-func_name($string)};
and, this worked: (I am going to stick with this)
$message = ${$this-func_name}($string);
However, this did NOT work:
$message = ${$this}-func_name($string);
Lesson learned: I need to enclose the function
88 matches
Mail list logo