, that the return
comes pretty quickly.
On 4/12/01 11:01 AM, "Chris Anderson" [EMAIL PROTECTED] wrote:
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
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
My question:
are the groups all within different forms? does each for have a different
name? don't know, something to try.
On 4/11/01 5:05 PM, "Peter Houchin" [EMAIL PROTECTED] wrote:
even though i am putting them in an array?
like
input type="radio" name="avail[]" value="y" ? if
first [].
but, if you truly have separate form tags, the only data that is going to
get sent back, is the data within that for, doesn't matter WHAT the other
buttons in the other forms say.
personally, I try to stay away from multiple forms per page.
in a situation like yours sounds to
do you have php3 installed still?
if so, your mime types might be conflicting or something
On 4/10/01 3:35 AM, "Thomas Angst" [EMAIL PROTECTED] wrote:
I didn't get any further errors as this in /ver/log/httpd/error_log:
PHP Warning: Function registration failed - duplicate name - define in
You are not going to be able to use PHP to tell the client browser to do
anything.
you are going to have to embed either a java.applet, or javascript to do it.
I dont know a whole lot about either, so I don't know if they are even a
possibility.
On 4/10/01 2:29 PM, "Nando2" [EMAIL PROTECTED]
I stand happily corrected :)
On 4/10/01 7:01 PM, "Stuart J. Browne" [EMAIL PROTECTED] wrote:
"Lindsay Adams" [EMAIL PROTECTED] wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
You are not going to be able to use PHP to tell the client bro
I too, am trying to get this module, so that it will load with dl()
On unix, it is libpdf.so
So, if anyone can answer me this:
How do you compile a module under unix/linux for use with dl()?
Anyone, anyone?
Fry? Fry? Fry?
(sorry, little ferris buehler ref there.)
On 4/8/01 7:00 PM, "Jochen
Well, in this code, you are going to receive one line from your table that
displays the total number of records. And that is it. Here is a sample from
one of my tables, using the MySQL CLI:
mysql select count(*) from locker;
+--+
| count(*) |
+--+
| 47 |
+--+
1 row
No, your problem is most likely that you didn't do anything with the telnet
negotiation phase.
Read the RFC on telnet, and you will find that there is a whole
client-server negotiation phase going on. Kinda like a modem handshake.
It is really quite difficult, and no one has ported a Telnet
Ya know, you don't even have to go that far.
Now thati know more what you were looking for, after submitting a query
like: SELECT * FROM table
You will get all the data in your table.
In php, you will have a $result to access that array of data
(mysql_fetch_array(),
It can really depend on your system.
On mine, for instance, it uses regular crypt() with a 2 character salt
So, you can generate a random 2 character string to pass as the salt
argument in php, and create it that way.
IF that is the method used by your system
Wanna test it?
Peek inside
the negotiation part.
http (port 80) is just raw socket transport. telnet (port 23) is not.
so, communication like you want is possible, just don't count on a real
telnet connection right yet.
On 4/9/01 3:27 PM, "Matthias Winkelmann" [EMAIL PROTECTED] wrote:
-Original Message-----
Fro
p so that the number of columns is
dynamic, and I am sure there is a cleaner way of doing multiple columns,
without putting all the database stuff into an array, BUT, this shows you
how the code works, and what it looks like
On 4/9/01 3:06 PM, "DRN" [EMAIL PROTECTED] wrote:
Lindsay
On 4/9/01 6:38 PM, "Christian Dechery" [EMAIL PROTECTED] wrote:
At 10:23 10/4/2001 +0900, you wrote:
IIS ISAPI(PHP4.0.4pl1 and PHP4.0.5RC1) does not work well for me and too many
problems. So I switched to Apache. However, ob_implicit_flush() seems slows
things down on W2K/Apache/PHP4.0.4RC1
On 4/10/01 6:22 AM, "Jacky" [EMAIL PROTECTED] wrote:
Hi people
I am more like ASP programmer and new to PHP, In ASP, when we want to take all
records in dayabase to display. After we did do the query, we call " Do while
not RS.EOF ( mean do while not end of record file) , and display
Did you install php as a DSO? Or compile it into apache.
I was getting that error too, because I had installed it as an APXS DSO and
had unnecessarily included the line AddModule 'mod_php4.c' (not exact syntax
here)
After removing the AddModule line, and only using LoadModule php4_module
Sorry, this:
BTW, the format for an alias file is:
addr1, addr2, addr3
OR
should read
... The format for a mailing list file is:
...
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To
Weird.
My netscape 4.7x does not do this under the same circumstances.
(tried 4.7 4.75, 4.76, 4.77)
On 4/8/01 1:33 PM, "Claudia" [EMAIL PROTECTED] wrote:
Is there a way to initiate a pop up window containing a form using PHP code?
I am trying to use Javascript to popup a window which
No, I use my manual lists without a problem.
If I ever have to install on a system that does not allow normal use of an
alias table by a normal user, then I might try something else.
But under my resellers account on AIT, I get to do whatever I want with
aliases, and the lists work find =)
I
If you are sucking the scores off someones website, so you can put them into
a database (you should first get permission from site owner ;) )
But the process would be as follows in pseudo code (can't be done with just
SQL commands, btw.)
Get page
Find beginning and end of table, strip off
It is up just fine.
Try one of the mirror addresses as a backup
Like:
http://php.he.net
On 4/8/01 5:07 PM, "Kath" [EMAIL PROTECTED] wrote:
Can you traceroute it? Maybe that can pinpoint the cause of the problem for
you.
Works for me.
- Kath
- Original Message -
From:
Not that I am aware of, because all the referential integrity relating to
mysql, is in whatever code you write to access it. So you are going to have
to use C,Perl,PHP,Python, or something to access your data, and control
integrity.
Play with mysql queries in php. As long as you only do selects,
Assuming your items are in an array
$items =array() //assume a bunch of items in this array
For($i = 0; $i (count($items)/3); $i +=1){
printf("%s\t%s\t%s",$items[$i],$items[$i+3],$items[$i+6]);
}
Should print 3 columns of tab separated text.
Note: typed this quickly, untested, but the theory
I don't know why your query isn't working, but why aren't you using
phpMyAdmin's add field section?
Browse the tables definition page, and underneath the column descriptsion,
is a line that says Add new fields [textbox: #][popup:At End of
Database][button: Go]
That brings up a fully functional
tems[$i+3]/tdtd$items[$i+6]/td/tr
\n");
Or how about a here doc for php4
Print EOF
trtd$items[$i]/tdtd$items[$i+3]/tdtd$items[$i+6]/td/tr\n
EOF
The for loop stays the same, only the print statement changes.
Lindsay Adams
---
On 4/7/01 4:55 PM, "DRN" [EMAIL PROTECTED] w
Most likely, lynx is not in the PATH of the user that the webserver is
running as, and may not have permission, if it was.
Try telneting in and finding the absolute pathname to lynx, and user that in
your exec statement and see what happens. Might also help if you redirected
stderr to a file so
Okay, you may call me an idiot all you want,
But if the extension_dir= ./
In php.ini
And PHP is loaded as an apxs module in apache, then just where does ./ point
to?
ServerRoot?
DocumentRoot?
Some other directory?
Having a major brain in getting my .so into the right place.
Also, how can
This is offtopic, but easy
User javascript
Make your link =
a href="javascript:window.close();"linked item /a
If you are wanting to do it with PHP, stop.
PHP is server side only
http is connectionless, the server can't tell the client to close it's
window.
On 4/6/01 11:45 AM, "Wee Chua" [EMAIL
If you don't want to rewrite any of your existing code, consider the
behavior of frames.
If you make a frameset with a 0 height for the top frame, and then use the
bottom frame for everything, then the URL in the location/address bar in the
browser will not ever change.
This only requires that
By the way, I use the hidden frame solution, when I want to pass a bunch of
info in an A tag, without building a bunch of different forms on the page.
This was the easiest way for me to do it, in PHP3. PHP3 was all that I could
get installed on a Qube2 at the time of install.
I am working on
Yeah, crypt()
Don't forget the salt.
I did the same thing.
Moved all my users into a database table with unix encrypted passwords, and
run a function that dumps them all out to my /etc/passwd file.
It appends the database data onto a passwd.base file that I made, that
includes all the protected
On 4/5/01 10:56 AM, "Ashley M. Kirchner" [EMAIL PROTECTED] wrote:
I have a DB project going and every time I query the DB for data
from a particular table, I want to include a set of variables (that get
set based on the query result). I was thinking of doing something like
this:
On 4/5/01 3:56 PM, "Matt McClanahan" [EMAIL PROTECTED] wrote:
On Thu, Apr 05, 2001 at 01:40:54PM -0700, Richard Kurth wrote:
Is there another way to write this I would like to make it smaller
also How would I write it so it is a function and I would be able to use all
the data throughout
The reason it worked, is that you were setting the value of $HTTP_USER_AGENT
to "Mozilla" by using a single =
That operation was succesful, so the result was true.
Therefore the if() clause was being executed.
On 4/3/01 6:15 PM, "Wade DeWerff" [EMAIL PROTECTED] wrote:
ugh, ok, I was without
Yes, download the source and compile it.
Do not turn on the module options in ./configure.
I was able to compile my own standalone cgi version of PHP on my ISP without
issue.
If you download it, unpack it
Do
./configure
Make
And look in the bin directory of the source directory for your cgi
This is a question that is better directed to the mysql mailing list, not
php. It is also self evident in the manual. But, here is the short answer.
Standard mysql tables are in ISAM format (pre 3.23 versions of mysql) which
is not directly portable between machines. MyISAM tables are.
On linux,
What happens when you type ./configure?
If the answer is nothing, or it ends with an error, then your ISP does not
provide you with dev tools. And you are sort of out of luck.
If you can find out for certain, what platform your isp is running, you may
be able to install a binary. But a wouldn't
On 4/3/01 11:06 AM, "Dan Wilson" [EMAIL PROTECTED] wrote:
Hey all,
I'm trying to mangle email addresses to pass to an email sending form and
want to use a custom hashing function within an eregi_replace.
Example:
$text = eregi_replace("[my big email regex]", "send.php?addr=" .
On 4/3/01 11:06 AM, "Dan Wilson" [EMAIL PROTECTED] wrote:
Hey all,
I'm trying to mangle email addresses to pass to an email sending form and
want to use a custom hashing function within an eregi_replace.
Example:
$text = eregi_replace("[my big email regex]", "send.php?addr=" .
On 4/3/01 12:34 PM, "Spunk S. Spunk III" [EMAIL PROTECTED] wrote:
I've got a script that returns a smil file in a header but I'd like to
change the name of the file. The file is sent as blah.php (even though it is
a smil file) but I'd like to be able to name it something like blah.sml. Is
Do it in your sql SELECT statement.
Mysql uses ORDER BY field_name
I think that is standard SQL.
On 4/3/01 12:54 PM, "Brandon Orther" [EMAIL PROTECTED] wrote:
Hello,
How do I alphabetize the out put of my data base?
The field would be LastName
Brandon
--
PHP General Mailing List
Umm, have you tried explicitly outputting the content-type header the way
your shell script does?
See header() in the php docs.
On 4/3/01 1:38 PM, "Peter Choynowski" [EMAIL PROTECTED] wrote:
I am using php4 as an Apache module. The problem is that when a Java
applet makes a connection to
$database is the object.
Select_array() is the function in the class, so...
Try putting it in front of select_array()
I don't know if this will work, but this is where I would think to put it.
$database-@select_array()
Let me know if it works.
On 4/2/01 8:15 AM, "Chris Lee" [EMAIL PROTECTED]
If you are wanting to use pregenerated FLASH scripts ( and not build them on
the fly with libswf or ming) then what you want to do, without having to buy
Generator for your server is...
In the beginning of you falsh file, do a load variables from a PHP page,
that queries a database or whatever,
Don't know. Code looks good, what version of PHP are you using? Module or
cgi? What version of windows? These are the things the PHP/Zend guys
probably need to know.
On 4/2/01 4:59 PM, "Richard Kurth" [EMAIL PROTECTED] wrote:
What is causing this error
Warning: 1 is not a valid
See manual reference on fopen() and fsockopen()
Fopen() can take http://... Or ftp://... As filenames. Therefore, you can do
an ftp login and upload and download files from a remote server, or use
http:// and read files from a server.
On 4/2/01 4:27 PM, "Richard Lynch" [EMAIL PROTECTED] wrote:
the first insert.
Even though there is an error in a multiple insert like this, it still
inserts up to the point it errors.
On 4/2/01 6:25 PM, "Curtis" [EMAIL PROTECTED] wrote:
Ok,
Here is the code I am using to insert values from a form into a mysql
database...
(Given to me by Lin
G'Day,
You need to have an auto_incrementing field in your database. Then all lines
that are displayed need to be in the form of fieldname[] so that PHP builds
an array.
Then you need a hidden field to represent the unique record number to be
updated.
Here is some code that I use to print out
The form tag can tag a TARGET attribute, just like the A tag can.
FORM Action="myscript.php" METHOD="POST" TARGET="Bottom_Frame"
Adjust to match your script and frame names
On 4/1/01 2:30 AM, "Diego Prez Rndez" [EMAIL PROTECTED] wrote:
Hi to all:
I have a page with two frames. In
On 4/1/01 11:32 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote:
Ok. I must be s blind. Is there a function to insert a value into the
middle of an array without rewriting it?
In PHP3, no.
PHP4, see http://www.php.net/manual/en/function.array.php
You could pull it off with combinations of
On 4/1/01 11:57 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote:
- Original Message -
From: "Lindsay Adams" [EMAIL PROTECTED]
On 4/1/01 11:32 AM, "Yoshi Melrose" [EMAIL PROTECTED] wrote:
Ok. I must be s blind. Is there a function to insert a value
for php/ext/pdf directory.
If anyone has any new ideas on things to try to make this work, I would be
hugely grateful.
I downloaded both source tarballs today, from what appeared to be the
newest.
Ack!
Lindsay Adams
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL
53 matches
Mail list logo