check out http://www.webhostingtalk.com
On Fri, 9 Jul 2004 06:34:00 +, Curt Zirzow
<[EMAIL PROTECTED]> wrote:
> * Thus wrote Ed Lazor:
>
>
> > Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net,
> > ServerBeach.net, or CIhost.com? I'm looking for value, reliabilit
I have a suggestion that would allow you to take charge of what is going on
with your sessions. Install your own session handler routines, storing your
own session data in your own database table. These functions would need to
be loaded on each page before you execute the session_start() function
* Thus wrote My Self:
>
> or using the default handler, and the /tmp dir is full.
where /tmp being the local value for your session.save_path ini
setting.
Curt
--
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about. No, sir. Our model is the
* Thus wrote Jason Barnett:
> >On garbage collection, it happens sometimes within seconds and sometimes
> >within minutes. It tends to occur in batches with lulls of 20 to 30
> >minutes. So, for example, I can login, navigate through 11 different pages
> >to generate the problem, navigate 2 pages
Edward Peloke wrote:
I have a site where the user currently enters their data into a local db,
then goes to another site and enters it for the state mls, then uses
realtor.com to enter it for that mls, they want one form where they can
enter the date and have it go to all three. Has anyone worked
On garbage collection, it happens sometimes within seconds and sometimes
within minutes. It tends to occur in batches with lulls of 20 to 30
minutes. So, for example, I can login, navigate through 11 different pages
to generate the problem, navigate 2 pages to generate the problem, and then
not s
* Thus wrote Ed Lazor:
> Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net,
> ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and
> quality support. Any other recommendations are also greatly appreciated.
Out of 1000's of solutions I'd probably sugge
* Thus wrote Gunter Sammet:
> Hi all:
> Tried to use fopen like this:
>
> fopen([EMAIL PROTECTED]:[EMAIL PROTECTED]);
I hope you have some sort of quotes around that.
>
> Didn't work and I couldn't find anything out on the search engines.
You simply cant have @ or : in the username, it violate
Thanks Jason, I'll keep the information handy for creating my own session
handler in case other options I'm exploring right now don't work.
On garbage collection, it happens sometimes within seconds and sometimes
within minutes. It tends to occur in batches with lulls of 20 to 30
minutes. So, fo
I populated the guest's name statically so I can see how the loop works. The
looping is wrong and it only yields 7 rows. In the first row it has 1 column
of data, the second row has two columns of data, the third one has three
columns of data, and so on. How do I fix it to where each date column h
Hey, does anyone have experience hosting PHP / MySQL apps on EV1servers.net,
ServerBeach.net, or CIhost.com? I'm looking for value, reliability, and
quality support. Any other recommendations are also greatly appreciated.
-Ed
Ed Lazor wrote:
What kind of problems could be happening server-side that would result in
PHP sessions randomly disappearing? And, is there a way to log or track
this information? Oh, and best of all, any recommendations on solutions?
To try logging this, you probably need to make your own sessio
Hi all:
Tried to use fopen like this:
fopen([EMAIL PROTECTED]:[EMAIL PROTECTED]);
Didn't work and I couldn't find anything out on the search engines.
Any suggestions how to get this working?
TIA
Gunter
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.ne
Peter Clarke wrote:
Currently the online manual for php is great.
My concern is that the documentation for PECL extensions is almost
non-existent. Since some php extensions are being moved/replaced by PECL
extensions are we going to get non-existent documentation?
Hi there,
You might want to get
I'm not sure, but I think he meant he wanted both (1) a list based
on elements in a database and (2) a element where the client
would enter something that does not appear in the list.
If so, you could use a script that uses the records in your database and
has a final for "Other". For instanc
It could be a case that your provider is load balancing across several
machines. If they are, and they aren't storing the session data in a
central location, then that might account for the issue.
That would explain the intermittent failure. The user might be making
keepalive requests to the sa
What kind of problems could be happening server-side that would result in
PHP sessions randomly disappearing? And, is there a way to log or track
this information? Oh, and best of all, any recommendations on solutions?
I have a PHP / MySQL application that's been running at a host provider fo
On Friday 09 July 2004 10:41, Curlys wrote:
> I would like to ask another help from u all ,
> I have an data submitable form . There is some fields. It is connected with
> mysql database. so I want to put to these fields as drop down list as well
> as text input area. say , if when i adding data
hi ,
I would like to ask another help from u all ,
I have an data submitable form . There is some fields. It is connected with mysql
database. so I want to put to these fields as drop down list as well as text input
area.
say , if when i adding data , if it is in the database there should be
> Im trying to do something like sprintf() because I would like to have
> control over placeholders. The code I've posted works for the most part,
> but when I introduce content that has the same characters as my
> placeholders (%s and %i), it breaks to hell... Anyone got any ideas on
> how to fix,
I wrote this in plain text. I hope it came out well...
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 9:02 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] Creating Rows and Columns Using for() Loops
Chris,
It's a little difficult to do in
Chris,
It's a little difficult to do in ascii, but here's an attempt. This is a
simple hotel/motel log of who's staying in certain rooms. The 7 columns are
the 7 days in the week and guest names fall under whichever date they
checked in. So, let's see if I can give you a visual representation of t
Im trying to do something like sprintf() because I would like to
have control over placeholders.
The code I've posted works for the most part, but when I introduce content
that has the same characters as my placeholders (%s and %i), it breaks to
hell...
Anyone got any ideas on how to fix, or tel
On Thu, 8 Jul 2004 18:17:25 -0500, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> for ($i = 0; $i < count($num_days); $i++) {
[snip]
> for ($j = 0; $j < 32; $j++) {
[snip]
> }
[snip]
> }
> How do I fix it to where each date column has
> exactly 32 rows of guest names?
it looks like you n
Don wrote:
Hi,
Using a a flat text file based calendar script.
Started getting this error after upgrading PHP:
Warning: fread(): Length parameter must be greater than 0
Function it is occurring in is:
function read_str($fp)
{
$strlen = $this->bin2dec(fread($fp,4),4);
return fread($fp, $str
Hi,
Using a a flat text file based calendar script.
Started getting this error after upgrading PHP:
Warning: fread(): Length parameter must be greater than 0
Function it is occurring in is:
function read_str($fp)
{
$strlen = $this->bin2dec(fread($fp,4),4);
return fread($fp, $strlen);
Hello Everyone,
I have an HTML table with 7 columns and 32 rows, not including table headers
and footers. I want to create a tabular data table that spans 7 columns and
32 rows. I get my info from MySQL and use for() loops to loop through two
types of arrays. An array containing the dates (the col
Try with eval() function.
"Martin Bálint" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hello,
>
> is this possible?
>
> I have a script stored in mysql database. For simplicity let's say:
>
> phpinfo();
> ?>
> is stored in db.
>
> Is it somehow possible to include this script
There is a sample flash slideshow at this site, complete with Ming code, see
if it's what you were looking for.
http://www16.brinkster.com/gazb/ming/index.html
Warren Vail
-Original Message-
From: David Bevan [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 08, 2004 3:30 PM
To: [EMAIL PR
I don't understand :)
"John Nichel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> John W. Holmes wrote:
> > Trust me.
>
> Riggtt. Like we're going to trust the likes of you.
> I guess the cheque's in the mail too, eh? ;)
>
> --
> By-Tor.com
> It's all abou
Ok - thie is enought for me - to see the adres of proxy server. :)
"Tim Van Wassenhove" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> In article <[EMAIL PROTECTED]>, Rosen wrote:
> >:)
> > Ok - then how linux server communicate with client - the server must
have IP
> > adress to wh
Hello.
I just installed PHP 4.3.7 with PNG, ZLIB and JPEG support. All (after some
troubles) goes well.
But, when I try to start apache I get the following error:
Syntax error on line 261 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp4.so into server: libpng.so.2: cannot
open
Hello,
is this possible?
I have a script stored in mysql database. For simplicity let's say:
is stored in db.
Is it somehow possible to include this script to a running php process for
execution? Some analogy to include(file); but for a mysql stored script?
Thanks
Martin
--
PHP General Mai
The only way I can think of to create a slide show with PHP, not that
you would need to use the PHP engine at all would be to use a meta
refresh in/on each page to move to the next slide and possibly provide
the user with a button/link they could click on to advance the slides.
Your other idea abou
Philip Olson wrote:
on the contrary:
sql = mysql_query("select * from users where name='".$name."'");
will simply look for a user with a name of "Jim; delete from users;" and
return no results found.
But I can also enter:
jim'; delete from users
You need to catch if there's a quote in the $name too
Check out http://ming.sourceforge.net/
Ming is a C library for generating SWF ("Flash") format movies, plus a set
of wrappers for using the library from C++ and popular scripting languages
like PHP, Perl, Python, and Ruby.
There is also a book out on PHP and multimedia that has a chapter or two
d
In article <[EMAIL PROTECTED]>, Rosen wrote:
>:)
> Ok - then how linux server communicate with client - the server must have IP
> adress to whitch to send data.
>> Rosen wrote:
>>
>> > IP adress not send ?!? And how server communicate with client ?
For example people on a lan (with let's say
Hi,
I am looking for an IVR system that would allow a person to call a
number (via telephone), and then using the keypad to send commands that
are processed by a PHP script which—after hitting a mySQL database a
few times—responds with a value (success/failure) which then is played
back to the
> In article <[EMAIL PROTECTED]>,
> Philip Olson wrote:
>> One thing to remember is mysql_query() will execute just one (the first)
>> query so use of ; won't do anything in the above except break the
>> query.
>
> If i'm not mistaken, newer versions of mysql do allow multiple queries.
I've heard
In article <[EMAIL PROTECTED]>, Philip Olson wrote:
> One thing to remember is mysql_query() will execute just one (the first)
> query so use of ; won't do anything in the above except break the
> query.
If i'm not mistaken, newer versions of mysql do allow multiple queries.
> (once) and put s
Hi Andrew,
This one helped me a lot:
http://www.devshed.com/c/a/PHP/Socket-Programming-With-PHP/
This isn't a tutorial, but good sample code for a multi-client chat
server:
http://dave.dapond.com/socketselect.phps
...Rene
On Monday, July 5, 2004, at 12:39 PM, Andrew wrote:
Hi guys,
Can somebody p
Matthew -
<<<
Part of getting the slideshow to work is making the browser switch to the
next image and well, PHP doesn't really make the browser do anything.
>>>
As I was thinking about it before posting this thread, that was my
impression. The problem with my javaScript app is the fact that it
[snip]
p.s. do you use backticks in all your qeuries?
[/snip]
It's just a good habit! :)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Thu, 8 Jul 2004 13:14:50 -0500, Jay Blanchard
<[EMAIL PROTECTED]> wrote:
> Do it with SQL
>
> SELECT DISTINCT(SUBSTRING(`productName`, 1, 1)) FROM `productTable`
>
> will give you only one of each of the starting letters that actually
> occur in your database.
good job. that works great. it's
I have created a script that authenticates to an Active Directory
server. This script works when I try to login, but the problem is that
I have to bind to be able to get "my" dn to be able to authenticate,
but I need authenticate first to be able to get "my" dn. Chicken before
the egg problem.
> 1. pull a list of products from the database
> 2. truncate each product id down to it's first letter
> 3. remove all the duplicates
> 4. use this list to build the links.
I would let sql do some of the work.
select count(*) from products where product_name like 'A%'
if count does not return 0
[snip]
currently each letter is hyper linked but i'd like to only link the
letters that have an occurrence in the database. in other words, if
there are no products in the database that start with the letter 'Z'
then i don't want it to have a hyper link.
[/snip]
Do it with SQL
SELECT DISTINCT(SUB
I doubt this function is going to make your script more efficient, but you could also
make use of the array_intersect () function.
-Original Message-
From: barophobia <[EMAIL PROTECTED]>
Sent: Jul 8, 2004 10:47 AM
To: php-general <[EMAIL PROTECTED]>
Subject: [PHP] Link only active letter
hello.
in an effort to more easily find products in the cart i'm building
i've given the ability to the user to click a letter from the alphabet
to search for all products whose product id starts with that letter.
currently each letter is hyper linked but i'd like to only link the
letters that ha
Thank you Chris. I finally got the solution to my problem using the
pack/unpack functions as you adviced me. The solution is:
X-Powered-By: PHP/4.1.2
Content-type: text/html
4
***A*** // This is "\0\0\0A"
Chris wrote:
Are you trying read the string '\0\0\0\0x41' from a file? or are you
trying
I tried the following and it didn't work:
X-Powered-By: PHP/4.1.2
Content-type: text/html
**
It was supposed to output:
***65***
[EMAIL PROTECTED] wrote:
http://us4.php.net/manual/en/function.base64-decode.php
-Original Message-
From: Julio Sergio Santana <[EMAIL PROTECTED]>
Sent: Jul
Are you trying read the string '\0\0\0\0x41' from a file? or are you
trying to read these 4 bytes from a file: 0041 ?
If the latter:
The pack and unpack functions are designed to do this (and more). You
could also manually do it yourself with something like this:
$sBuff = "\0\0\0\0x41"; //
On Thu, 08 Jul 2004 11:49:24 +0200, Christophe Chisogne
<[EMAIL PROTECTED]> wrote:
> Shaun a écrit :
> > after lots of investigation it appears that it is just my laptop that won't
> > disply the variable, maybe because I am using Norton Firewall?
>
> Possible. The REFERER HTTP field is OPTIONAL
>
http://us4.php.net/manual/en/function.base64-decode.php
-Original Message-
From: Julio Sergio Santana <[EMAIL PROTECTED]>
Sent: Jul 8, 2004 9:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] How can I write/read encoded numbers into/from a file?
I'm just starting with PHP, and I've been browsi
I'm just starting with PHP, and I've been browsing the whole manual to
find how to solve the following problem:
1. An integer number is internally represented in 4 bytes. Say, for
instance, number 65 is represented by 0x0041, that is the string
"\0\0\0\0x41", and not the string "65".
2. How
> > on the contrary:
> > sql = mysql_query("select * from users where name='".$name."'");
> >
> > will simply look for a user with a name of "Jim; delete from users;" and
> > return no results found.
>
> But I can also enter:
> jim'; delete from users
>
> You need to catch if there's a quote in
The best way to do a slide show in my opinion is with SMIL, even though
you need a plug in to view it.. SMIL is what's used in MMS.
you can generate you SMIL with MMS - as we have done in our MMS composer.
--
Raditha Dissanayake.
-
http://www.raditha.co
> I do have a JavaScript based "SlideShow", however, I would like to use
> PHP rather than JavaScript. Is there a way to "loop" with PHP and
> "display" an image without re-displaying the whole page?
>
> Todd
To get a good slideshow you'll need to use client side instructions, aka
javascript. You
> Hi again.
>
> My code simply asks for a username and password but even if they insert
> incorrect details the called page is displayed.
>
> How can I get them to be redirected to another page if their login
> information is incorrect...?
>
> echo "registerd users login here please...";
> echo
Great, i must have done something wrong, it works for me now.
Thanks for all your help :)
Andrew
Tom Rogers wrote:
Hi,
Thursday, July 8, 2004, 3:38:41 AM, you wrote:
AN> Hmm ... this still echos 0 and not 1. I am using 4.3.7 with all
AN> warnings on.
AN> Does anyone know how to use this function
"Keith Lawrence" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi there,
>
> I'm a web-developer and I work with PHP as often as I can (it's infinitely
> preferable to ASP) and as a result of this I end up coding in lots of
> different environments. Our local dev server is a windows
Oh!
:-)
Thanks...
John Nichel wrote:
Afan Pasalic wrote:
Daniel Kullik wrote:
Note: You should checkout the thread 'Form Submission' started on
July 6th since this is appearently not the best way to check if the
user hit the submit-button.
Daniel
July 6th? What are you talking about? Can you p
John Nichel wrote:
Afan Pasalic wrote:
Daniel Kullik wrote:
Note: You should checkout the thread 'Form Submission' started on
July 6th since this is appearently not the best way to check if the
user hit the submit-button.
Daniel
July 6th? What are you talking about? Can you please give me more
I have a site where the user currently enters their data into a local db,
then goes to another site and enters it for the state mls, then uses
realtor.com to enter it for that mls, they want one form where they can
enter the date and have it go to all three. Has anyone worked with
interfacing with
Afan Pasalic wrote:
July 6th? What are you talking about? Can you please give me more info
about that?
afan
Daniel Kullik wrote:
Note: You should checkout the thread 'Form Submission' started on July
6th since this is appearently not the best way to check if the user
hit the submit-button.
Da
Afan Pasalic wrote:
Daniel Kullik wrote:
Note: You should checkout the thread 'Form Submission' started on July
6th since this is appearently not the best way to check if the user
hit the submit-button.
Daniel
July 6th? What are you talking about? Can you please give me more info
about that?
a
July 6th? What are you talking about? Can you please give me more info
about that?
afan
Daniel Kullik wrote:
Note: You should checkout the thread 'Form Submission' started on July
6th since this is appearently not the best way to check if the user
hit the submit-button.
Daniel
--
PHP General
Harlequin wrote:
I have a user registration form that asks new users to register. However, Do
I post the MySQLconnection string in the page they are completing or in the
later page that the data is posted to, or both...?
You ought to tell your registration-page to redirect to itself right
after th
Harlequin wrote:
Hi again.
My code simply asks for a username and password but even if they insert
incorrect details the called page is displayed.
How can I get them to be redirected to another page if their login
information is incorrect...?
How are you checking the result? From a db? If so, run
Harlequin wrote:
I have a user registration form that asks new users to register. However, Do
I post the MySQLconnection string in the page they are completing or in the
later page that the data is posted to, or both...?
Not sure I follow what you're asking, but you only need to open a
connection
On Thursday 08 July 2004 09:59 am, Harlequin wrote:
> I have a user registration form that asks new users to register. However,
> Do I post the MySQLconnection string in the page they are completing or in
> the later page that the data is posted to, or both...?
I don't think I understand your ques
Hi again.
My code simply asks for a username and password but even if they insert
incorrect details the called page is displayed.
How can I get them to be redirected to another page if their login
information is incorrect...?
echo "registerd users login here please...";
echo "";
echo "User
I have a user registration form that asks new users to register. However, Do
I post the MySQLconnection string in the page they are completing or in the
later page that the data is posted to, or both...?
--
-
Michael Mason
Arras People
www.arraspeople.co.uk
On Wednesday 07 July 2004 12:05, Keith Greene wrote:
> on the contrary:
> sql = mysql_query("select * from users where name='".$name."'");
>
> will simply look for a user with a name of "Jim; delete from users;" and
> return no results found.
But I can also enter:
jim'; delete from users
You nee
I do have a JavaScript based "SlideShow", however, I would like to use
PHP rather than JavaScript. Is there a way to "loop" with PHP and
"display" an image without re-displaying the whole page?
Todd
Alex Shi wrote:
Search google for javascript slideshow script. Javascript slideshow need
an arr
Currently the online manual for php is great.
My concern is that the documentation for PECL extensions is almost
non-existent. Since some php extensions are being moved/replaced by PECL
extensions are we going to get non-existent documentation?
For example:
www.php.net/mime-magic
"This extension
Hi,
Thursday, July 8, 2004, 7:38:49 PM, you wrote:
RD> Hello Tom,
RD> I have to admit I did look in there, but couldn't see anything
RD> relating to it (or how to specify it). But if it doesn't work on
RD> Windows anyway then I guess it's not much use! :)
RD> Best regards,
RD> Richard Davey
RD>
Hi there,
I'm a web-developer and I work with PHP as often as I can (it's infinitely
preferable to ASP) and as a result of this I end up coding in lots of
different environments. Our local dev server is a windows machine which acts
differently to the multitude of *nix boxes which our clients run.
John W. Holmes wrote:
Trust me.
Riggtt. Like we're going to trust the likes of you.
I guess the cheque's in the mail too, eh? ;)
--
By-Tor.com
It's all about the Rush
http://www.by-tor.com
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.p
Hi all,
Does anyone here have a version of PHP with --enable-memory-limit
compiled into it and a couple of minutes to spare? All I need is for
you to run a very simple script a couple of times and send me the
output. If you've got a PayPal account I'll even throw a few dollars
your way for the tro
Hello,
On 07/07/2004 10:49 AM, Josh Close wrote:
How can I post data without having it submitted from within a form?
With get I can just add it to the url. Is there a php function for this?
If you mean emulating POST form submission to a site of a given URL, you
may want to try this HTTP client cl
Hello,
On 07/07/2004 08:04 AM, Curlys wrote:
can some body help me to send an email attachment ( a log file ) from php ?
Actaually i need a real guide plz
You need to compose a multipart/mixed message with a text part that is
your message and the attached part with is your file.
You m
Shaun a écrit :
after lots of investigation it appears that it is just my laptop that won't
disply the variable, maybe because I am using Norton Firewall?
Possible. The REFERER HTTP field is OPTIONAL
-- See http1.1 spec (rfc2616) or this list archives.
So it's not a field anyone should rely upon.
Hello Tom,
Thursday, July 8, 2004, 10:27:20 AM, you wrote:
TR> php-x.x.x/main/config_w32.h is where they are set, but I don't think
TR> --enable-memory-limit will work in windows (at least I couldn't get
TR> it to report anything meaningfull :)
I have to admit I did look in there, but couldn't s
Hi,
Thursday, July 8, 2004, 6:56:17 PM, you wrote:
RD> Hi,
RD> Using the guide on the Zend site
RD> (http://www.zend.com/manual/install.windows.php#install.windows.build)
RD> I have successfully compiled and built the Win32 version of PHP using
RD> Visual C++. For now I am building the CLI versio
"Gerard Samuel" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On Wednesday 07 July 2004 05:43 pm, Shaun wrote:
> > Hi,
> >
> > Can someone tell me why
> >
> > echo '$_SERVER[HTTP_REFERER] = '.$_SERVER[HTTP_REFERER].'';
> >
> > Produces
> >
> > $_SERVER[HTTP_REFERER] =
> >
> > Is th
Hi,
Using the guide on the Zend site
(http://www.zend.com/manual/install.windows.php#install.windows.build)
I have successfully compiled and built the Win32 version of PHP using
Visual C++. For now I am building the CLI version - and it works just
great, but I have what is probably a very basic qu
I use the following script:
http://aidan.dotgeek.org/lib/?file=Visitor.php
As you've been told about 400 times, there's no reliable way to get the
information.
The above script checks if the client connected using a proxy, then falls
back to what the webserver sends.
"Rosen" <[EMAIL PROTECTED]
If you're receiving binary data back, this function may interest you:
http://aidan.dotgeek.org/lib/?file=function.hexdump.php
Also, why are you messing with chr etc?
$string = "\x00\x01\xFF";
etc.
"Coder_1024" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Thanks for the feedback
"Joe Harman" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hey everyone...
>
> I was curious if anyone out there has some pros and cons to storing a
> website template that is extracted from a mysql db and stored in a
> session... is this an efficient way to do it?
>
> also... does
===
Please feel free to add more points and send
to the list.
===
1. If you have any queries/problems about PHP
try http://www.php.net/manual/en first. You
can download a copy and use it offline also.
Please also try
htt
91 matches
Mail list logo