sure.
keep track of the files on the server drive, then open a connection using
fopen() and fputs the contents of each file.
On 4/12/01 3:13 PM, "David Minor" <[EMAIL PROTECTED]> wrote:
> Well, I didn't get a response from my previous post, so I'm trying again. I
> need to collect a group of f
php is server side only
so you are going to have to use javascript.
You can have php build an array, or two in javascript so that your menu
canchange.
checkout hotscripts.com, resourceindex.com, devshed.com,
http://wsabstract.com/
to name a few.
On 4/12/01 11:14 AM, "Erin Quick-Laughlin" <[EM
t 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: &q
Check out aitcom.net
get a resellers account, and go hog wild. you can even edit the httpd.conf
page for custom liasing of directories, and anything else.
I wasn't able to get them to compile PHP with some of the extras, at least
not as an apache module, BUT I was able to compile PHP as a cgi fo
d set the value to a unique id in the database.
I can then put a lot of data into multiple rows, enabling me to update a
whole group of data at once.
I still have to send one update to my database per row, but what the hell.
On 4/11/01 5:07 PM, "Lindsay Adams" <[EMAIL PROTECTED]>
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
>
> 'CHECKED'; }?>>
>
> (i have another 2 radio bu
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
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 don¹t 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]>
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
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
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/PHP
and what it looks like
On 4/9/01 3:06 PM, "DRN" <[EMAIL PROTECTED]> wrote:
>
> Lindsay Adams <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> | This is exactly what I sent you.
> | You have to realize that you can
----Original Message-
>> From: Lindsay Adams [mailto:[EMAIL PROTECTED]]
>>
>> No, your problem is most likely that you didn't do anything with
>> the telnet
>> negotiation phase.
> [..]
>
> That doesn't sound very encouraging :-(
>
> Anyway,
use a get encoded string. as many variables as you can fit inside the limits
of a get string.
script.php?variable1=something&variable2=somethingelse&...
On 4/9/01 2:03 PM, "Curtis" <[EMAIL PROTECTED]> wrote:
> Hello,
> I have one that I am stuck on.
>
> I have a link, with a variable attached
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 etc/pass
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(), mysql_fetch_row(),mysql_fetc
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 class
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
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 K
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,
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 -
> Fr
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 everyt
Ooooh cool
Didn't even think about PHP invocation options like -q, probably because I
only work with mod_php at the moment.
That should help NoSpeed out.
On 4/8/01 4:00 PM, "Joe Stump" <[EMAIL PROTECTED]> wrote:
> $argv and $argc - also put #!/usr/local/bin/php -q at the top of your script
> (a
Not sure what you are doing below, if you set up apache so that files with a
certain extension execute through the cgi and not the module, then you can
pass them through a form with GET/POST.
If you are running it from the command line, then...
I don't know.
All arguments should be passed as argv
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 wou
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 c
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]
omeone has an argument against this, please let me
know, especially if it is a security concern, because I didn't find any
problems when I came up with it.
Lindsay Adams
PS- you don¹t even have to worry about doing 'makemap hash /etc/aliases <
/etc/aliases' each time the list
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
'path/to
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 y
");
Or how about a here doc for php4
Print <$items[$i]$items[$i+3]$items[$i+6]\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]> wrote:
>
> Lindsay Adams <[EMAIL PROTECTE
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 c
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
This is offtopic, but easy
User javascript
Make your link =
linked item
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 PROTECTED]> wrote:
> Hi all,
> Can
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 I
If that query did not work, then maybe the user that you are connecting to
the database as does not have table create privileges?
The syntax of the query is correct
I am a little confused why you are using a text type for those columns
And you can probably stand to use unsigned for UiD, since I d
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 thr
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:
>
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 s
By the way, I use the hidden frame solution, when I want to pass a bunch of
info in an 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 gett
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 yo
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
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
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 Mailin
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
> 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]", "sen
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="
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
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,
According to the headers in your email, you are using Outlook Express.
I think it is a microsoft issue. Because when I write a long email in OE,
and send it to myself, I get it as an attachment.
If I write it in Eudora, and pick up my mail with Eudora, it comes as one
message, no attachment, but
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 v
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 a
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.
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
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 File
Need to see your code for inserting data.
But I think first, you should be naming your fields with empty[]s
Ie.
Etc
That way, php will build an array out of the variables, and it will ONLY
contain values, if values were submitted..
Then you build your insert query by looping through the array
Two ways:
Do it in PHP
add a counter and test for it at the end of the while loop
if ==20 then break;
Easier, do it in your query:
tack LIMIT 20 on the end of your query, and you will only get the first
20 hits from your database.
On 4/2/01 3:54 PM, "Bob Stone" <[EMAIL PROTECTED]>
And, to get you started (and maybe done in no time flat) in your port, check
out this!
http://freshmeat.net/projects/asp2php/
No, didn't write, but I used it on a small web app once. Worked like a
charm. Your mileage may vary, depending on complexity.
But as long as you back up all your code, w
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, g
$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]
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:
>>
>>>
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 combinatio
The tag can tag a TARGET attribute, just like the tag can.
Adjust to match your script and frame names
On 4/1/01 2:30 AM, "Diego Pérez Rández" <[EMAIL PROTECTED]> wrote:
>
> Hi to all:
>
> I have a page with two frames. In the top frame I have a form where
> I can select some options.
pdf.c 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-ma
64 matches
Mail list logo