Hey
How can I create files with php, I've tried somethings but php always tells
me that I don't have access.
But the Directory has 777 access and the owner is my webserver.
Can somebody help me :-)
I need this for to create logfiles
Greetings
Sven
On Monday 25 February 2002 15:39, Tim Thorburn wrote:
> Hi,
>
> I'm having troubles entering information from a form into a MySQL
> database. Specifically if the user enters an apostrophe anywhere in the
> form, all the information is rejected and nothing is entered into the
> database.
>
> After
hey
Again a small question forgive me but it's monday and the brain is still
working on sunday :-)
I want to make this sql query visual does anybody have any idea :-)
SELECT date_format(t_timestamp_opened,'%Y %m %d'),
count(date_format(t_timestamp_opened,'%Y %m %d')) FROM crm.ticket group by
d
-Original Message-
From: Andrew Duck [mailto:[EMAIL PROTECTED]]
Sent: Monday, 26 February 2001 8:44 PM
To: PHP Gen
Subject: PHP Nuke - Datestring
I am having trouble trying to convert the current PHP Nuke dateformat for
articles into Beats.
Does anyone know how to swap the PHP Nuke ar
Hi,
> I want to make this sql query visual does anybody have
> any idea :-)
> SELECT date_format(t_timestamp_opened,'%Y %m %d'),
> count(date_format(t_timestamp_opened,'%Y %m %d'))
> FROM crm.ticket group by date_format(t_timestamp_opened,
> '%Y %m %d') order by t_timestamp_opened;
Visual?
W
Hi guys,
Looking for help on how to activate the automatic passing of variables -
think i need to change something in my php.ini file maybe?
got scripts that work fine on one server, but i've recently got a new
virtual server, and it won't pass variables though - example script..
Hi,
I got a small problem:
I need to limit a teaser-text via substr($teaser,0,100). The Problem I now
have is, if the last 4 string chars are a html tag like and this tag
will be cut by the substr to something like that: http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
alex black wrote:
> hi all,
>
> One of the binarycloud developers just told me to have a look at the SAP OS
> database, SAPDB.
SAP DB is just another name for AdabasD from a programmers point of view-
> I'm going to test it tomorrow to see if it actually does what it claims, but
> this _looks_
Hi
Is it possible to access a flash movie and then go to a certain frame
within that movie. I know that you can create flash files and then use
all manner of flash related functions, but I want to access an already
existing movie.
Cheers
JD
Sascha Ragtschaa wrote
>I need to limit a teaser-text via substr($teaser,0,100). The Problem I now
>have is, if the last 4 string chars are a html tag like and this tag
>will be cut by the substr to something like that: webpage...
>
>How can I avoid that the html tags are cut by the substr funct
Thanks, found a way - the PHP function wordwrap does it just perfect
(recognizes the tags, too) ...
Sometimes it's just good to browse a little bit through PHP.net (*g*)
Sascha Ragtschaa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> Personally when I'm doing teasers I strip all HTML from the content
> before using substr:
>
> $teaser = strip_tags($content);
> $teaser = substr($teaser, 0, 100);
> $teaser .= '...'; // Nice touch to have a '...' on the end :)
>
You don't have a handy way to check that your substr() doe
Hi Matt,
> Looking for help on how to activate the automatic passing of variables -
> think i need to change something in my php.ini file maybe?
> got scripts that work fine on one server, but i've recently got a new
> virtual server, and it won't pass variables though - example script..
Yo
thanks a lot!
works fine now i've changed register_globals.
just out of interest, what is the 'newer' way?
is it using sessions etc, or something else i don't know about?
or should i rtfm? ;)
thanks again,
Matt
-Original Message-
From: DL Neil [mailto:[EMAIL PROTECTED]]
Sent: 25 Februa
Hello,
I'd like to provide default database host/user names and passwords for
more virtual webs.
the php.ini says, if I turn on sql.safe_mode, the variables
mysql.default_host, mysql.default_user and mysql.default_password do not
apply.
Could I change them in this case from httpd.conf via php_a
Navid,
The path info technique is moderately well known. I thought I'd seen an
account of it at phpwizard.net, and I would have given you the link, but
when I looked just now I couldn't find it. Anyway, this is roughly how it
goes:-
Background
You can add all kinds of stuff at the end
Zeev,
If you find that GUI tools are not overwhelmingly better for C++, Java product
development, that does weaken the case for php studios even more. Why so?
1. Conciseness of php
php is a high level application development tool so the code is, or at least,
should mostly consist of highly spe
In JavaScript define varaible which is global for this page, name it
like page_submited, by default set it to false. On submit event set
this variable to true and then from JavaScript submit form. When user
second time will try to submit the form do nothig, just leave function
code. Your JvaS
Jim Winstead wrote:
> Andy <[EMAIL PROTECTED]> wrote:
>> Is there a way to redirect imediatelly to a waiting page? I tryed to
>> redirect, but somehow the server is first uploading the file before
>> something else happens.
>
> unfortunately, no. one thing you can do is use javascript to pop up
I can't take the variables $user and $address from the form to the php file.
Below I have the code.When I test the examble I only see the html text but
not the variables. Thank you
THE HTML FORM
Listing 9.2
THE PROCCESS OF THE INPUT FORM
Listing 9.3
$user\n\n";
print "Your
You need to add the POST method to your form tag
Cheers
JD
-Original Message-
From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 12:58 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Problem about Reading input from a Form
I can't take the variables $u
I'm currently using the GD extension to generate dynamic PNG's containing
text, that should eventually be coming from a database.
the deal is, it seems to take a long time, which is probably my own fault,
seeing that I'm generating so much text. I am generating an image
containing approx 160 li
On Monday 25 February 2002 12:57, Kostas Karadamoglou wrote:
> I can't take the variables $user and $address from the form to the php
> file. Below I have the code.When I test the examble I only see the html
> text but not the variables. Thank you
>
Whic version of PHP are you using? If it's 4.1
Matt,
> thanks a lot!
> works fine now i've changed register_globals.
=great!
> just out of interest, what is the 'newer' way?
> is it using sessions etc, or something else i don't know about?
> or should i rtfm? ;)
Yes it is quicker for me to say "RTFM ", although I wonder if it isn't
perce
Navid,
$SCRIPT_NAME is sometimes a safer alternative than $PHP_SELF.
The difference is that $PHP_SELF includes $PATH_INFO while $SCRIPT_NAME is
just the name of the actual script running.
http://www.php.net/manual/en/language.variables.predefined.php
This becomes particularly important if you u
Mëòv îçîÎ òsyïn wrote:
> Is it posible to get values from javascript to PHP? Without having to post
> the variables..
>
> Thanks //Mårten
>
> _
> Chatta med vänner online, prova MSN Messenger: http://messenger.msn.se
I'm not quit
Hi
Trying to install Troels Arvin's php distro on Redhat 7.1 with the default
Rackspace setup.
When I try to install his mm package, I get the following error:
>> rpm -Uvh mm-1.1.3-6.arvin.rh7.1.i586.rpm
>> error: failed dependencies: libmm.so.11 is needed by
apache-1.3.22-1.7.1
This occurs
This example generates previous/next links but could be modified to make
links to page 1, 2, 3, 4, etc.
This code is not tested what so ever, but it should look something like
this:
-
$rows_to_show = 10;
$total_rows = mysql_num_rows(mysql_query("select name, post from guestbook
order by
Hi,
I still have one problem, which seems to be not solveable in a easy and
smooth way:
I have a text file like this:
$text="This is a html extended textwhich needs to be cut after 100
chars";
Than I do a substring to limit it to only 100 words (teaser-format):
$teaser_1=substr($text, 0, 100)
I put and the POST method but I have the same problem
I don't know why, any ideas?
Thank you
>From: "John Day" <[EMAIL PROTECTED]>
>To: "Kostas Karadamoglou" <[EMAIL PROTECTED]>,
><[EMAIL PROTECTED]>
>Subject: RE: [PHP] Problem about Reading input from a Form
>Date: Mon, 25 Feb 2002 13:00:35 -0
Hi all
when i do directory listing with readfile('c:\some\dir\name') warning is
generated
Warning: readfile("c:\temp\") - Permission denied in
c:\programming\apache\htdocs\downloads\update.php on line 15
filesystem is fat32 so permissions are fake
configuration: php 406 on windows2000
is there a
Jason,
You didn't mention Javascript checks.
Personally I really dislike having to wati for a page to reload before finding
out that I've just failed to fill in a field. The Javascript to do basic
on-page checks is all pretty simple stuff.
Of course this doesn't mean we can skip checking the d
On Monday 25 February 2002 16:02, narko wrote:
> when i do directory listing with readfile('c:\some\dir\name') warning is
> generated
> Warning: readfile("c:\temp\") - Permission denied in
> c:\programming\apache\htdocs\downloads\update.php on line 15
>
> filesystem is fat32 so permissions are fa
> -Original Message-
> From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]]
> Sent: 25 February 2002 14:09
>
> I put and the POST method but I have the same problem
> I don't know why, any ideas?
> Thank you
>
> >
> >-Original Message-
> >From: Kostas Karadamoglou [mailto:[EMAIL
Just testing :-)
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I set the register_globals On in the php.ini file but when i do php.info it
shows that is off.About the better way, How i can manipulate this variables,
can you give me an exable.
Thank you
>From: "Ford, Mike [LSS]" <[EMAIL PROTECTED]>
>To: 'Kostas Karadamoglou' <[EMAIL PROTECTED
Hi,
how do i display return values from functions?
Ie i want to see whether mail() returns TRUE or FALSE.
- D
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
[EMAIL PROTECTED] (Daniel alsén) wrote:
> Hi,
>
> how do i display return values from functions?
> Ie i want to see whether mail() returns TRUE or FALSE.
echo mail(...);
shows the return value, then you can do:
if (mail(...)) {
//sent ok
} else {
//not sent
}
--
Henrik Hansen
--
PHP
Hello,
I'm trying to use a temporary table in mySQL with PHP. First I tried to
create a temporary table and then query it in the same script. But the
table didn't persist to the second query in the PHP script.
I found this knowledge base entry:
http://www.faqts.com/knowledge_base/view.phtml/ai
if you have a access to the action-script within the Flash-movie, write
there a script like:
gotoandplay(_root.myframe);
and let the HTML-path be something like:
myFlashMovie.swf?myframe=20
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
El dom, 24-02-2002 a las 17:39, Matthew Darcy escribió:
> Hi,
>
> I want to create a dropdown list with options from a table.
>
> ie
>
>
>
>
> $sql_select = "select * from dropdown_options";
> $results = mysql_query($sql_select);
>
> while ($row = mysql_fetch_array($results);
> {
> e
Its not a register_globals issue. You must wrap $user and $address in php
print statements rather than just in the html.
Your name is .
Your address is .
That will work with either GET or POST.
-- Stewart
On Mon, 25 Feb 2002, Kostas Karadamoglou wrote:
> I set the register_globals On in the
Good day,
I would have to dig around to find the appropriate note in the
documentation, however I seem to recall reading that PHP's MySQL wrappers
intentially prohibit a user from using semicolons- basically to prevent
one's database from being hacked due to a poorly constructed query using
user
> -Original Message-
> From: Kostas Karadamoglou [mailto:[EMAIL PROTECTED]]
> Sent: 25 February 2002 14:35
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: [PHP] Problem about Reading input from a Form
>
>
> I set the register_globals On in the php.ini file but when i
> do php.info
> while ($row = mysql_fetch_array($results){
ITYM
while ($row = mysql_fetch_array ($results)) {
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
hi folks,
if i set the return-path of a email to be "[EMAIL PROTECTED]", will bounced be
returned here?
thanks!
dk
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
You do not need to use javascript.
Simple create a form that submits to itself. And check the values, then
reprint the form or redirect.
Example:
\n";
}
}
if (!empty($err_msg)) print $err_msg;
}
?>
Hope that helps,
-- Stewart
On Mon, 18 Feb 2002, George Whiffen wrote:
> Jason
hi,
when i use register_shutdown_function in an included or required script,
will the function be called after the processing of the included / required
script, or after all scripts? i think they are called last, but i'm not sure
...
does anyone know?
+ stefan
--
PHP General Mailing List (
Terry: I forwarded this to php-general list. Perhaps they can answer your
question
-Original Message-
From: Terry Romine [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 10:01 AM
To:
Subject: php email question
I am trying to set up a MIME email that would include an HTML and
Hi everybody,
I show a list of files that I upload to the user's folder using the next
code:
$path= "../clients/$user";
$dir = opendir ($root);
while ($archivo = readdir ($dir))
{
$size = filesize("$path/$filename");
$size = ($size/1024);
$s
OK, Im an idiot, glad I caught myself before someone else did. I didnt see
the PHP print statments. :)
Follow mikes advice on the register globals, and restarting the server. Or
try using $HTTP_POST_VARS['user'] or $_POST['user'].
-- Stewart
On Mon, 25 Feb 2002, Stewart G. wrote:
> Its not
You have to pass the params received in index.php to the rest of the
pages in the frames...
eg: http://mysite.com/index.php?s=1
so, the index.php script will looks something like this:
name=menu>";
name=main>";
name=foot>";
William.
El lun, 25-02-2002 a las 03:03, Jason Cal
DOH, I always figure it out after I post to the mailing list, the user
didn't have create table privileges, that's why it didn't persist in my
first attempt to do this with separate queries.
On Mon, 2002-02-25 at 10:34, Jeff Bearer wrote:
> Hello,
>
> I'm trying to use a temporary table in mySQ
Yeah,
>From php, I've called paybox (http://www.paybox.de), which is a mobile phone
based payment service. You exchange transactions with them via xml.
They have their own "cartridge" for php, but it's just a perl rewrite and not
very wonderful, so I rewrote most of it.
The basic approach is s
Hello,
I'm hoping to get some help with a sessions problem i've
ran into. track_vars is enabled and register_globals is off.
i'm using PHP 4.0.6 and custom session handlers with ADODB
connecting to mysql.
at the top:
session_start();
if (!isset($HTTP_SESSION_VARS["old_folder"])) {
e
i'm having some trouble using sessions.
first of all i have to use php 4.0.6.
When i use $HTTP_SESSION_VARS, the session variable isn't
being saved.
for example:
if(!isset($HTTP_SESSION_VARS['id'])){
$HTTP_SESSION_VARS['id'] = 0;
}
else{
$HTTP_SESSION_VARS['id']++;
}
echo $H
make a form, one "delete"-button and put a checkbox before every file. the
checkbox's name is 'delete_file['.$filename.']' ... wehen pressed delete
open a file which foreach's every entry in delete_file and unlink it. but be
careful - this could be a huge security-hole ...
+ stefan
"Nautilis" <
Hi!
I have build a webshop inside a framset using sessions, and move around in
my mainframe.
I wonder how to get out of the mainframe when I logg out and destroy the
session.
It doesen´t work with:
Header("Location: /naba/logout.php?".SID.");
Can I use target or something with Location?
Thanks
I have been playing around with creating images in php using GD, and I
have some questions for the list.
How much more processing power does it take to create an image versus
just sending the image?
Aside from photo album type apps, how are people using GD?
Is GD well suited for navigational im
try this:
Log out
or
Log out
William
El lun, 25-02-2002 a las 12:00, Jan Grafström escribió:
> Hi!
>
> I have build a webshop inside a framset using sessions, and move around in
> my mainframe.
> I wonder how to get out of the mainframe when I logg out and destroy the
> session.
> It doese
> if i set the return-path of a email to be
> "[EMAIL PROTECTED]", will bounced be
> returned here?
You may want to investigate the Errors-To header as well (although you never
know your luck - have you tried it?)
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, v
hi..
setting a fifth parameter with (-f ) works..
eg.
mail($send_email,$subject,$body,$headers,"[EMAIL PROTECTED]");
thanks!
- Original Message -
From: Jon Haworth <[EMAIL PROTECTED]>
Newsgroups: php.general
To: 'DigitalKoala' <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Monday, Feb
Hi,
On our site, we have page with a form a user puts his/her information such
as company name, givenname, etc. Currently, if a name entered is anything
but English characters, PhP fails.
For example, if I enter Norwegian characters lsløæ PhP returns the following
errors:
"Last name fie
Just curious to know if someone already has a approach on that...
Are there any experiences on a installer for php projects?
Sascha Ragtschaa
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
BlankHI, i have a problem,
When i close the browser the session is NOT killed, when i enter the page
that requires login i can enter the page that was previosly entered via
login (but i closed it). So it remembers session or cookies i don't know.
How to prevent this, How to kill the session when
Hello!
How can i get the url of the main page with a script, that is running in a frame of
that page?
Thanks,
Klaus
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Just a guess but would using session_register(myvar); instead of
registering directly to the global list make any difference?
-Original Message-
From: Joel Alexandre [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 9:39 AM
To: Lista de PHP
Subject: [PHP] Using sessions
i'm h
Hi all,
I have a page that post a lot of variables to the next page. It looks
like:
one
two
three
On next.php I can access all the values through: $f_text1, $f_text2, and
an array $f_multiple1. My question is, how can I pack all of these
variables from previous page _without_knowing_ t
Try:
SITE CHMOD 666 filename
Also be sure that the file name in PHP matches the exact file name on
disk.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
On Monday, February 25, 2002, at 12:36 AM, Sven Jacobs wrote:
> Hey
>
> How can I create files with php, I've tried
Hi everyone,
I was hoping to work on a hairbrained idea that would allow me to use php to
control an X10 or other serial device (security system, irrigation
controller, etc,). I have read several hints at using the fopen function to
do serial communications but these posts were a year old. Is
Dear Batara,
There are global variables that serve this purpose. You must have
register_globals turned on:
http://www.php.net/manual/en/language.variables.predefined.php
$_POST
An associative array of variables passed to the current script via the
HTTP POST method. Automatically global in any
Thanks Martin,
That was indeed the problem! I simply added a '\n' to the end of each
line. And since html doesn't recognize it, it does no harm to the
formatting.
Steven J. Walker
Walker Effects
www.walkereffects.com
[EMAIL PROTECTED]
On Sunday, February 24, 2002, at 06:26 PM, Martin Towell
Holy cow that's a big graphic.
20 seconds does sound a tad long, but might not be depending on the
server and memory - what are the specs?
What might possibly speed it up a bit is to create multiple small
versions first (20 one line graphics, for example) and build them all
together at the en
I have the following php code to asks for a new student to fill out a
registration form. Using php, take what the user enters and put it into
the "students" table. But when i select * from students in mysql, it
didn't show, why?
REGISTRATION FORM
REQUIRED QUESTIONS:
hmm, sounds like a good idea, i'll give it a try.
it seems too, that if i dont break up my text, i.e. print all of it in one
long line, it runs a lot faster
i'm running this under Win2k, i got a PIII i dunno how many mhz(it's a
college PC, and everything is locked down on me) but i'd guess at
On Mon, 25 Feb 2002 10:04:07 -0800
Steven Walker <[EMAIL PROTECTED]> wrote:
> Dear Batara,
>
> There are global variables that serve this purpose. You must have
> register_globals turned on:
>
> http://www.php.net/manual/en/language.variables.predefined.php
> $_POST
> An associative array of v
$query = ""
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
// returns all items in database
$query = "2001-01-01"
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
// returns all rows that have 2001-01-01 as the date
What is proper way to define a varia
Hi,
Is it possible to activate magic_quotes_gpc on a server running PHP 3.0.16
without the php.ini settings being physically altered?
I ask became my hosting company is hesitant to activate it for some unknown
reason - however without it I cannot enter information into a database for
a conten
Hi there :)
1. mysql_query("SELECT * FROM table WHERE date ='$mydate'"); # where date
is same
2. mysql_query("SELECT * FROM table WHERE date > '$mydate'"); # where date
is newer
3. mysql_query("SELECT * FROM table WHERE date < '$mydate'"); # where date
is older
4.mysql_query("SELECT * FROM t
Hi,
I was wondering if anyone has developed web services
using SOAP with php. I'd like to use it in a future
project but was wondering which "tools" (classes,
exemples) do we have and how stable are they.
regards,
Rt.
__
Do You Yahoo!?
Yahoo! Sp
Well, you have to destroy the session... see session_destroy()
I never tried this, but you can call a PHP script on the onUnLoad event
of the body page... so when the window is closed, it calls a given
script and this script destroy the session.
William.
El lun, 25-02-2002 a las 12:29, Beta e
hi,
when im using i get
Sablotron error on line 1: unknown encoding 'ISO-8859-1' in on line ...
but i think iso-8859-1, utf-8, etc. support must be build in. in addition,
when i try to include an external xsl with or a
xml file with "document()", no matter what encoding the target-file
Joe,
I don't want to change the query itself like you show. I want to use this
query
$query = ""
mysql_query("SELECT * FROM table WHERE date LIKE '%". $query ."%'");
and change only the variable $query = ""
I use $query throughout script for other things.
Thanks
Craig ><>
[EMAIL PROT
On Tuesday 26 February 2002 02:31, Chiew, Richard wrote:
> I have the following php code to asks for a new student to fill out a
> registration form. Using php, take what the user enters and put it into
> the "students" table. But when i select * from students in mysql, it
> didn't show, why?
I was wondering if anyone could give me some advice in deciding the most
appropriate time to use htmlspecialchars():
When user input is accepted and error-checked and ready to be inserted
into the database? Or when user input is pulled from the database and
ready to be displayed to the screen
Your submit button does not have name="submit" set. So $submit is never
being set.
Also your html is full of errors, I would clean that up and put it thru a
validator, try html tidy (www.w3c.org).
And, make sure that formvalidation() is passing true, is that fails the
form will never be submi
If you will be using the data elsewhere then use it when it is displayed
on the screen, or your other program will have to parse it.
It is a good idea to always run htmlspecialchars when outputting text to
the browser that came from a form.
-- Stewart
On Mon, 25 Feb 2002, Erik Price wrote:
>
Hi,
I wonder if someone can point me in the direction of an example and / or
some documentation for the following task:
I have a DB table containing the name and contents of plain text files
that users have uploaded. I have a facility which allows users to view
these, but I would also like the u
[EMAIL PROTECTED] wrote:
>Gary wrote:
>
>>
>>John Ericson wrote:
>>
>>>Im programming a page where I have a java-tree-menu that gets generated
>>>from a db. The code works perfectly but sometimes when a browser reads the
>>>page I just get half of the page. I have noticed this behaivour on many
I've got an exceedingly wierd issue. I'm running a default installation
of Linux Slackware 8.0. I've got the apache and mod_php modules
installed. If I access my php document as follows, everything is parsed
correctly:
http://www.example.net/mypage.php
However, if I access the page wit
[EMAIL PROTECTED] (Robert Mena) wrote:
> Hi,
>
> I was wondering if anyone has developed web services
> using SOAP with php. I'd like to use it in a future
> project but was wondering which "tools" (classes,
> exemples) do we have and how stable are they.
I think something is cooking in t
$d = array();
$l = array();
$l[0] = array(1, -360, 1, "CHICAGO");
$l[1] = array(1, -420, 1, "EDMONTON");
$l[2] = array(1, -540, 1, "FAIRBANKS");
- Original Message -
From: "Gary" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, February 25, 2002 4:15 PM
Subject: [PHP] Converting
Gary wrote:
> Hi All,
> I am not too bad at building arrays in php but I need to convert a
> javascript form into php. How wuld I conver the small snippit here?
>
> var d = new Array(), l = new Array();
> l[0] = new Array(1, -360, 1, "CHICAGO");
> l[1] = new Array(1, -420, 1, "EDMONTON");
> l[2
Hi there,
I am building a web application which is storing pictures.
Is there a limit of files in one directory on LINUX systems? Perhaps it
might end in a problem after having 3 files in the same dir? Performance
issues ore something else.
Has anybody got experiance on that?
Thanx for any
[EMAIL PROTECTED] (Mike Krisher) wrote:
> Is there a way with PHP to grab a file from an external server
> (http://www.domain.com/image.jpg) and save/upload it onto my local server?
use fopen()
--
Henrik Hansen
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
On Mon, 2002-02-25 at 13:03, Mike Krisher wrote:
> Is there a way with PHP to grab a file from an external server
> (http://www.domain.com/image.jpg) and save/upload it onto my local server?
>
> Thanks in advance,
> __
> Mike Krisher
http://www.php.net/curl
Cheers,
Simon Willison wrote:
> Gary wrote:
>
>> Hi All,
>> I am not too bad at building arrays in php but I need to convert a
>> javascript form into php. How wuld I conver the small snippit here?
>>
>> var d = new Array(), l = new Array();
>> l[0] = new Array(1, -360, 1, "CHICAGO");
>> l[1] = new Arr
On Mon, 25 Feb 2002, Andy wrote:
> Hi there,
>
> I am building a web application which is storing pictures.
>
> Is there a limit of files in one directory on LINUX systems? Perhaps it
> might end in a problem after having 3 files in the same dir? Performance
> issues ore something else.
Th
Sometimes when using PHP/mySQL I have encountered a locked table. I have no
idea why it occurs, I am not explicitly locking the tables but sometimes in
phpmyadmin it says "in use". Is there a way to "unlock" this table using
PHP?
Jeff
--
PHP General Mailing List (http://www.php.net/)
To uns
This is mysql doing the locking, you will need to look into your mysql
configuration.
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-Original Message-
From: Jeff Lewis [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 25, 2002 2:41 PM
To: [EMAIL PROTECTED]
Subject: [PHP] Freeing up
1 - 100 of 140 matches
Mail list logo