Hi there,
I have some db records starting with a ' E.g: 'Aimburu
Now I am wondering how to retrieve this records. without a addslashes it
returns an error. So I did add a slash, but then it does not find this
record.
I tryed this query:
...like '\'Aimburu %' ...
Do I have to change this db e
another solution would be to by a cellular modem, which can be set up on the
windows/*nix machine and used to relay the message.
If not - depending on where you are based - some mobile providers do let you interface
with their sms devices.
You could also have a look at - OpenSMS from www.lives
Hi
I'm trying to write a function to catch and remove plurals from a search
feature, can anyone suggest how I can efficiently remove 'ies' and 's' from
the right hand end of each word within an array?
Thanks,
Zac
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
> I'm trying to write a function to catch and remove plurals from a
> search feature, can anyone suggest how I can efficiently remove 'ies'
> and 's' from the right hand end of each word within an array?
Your best bet is to use a phonetic search (for speed) looking up against a
dictionary file...
This is certainly not a php question so boil me in oil the next time we meet.
I have a php page which gets a file upload from the user and attempts to put the file
in a remote directory. It is failing big time with the following warning:
Warning: Unable to create '../landmark/photos/8000.jpg':
Hi,
For all you Unix gurus this should be run of the mill stuff but us
Windows boys tend to get confused easily :)
How can I easily match occurrences of text along the lines of R&B and
replace it with R&&B ?
The regular expression s/&/&&/g obviously replaces any occurrence of an
ampersand wi
Does anyone know about a script that is easy searches in folders for
In image files for given information:
Excample: I know that a field in a .jpg file is named Author: value
I want to search in the author value for a text.
Bård Tommy Nilsen
--
PHP General Mailing List (http://www.php.net/
On Tuesday 11 June 2002 17:04, hugh danaher wrote:
> I have a php page which gets a file upload from the user and attempts to
> put the file in a remote directory. It is failing big time with the
> following warning:
>
> Warning: Unable to create '../landmark/photos/8000.jpg': No such file or
>
Thank you Jason,
I'll give it a try.
Hugh
dot dot slash slash Oh what a relief it is!
- Original Message -
From: "Jason Wong" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 2:33 AM
Subject: Re: [PHP] the curse of the period
> On Tuesday 11 June 2002 17:04, hugh
Hi
I suppose you mean register_globals is off and should be on, right?
Ok, to make this short, do following: create a file "php.ini" on your
desktop and write following into it:
register_globals=on
Make sure you have unix-linebreaks (use BBedit for example, or pepper)
and a linebreak at the en
You need to have an SMS gateway..Have a look on hotscripts.com here:
http://www.hotscripts.com/search/?query=sms&category=php
Regards,
Craig
"Alexandra Aguiar" <[EMAIL PROTECTED]> wrote in message
025f01c210a6$d1657ce0$[EMAIL PROTECTED]">news:025f01c210a6$d1657ce0$[EMAIL PROTECTED]...
Hello ppl
HI Mario
On Tuesday 11 June 2002 15:32, you wrote:
> Jason,
>
> Thank you for the information. I'm not sure how I sent this posting
> incorrectly. I thought I had cleared the subject and the body of the
> first posting. Regardless... Thank you for the suggestion.
To cut a long story, if you a
Hi to all,
Is there anyone who could give me some reasons why does my php script with
oracle function does'nt work if i run apache as nobody/nobody?
My script only work if i run apache as oracle/dba.
Regards,
Mike
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hi there!
I don't find the function or variable
returning/containing the name of the
script itself;
like:
echo "Hi, my name is " . $SCRIPT_NAME;
Anyone can help?
(I did RTFM...)
Kiko
--
It's not a bug, it's a feature.
[.nfq]
christoph starkmann
tel.: 0821 / 56 97 94 34
fax.: 0821 / 56 9
I found the __FILE__ now, but this is not exactly what I want:
I would like to have one script generating links to itself,
only with different variables sent via GET like this:
http://www.mydomain.tld/myscript.php?request=showcontent
But __FILE__ gives me a file://-path... Do you have a smart
i
$PHP_SELF
- Original Message -
From: "Christoph Starkmann" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 8:00 PM
Subject: [PHP] Name of script
> Hi there!
>
> I don't find the function or variable
> returning/containing the name of the
> script itself;
>
>
Christoph Starkmann wrote:
>Hi there!
>
>I don't find the function or variable
>returning/containing the name of the
>script itself;
>
>like:
>
>echo "Hi, my name is " . $SCRIPT_NAME;
>
>Anyone can help?
>
>(I did RTFM...)
>
>Kiko
>
>
>
$PHP_SELF
see Language Reference chapter 7 Variables
Ren
Hi Liam, hi René!
Great, thanx alot, this gets me rid of all thinking ;)
At least concerning this... ;)
> $PHP_SELF
> see Language Reference chapter 7 Variables
Cheers,
Kiko
--
It's not a bug, it's a feature.
christoph starkmann
mailto:[EMAIL PROTECTED]
http://www.gruppe-69.com/
ICQ: 1006016
$x = preg_replace( "/([^\s&])&([^\s&])/", "$1&&$2", $x );
should do the job.
Michael
Neil Freeman <[EMAIL PROTECTED]> schrieb:
> Hi,
>
> For all you Unix gurus this should be run of the mill stuff but us
> Windows boys tend to get confused easily :)
>
> How can I easily match occurrences of tex
> The directory and file name:
> museum/trees/admin/upload2.php
>
> The directory I want to store the uploaded file is:
> museum/landmark/photos/
I've found that if you need more control over directory paths than
something fairly simple then you're often best off just declaring a s
Hi All,
I'm not sure if this is a bug or not:
Using MSSQL Server 2000 on WinNT (fully patched).
PHP 4.2.0 using ini_set('mssql.datetimeconvert',0)
Date fields get returned with an extra character on the end output from
var_dump:
string(20) "2002-08-06 11:45:02---^ E
That's perfect Michael. Thanks a lot for your help :)
Neil
Michael Weinberger wrote:
> **
> This Message Was Virus Checked With : SAVI 3.58 May 2002
> Last Updated 11th June 2002
> **
Hi all,
I have PHP running happily on three of my servers (NT/2000/Linux) and need
to set it up on NT on a server 400 miles away. I have remote access to the
server.
I have followed the instructions for both the ISAPI version and the CGI
version with no success.
This is the error message I get
In article <00cb01c2112c$a1530140$[EMAIL PROTECTED]>,
[EMAIL PROTECTED] says...
> Hi to all,
>
> Is there anyone who could give me some reasons why does my php script with
> oracle function does'nt work if i run apache as nobody/nobody?
>
> My script only work if i run apache as oracle/dba.
Do
My web hosting company is running php 4.0.4pl1
Why should it be that these are different
and
When I say different I mean;
1) global variable are not avaiable in the second version
2) functions defined in the included file are not accessable in the
including file.
3) in both examples the f
Out of curiosity, try
& see if it behaves differently (i.e., no parens around the
include file name).
> -Original Message-
> From: Henry [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 8:15 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] include_once("blah"); vs $blah="bl
Hi there, I'm working with PHP since 3 weeks, so I'm newbie and maybe I
could say some bull :-)
That's my question:
Let's suppose that I make a ...mmm...forum. Now, in a Textbox i write my
comment and I add also this
So I post all I wrote to db.
Ok, when I gonna read this record from databas
I'm filling a database with info, and I'm using id as identifiers in the
list, the id is auto increment, and I deleted one entry, now I have a hole
in the database, is there any way to fix this?
lets say I have
1
2
3
4
5
6
And I deleted 6
Now it looks like
1
2
3
4
5
7
8
9 and so on
is there somew
Hi Hawk,
(snip auto-incrementing PKs)
> is there somewhere the "next" number is located ?
No. Why would you care, anyway? The thing about PKs is that they have to be
unique, not sequential.
If you're *really* bothered by it, you'll have to dump the contents of the
table to a file, drop the tab
I spent a good bit of time looking at editors to help me prepare and
modify php scripts. I've found it very time consuming to evaluate them.
In general, I've found you have to download, install and play with them
some just to determine if they fit your needs. And I know from
experience, ofte
Hi there,
I would like to compare 2 strings.
I do always get a 0 return (not equal) but they are difinatelly equal, I
double checked it. They are just in two different vars.
Here is how I did it:
if (strcmp($city, $city_new) != 0) $error = true;
Does anybody see the error? Or am I going the
Hi
I'm retriving some binary data from a Interbase blob field (a custom format
to do some drawing) into a php variable like this:
$blh = ibase_blob_open($row[4]);
while ($blob = ibase_blob_get($blh, 400))
$Objects .= $blob;
ibase_blob_close($blh);
Now I want to tell php to get
This is probably an easy answer, but I cannot seem to find it. Is it
possible to determine whether a variable is set with either $_POST or $GET
without having to do:
if(isset($_POST['foo']) || isset($_GET['foo']))
//do something
_
LOL...thanks ed...figured it out last night...
don't need to do a file_exists
since i capture file_name in my db...I do a query before the insert to see
if the file_name entered in the form, matches any of the file_names stored
in mySQL. if the count of the record set > 0 then the file exists, a
I did as you suggest with an interesting result:
include_once "blah.php";
worked
var $blah="blah.php";
include_once $blah;
gave the following error:
Parse error: parse error in on line
Where the is the file that was doing the include!
Previously include_once($blah) just messed up the
strcmp returns 0 if the two strings are equal.
In any case, why not just do
if ($city == $city_new) $error = true;
> -Original Message-
> From: andy [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 9:10 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP] comparing strings does
In message <[EMAIL PROTECTED]>
[EMAIL PROTECTED] (Jeremy Coates) wrote:
>
> string(20) "2002-08-06 11:45:02@"
> ---^ Extra character seems to be ASCII 00
Forgot that would screw up in an email! I've placed an @ sign where the ASCII
00 is appearing.
Ideas?
Hmmm ... does the line number in the error message point to
something in the includeD file? I.e., might you have some error
in the file you are including?
> -Original Message-
> From: Henry [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 11, 2002 9:11 AM
> To: [EMAIL PROTECTED]
> Subjec
No, the line number is just of the line in the includING file of the
include_once statement.
It's very odd, is this a known limitation of PHP i..e. includes cannot have
variable or functional file names.
i.e.
It's ok to do
include_once("include/reallyimportantstuff.php");
But it's not ok to do
not on auto increment...thats the point!
why would you need to get the #6 back anyway...
this is the fundementals of database theory... chances are the database is
using this autoincrement field as the PRIMARY KEY...in which case no
duplicates are allowed..
In terms of records...your id#7 has be
Hi Al...
I use Macromedia Dreamweaver UltraDev with PHAkt plugin (you'll have to add
it from the dreamweaver ultradev extensions @ www.macromedia.com/exchange
Macromedia UltraDev is available for 30 day free trial at their site
it has brilliant php support..you barely have to know a stitch
Primary Key's, by nature, are designed to always be uniqiue, which
means that even if you delete row 6, the next row you insert will be
10 because there is no id 10. If you simply need to get the list of
items in a query, in the order they were inserted, I would suggest using
something like: SELEC
unsubscribe
The examples in the online manual indicate that it is ok to use
the value of a variable for the file name:
http://www.php.net/manual/en/function.include.php
it also shows examples without the parentheses.
Looks like (yet another) PHP bug to me.
Maybe someone more knowledgeable can comm
you may want to look at
http://www.php.net/manual/en/function.unpack.php
"Lucijan" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hi
>
> I'm retriving some binary data from a Interbase blob field (a custom
format
> to do some drawing) into a php variable lik
On Tue, Jun 11, 2002 at 09:06:34AM -0400, J. Anderson Scarbrough wrote:
> possible to determine whether a variable is set with either $_POST or $GET
> without having to do:
>
> if(isset($_POST['foo']) || isset($_GET['foo']))
if ( isset($_REQUEST['foo']) ) {
--Dan
--
PHP classe
On Tue, Jun 11, 2002 at 01:40:04AM -0400, Analysis & Solutions wrote:
>
> On Tue, Jun 11, 2002 at 02:07:38AM -0300, Manuel Lemos wrote:
> > On 06/10/2002 02:08 PM, Subhendu Mohapatra wrote:
> >
> > The bounce address can't be set with headers.
>
> Please elaborate. I've successfully used the F
> -Original Message-
> From: Scott 'INtense!' Reismanis [mailto:[EMAIL PROTECTED]]
> Sent: 08 June 2002 04:52
>
> Anyhow basically what is happening, is that cookies are been set fine,
> however say I try to set two cookies in the one script
>
> i.e.
> setcookie("username", $HTTP_POS
are there any php functions that handle downloads. For Instance I want to create a
link that contains a url string. In this string a variable is defined as a file.
This file will be downloaded when the user clicks on the link. How do you handle this
file in php? Is there a function that wi
DreamWeaver MX, it has php support built in...
- Original Message -
From: "Shane Kelly" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 8:52 AM
Subject: [PHP] Re: Newbie needs some help picking a php editor.
> Hi Al...
>
> I use Macromedia Dreamweaver UltraDev w
is there a limit to the number of headers you can use in the mail ( )
function? it seems as though the data is not being passed from the form
fields to the variables in the headers. for instance $contact does display in
the resulting html.
see code below.
also, just upgraded to apache 1.3.24,
are there any php functions that handle downloads? For Instance I want to create a
link that contains a url string. In this string a variable is defined as a file.
This file will be downloaded when the user clicks on the link. How do you handle this
file in php? Is there a function that wi
You mean like:
Get This File";
?>
Which would make a download link for "downloads/whatever.exe" in HTML?
Adam Voigt
[EMAIL PROTECTED]
On Tue, 2002-06-11 at 11:43, Kris Vose wrote:
> are there any php functions that handle downloads? For Instance I want to create a
>link that contains a url s
My understanding is that when passing a querystring to PHP via the URL with the GET
method, PHP will automatically create a variable with the name and value from the
querystring. I'm trying to do this and it's not working.
Here's my code from an online tutorial (angle braces replaced with curl
Das anybody know a good tutorial which tells me how to install and use the
DBG php-debugger?
yours Philipp
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Err, that's not going to unsubscribe you mate...
Follow the directions at the bottom of the email.
- Original Message -
From: "Bjorn Abt" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, June 12, 2002 12:07 AM
Subject: [PHP] hi
> unsubscribe
>
--
PHP General Mailin
> My understanding is that when passing a querystring to PHP via the URL
> with the GET method, PHP will automatically create a variable with the
> name and value from the querystring. I'm trying to do this and it's
> not working.
Yes, if you have:
example.com/foo.php?id=33
In the old days,
I found out that in fact PHP is creating a variable with the name and value I'm
passing through a URL from the querystring. But it's still not working as planned.
The url server/test.php?id=1 creates the following results in my code:
printf("Variables: %s\n", $HTTP_GET_VARS["id"]);
This line
Kris,
If I understand what you mean correctly, this is just an ordinary anchor
(nothing to do with php). For example,
http://mybox.domain.com/myfile.xls";>Click to download
When clicked, if ".xls" is in /etc/mime.types as
"application/vnd.ms-excel.xls" then it will either download or start
Sorry - I solved my own problem. I had to set register_globals = On in php.ini. The
ini file says this is not the best practice for security reasons so maybe I'll turn it
off after doing these test scripts.
Jesse
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:
The only way to execute code stored in a varaible (string) is to send it to
the eval() function. Assuming you're not doing this then you're perfectly
safe. Learn more about the eval function..
http://www.php.net/manual/en/function.eval.php
-Kevin
- Original Message -
From: "Nightshade"
Rather than just setting globals on in php.ini, try this:
Your printf() line is:
printf("Variables: %s\n", $HTTP_GET_VARS["id"]);
And your if() statement is:
if($id) {}
Where is $id set? It's probably not. $HTTP_GET_VARS["id"] doesn't set
$id. If you want the "id" variable in your if(), you n
Why am I getting all the messages from this newsgroup delivered to my
mailbox?
I subscribed to the newsgroup -- or at least that is all I wanted.
Thanks.
-Doug
- Original Message -
From: "Jason Soza" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, Jun
On Tue, 11 Jun 2002, Kris Vose wrote:
> are there any php functions that handle downloads. For Instance I want to create a
>link that contains a url string. In this string a variable is defined as a file.
>This file will be downloaded when the user clicks on the link. How do you handle
>thi
I am getting this error with a new install of PHP4.2.1 and Zend
Optimizer 1.3.1:
The file '/tmp/phpr4WYQY' must be in the database directory or be
readable by all
I just updated PHP and the Zend Optimizer, and it had worked previously
with PHP4.1.2,
Any ideas??
Thanks
--
PHP General Mail
OK, I have questions.
A session *file* is created, but it is empty. I know of only one way to get
data into it, that is through a session variable. Session variables are
controlled by the programmer, so unless the programmer is careless with
their validation or register_globals setting, I don't s
I am sorry if this is asked before, but I have apache 2.0.36 with php 4.2.1
in the php.ini file register_globals is set off, but i want to turn it on in
some directories
I tried to create .htaccess file in that directory and put in it
php_flag register_globals on
but its not working, so did i do
Subject: include() statement goofing me up - help
> Can anyone let me know what I am doing incorrectly on the following page:
>
> http://www.solomonsporch.org/test.php
>
> The news clips that should appear are a service from another site and I
> simply want to include them on my page, but I am g
[snip]
> Can anyone let me know what I am doing incorrectly on the following page:
>
> http://www.solomonsporch.org/test.php
>
> The news clips that should appear are a service from another site and I
> simply want to include them on my page, but I am getting an error.
>
[/snip]
Without the code
you are getting the error
Fatal error: Call to undefined function: show() in
e:\solomonsporch.org\test.php on line 9
show() is not a function, try include()
Jay
"Wouldn't it be great if lists were like the Magic 8 Ball or a Quija board?"
--
PHP General Mailing List (http://www.php.net/)
To
That may be the case, but I had assumed the show() was a function in the
file that should be included.
When I include files and it doesn't work (I've only started trying today and
discovered the beauties of the include_path) it says:
Fatal error: Failed opening required 'includeFile.inc'
(include
I'm running PHP 4.2.1 and PWS on my Windows98 system and I think I'm configured
correctly, but the first time I tried to submit a Post request I got a '405 Method Not
Allowed' error (full error at the bottom of this email).
I've searched and found lots of similar posts but so far nothing that s
I've changed the source file on this issue. Slightly different error, but
still no joy. Thanks for taking the time with this.
test area should show 4 lines of news
http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yes&limit=4";)
?>
- Original Message -
From: "Leotta, N
At least it makes more sense now that you're getting the failed to open
error. I'd try putting a small file in the php4/pear directory and see if
you can include that. If so, then it's still a path problem - like maybe
it's looking to php4/pear/http://
Since I don't have anything including
Jason Soza <[EMAIL PROTECTED]> wrote:
> Rather than just setting globals on in php.ini, try this:
Thanks a lot. Your and Philip Olson's responses have got me thinking in the direction
of better security and code.
I am going to turn register_globals off and rewrite the code.
Now if only I can
[snip]
http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yes&limit=4";)
?>
[/snip]
Where is your semi-colon?
http://www.gospelcom.net/mnn/includes/pubNewsTease.php?li=yes&limit
=4");
?>
Jay
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/un
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Hi
Ok, I need to write this little script to run on a Windows box (don't ask...),
but I'm getting completely shafted by the inconsistent use of long filenames.
I need to get the current directory, but it must have long filenames and not
be chopped
[snip]
When I include files and it doesn't work (I've only started trying today and
discovered the beauties of the include_path) it says:
Fatal error: Failed opening required 'includeFile.inc'
(include_path='.:/opt/net/utils/lib/php') in /prj/web/.../file.php on line 4
[/snip]
Send some of your c
Hi,
I have to parse some mails into our DB.
The important part of the mails are in the text
attachements.
I'm afraid I don't understand how can I get the number
of attachements for the particular mail.
I would use imap_fetchbody ( int imap_stream, int msg_number, string
part_number [, flags flag
Thanks, but I just figured it out - I stupidly saved the file to be included
up a folder from the one I was working with (my mind must still be reeling
from the horrible defeat of the Canes last night...). I don't quite
understand why it's not looking at /opt/net/... but it's working so I'm not
g
Doug, it seems to work fine here. So long as the remote server has PHP
installed (which it looks like they do) then include() should work the same
as a local file. Could it be a configuration issue perhaps?
Test: http://www.helpelf.com/test/test.php
Code: http://www.helpelf.com/test/test.phps
Doh! Sorry, Natalie not Doug, and I'm glad to see you got it working.
-Kevin
- Original Message -
From: "Kevin Stone" <[EMAIL PROTECTED]>
To: "Doug DeVries" <[EMAIL PROTECTED]>; "Leotta, Natalie (NCI/IMS)"
<[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 11:59 AM
S
No, I created this file as a test file and it works for me. Perhaps you need
to do something on your server for include files. Have you checked your
php.ini to make sure that includes are allowed? In my setup
(/etc/apache/php.ini) there is a line that says "include_path ="
If I can think of anyth
have created multiple file upload scripts in the past... all work like a charm,
always used with files less than a meg or two.
have a use for it now where the user requires upload of a 6-10mb file and we are
running into problems with browser timeouts(for obvious reasons). We have the
following
Hi there,
I have some data in one table which I have to move to another. No I thought
of a mysqldump with a where clause. The problem though is, that it also
tryes to insert the ID which is a autoinc. primary key and already in use by
another record. How can I produce a insert statement withouth
Hi there,
I have some data in one table which I have to move to another. No I thought
of a mysqldump with a where clause. The problem though is, that it also
tryes to insert the ID which is a autoinc. primary key and already in use by
another record. How can I produce a insert statement withouth
Hi there,
I have some data in one table which I have to move to another. No I thought
of a mysqldump with a where clause. The problem though is, that it also
tryes to insert the ID which is a autoinc. primary key and already in use by
another record. How can I produce a insert statement withouth
[snip]
I have some data in one table which I have to move to another. No I thought
of a mysqldump with a where clause. The problem though is, that it also
tryes to insert the ID which is a autoinc. primary key and already in use by
another record. How can I produce a insert statement withouth the
Just note that REQUEST accounts for COOKIE, POST, and GET data...the
settings for which overrides which are in php.ini.
---John Holmes...
- Original Message -
From: "Analysis & Solutions" <[EMAIL PROTECTED]>
To: "PHP List" <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 10:25 AM
Subject
Well I get this message
Fatal error: Maximum execution time of 30 seconds exceeded in
c:\nusphere\apache\htdocs\shop\order_fns.php on line 140
but the message is sent ok..
Windows/nusphere/modem56k.
--
Sapilas@/dev/pinkeye
"Peterhead Info" <[EMAIL PROT
I've been looking on the php.net page, but I don't know what to look for..
I found string mb_strcut ( string str, int start [, int length [, string
encoding]])
and it looks like the thing I'm looking for, but I don't know how to use it
:)
can anyone tell me? :P
Håkan
--
PHP General Mailing
Hi
I have managed to load images to database through php, but what about other
file types as MS Word (yes I dare to mention it here...)
What headers etcetera are needed?
Does somebody have any examples?
Håkan Askengren
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: h
Hi!
I'm going to start programming for XML but I have never done it before.
I also found out that I would need to recompile PHP with the "--xml" option.
That's suck! Will have to do it while the server is on live site.
Hopefully nothing will go wrong. (Cross my finger!). By the way, know o
What exactly are you trying to do? If you tell us more, we can help better.
Chris
Hawk wrote:
>I've been looking on the php.net page, but I don't know what to look for..
>I found string mb_strcut ( string str, int start [, int length [, string
>encoding]])
>and it looks like the thing I'm looki
Hello list,
I'm wondering if there's any way to get the info of a realvideo file
(resolution, author, and so on). I know rm is a closed format, but maybe
you know of something, done either in PHP or in another language.
Thank you,
Rodolfo.
--
PHP General Mailing List (http://www.php.net/)
Ahmed.
If you changed the AllowOverride setting in httpd.conf, you will need to
restart apache. I tried what I suggested here (on a RedHat 7.3 system)
so I know its OK. In httpd.conf there can be many instances of
AllowOverride, one per directory. Are you sure you changed the right one?
Just
Lets say I have a news text, and in a menu, I just want to print the first..
lets say 30 letters, and maybe add a "..." after, and link it to the full
text.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
On Wednesday 12 June 2002 03:36, Hawk wrote:
> Lets say I have a news text, and in a menu, I just want to print the
> first.. lets say 30 letters, and maybe add a "..." after, and link it to
> the full text.
substr(), wordwrap()
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open S
I do beg your pardon... But does PHP not have GOTO command?
Am I wrong?
Carlos Cirello
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
just use php to do it
getcwd()
Paul Roberts
[EMAIL PROTECTED]
- Original Message -
From: "Shane Wright" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 6:45 PM
Subject: [PHP] get pwd on windows
-BEGIN PGP SIGNED MESSAGE-
Hash:
1 - 100 of 194 matches
Mail list logo