i would approach this from another angle...
why not store the videos as regular files on your server, then store
the filenames as varchar (or something similar - whatever suits you
best) on your database. then you can just pull up the filename from
the db, and then load it the old fashioned way...
Sir,
I am hosted a chat script at www.bioraj.net/raj/chat/ but it shows some
error what should I do.
sukalyan
On 4/17/2005 2:08:43 AM, Chris Boget ([EMAIL PROTECTED]) wrote:
> > If I make one pass and get 1mb of the blob...the
>
> > browser is simply going to load that 1mb only, right?
>
> > How do I keep looping and refreshing the users
>
> > browser, or in this case, flash player?
>
> > Thanks for a
Hi,
I have a multidimensional array looking linke this
Rowid title kat
123 nr1 3
442 nr2 2
547665 nr3 5
[snip]
I now need to sort that array first by kat and second on rowid, so it would
throw out:
Nr5
Nr6
Nr2
[snip]
I
Hi,
I have a multidimensional array looking linke this
Rowid title kat
123 nr1 3
442 nr2 2
547665 nr3 5
4532nr4 3
3244nr5 1
124 nr6 2
776
Hallo everybody,
hope I am writing to correct mailinglist(^_^*)...
I have troubles with sessions and descructor in php5. Can not set session
variable in destructor when it's called implicitly. Do You know solution
please?
I think problem is that session is stored before imlicit object destruction
*
Add a ; to the end of line 16.
On Sun, 17 Apr 2005, Bagus Nugroho wrote:
Hi,
I'm beginning to learn PHP/MySQL, i have problem 'parse error' when
using 'mysql_query' although it was simple code, like this :
=
1
Parse error: parse error, expecting `','' or `';'' in d:\www\test\refer1.php on
l
Hi,
I'm beginning to learn PHP/MySQL, i have problem 'parse error' when using
'mysql_query' although it was simple code, like this :
=
1
> If I make one pass and get 1mb of the blob...the
> browser is simply going to load that 1mb only, right?
> How do I keep looping and refreshing the users
> browser, or in this case, flash player?
> Thanks for any ideas!
Look into flush();
thnx,
Chris
--
PHP General Mailing List (http://www.p
Hmmm... not sure how this is done. I see someone
added an example that they use substring to load 10mb
of data at a time from the blob.
The part I don't understand is how they loop the
statements and continue to stream data to the user.
If I make one pass and get 1mb of the blob...the
browser is
Hi,
Unless I'm mistaken, it's cause of bad SMTP address in your php.ini file,
and so (if you haven't installed SMTP server on your PC),
you have to set the SMTP line in your php.ini file to your internet
provider's smtp address.
For example, I'm on Windows and my internet provider's smtp address
I'm not expert, on this area, but unless I'm mistaken, that happens
when the email address you are sending the mail to doesn't exist. For
example if you try to send a mail to [EMAIL PROTECTED], when the actual
address is [EMAIL PROTECTED], the username monk will not exist. Check
your 'to' address.
On 4/16/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> On 16 Apr 2005 Khorosh Irani wrote:
>
> > How I can find it in phpinfo() ?
>
> Another (simpler) approach is:
not as versitile though.
php_sapi_name() is better suited to situations where you will do
something differently depending on
I was looking into that a month or so ago.
Here's an article that mentions the Porter Stemming Algorithm
http://www.scit.wlv.ac.uk/seed/docs/mypapers/stemalg.html
and the official home
http://www.tartarus.org/~martin/PorterStemmer/
I don't know if this is of interest.
-Brian Anderson
-
On 4/16/05, Dasmeet Singh <[EMAIL PROTECTED]> wrote:
> I have a form on my website that allows users to upload photographs..
>
> 1. How to find out the file type they are uploading..like jpeg or png or
> gif?
>
> 2. Also is there any way to find out size and resolution of the image?
http://us3.p
I think the specs are in RFC 822. You should find if there.
Satyam
"AndreaD" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> When trying to send mail via localhost I get the following error
>
> Warning: mail() [function.mail]: SMTP server response: 550 5.7.1
>
>
> Any ideas?/
>
>
I have a form on my website that allows users to upload photographs..
1. How to find out the file type they are uploading..like jpeg or png or
gif?
2. Also is there any way to find out size and resolution of the image?
Thanks in advance :)
-
Free cPanel Web Hosting
http://hostwindow.info/web-host
Sukalyan Banga wrote:
Hi!
I am finding a chat script from which I can use that script as a private
chatting work at my own URL.
see this :)
http://www.hotscripts.com/PHP/Scripts_and_Programs/Chat_Scripts/index.html
-
Free cPanel Web Hosting
http://hostwindow.info/web-hosting/2/free-cpanel-web
When trying to send mail via localhost I get the following error
Warning: mail() [function.mail]: SMTP server response: 550 5.7.1
Any ideas?/
RH
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
I believe the \ preceding the last % makes it a literal % not the wildcard %
"pete M" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> I've got a database table with a whole list of "windows" file paths.
>
> eg
> Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk
>
I've got a database table with a whole list of "windows" file paths.
eg
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Binder.lnk
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Excel.lnk
Advent Tower PC\C\Program Files\Microsoft Office\Microsoft Office Setup.lnk
Advent Tower
On Saturday 16 April 2005 23:07, pete M wrote:
> Is there an easy way to "trim" an array ?
>
> I'm using array_unshift to push elemnts onto the front of an array but
> I want to limit the size to 20 ??
>
> Is there an easy way to do this without "looping" and unsetting the
> elements ??
array_slic
On 16 Apr 2005 Chris Knipe wrote:
> I'm not sure if round() is what I am after. I want to round whole numbers
> to the closest 10 - thus, not decimals, etc.
Just use a precision of -1. For example round(125, -1) will return
130.
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To u
Hi,
I'm not sure if round() is what I am after. I want to round whole numbers
to the closest 10 - thus, not decimals, etc.
For example.
11.23 = 10
14.76 = 10
15.23 = 20
18.53 = 20
Thanks,
--
Chris.
I love deadlines. I especially love the whooshing sound they make as they
fly by..." - Douglas Ad
On 16 Apr 2005 Khorosh Irani wrote:
> How I can find it in phpinfo() ?
Another (simpler) approach is:
echo php_sapi_name();
which will return 'cli', 'cgi', etc.
--
Tom
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Is there an easy way to "trim" an array ?
I'm using array_unshift to push elemnts onto the front of an array but I
want to limit the size to 20 ??
Is there an easy way to do this without "looping" and unsetting the
elements ??
tia
Pete
--
PHP General Mailing List (http://www.php.net/)
To unsubs
Hey,
Thanks for replying.
I know, I need to start brushing up on my Sql, problem is I rarely need to
use much other than
a simple select,update,insert.
Sorry I didnt write my where query before...this is what i am using:
SELECT last_online from `members_online` WHERE
last_online > DATE_sub(NOW(
* Dasmeet Singh <[EMAIL PROTECTED]> :
> Just wanted to ask... I recently updated Red Hat's kernel.. and this
> problem seems to started appearing after that... is there a possibility
> of any connection between these two?
Probably not, unless you're using shared memory for sessions.
> Warren V
* Ryan A <[EMAIL PROTECTED]>:
> My host has MySql 4.0.x so I cant really use the nested selects of 4.1 :-(
> please tell me how you solved something like this;
>
> I have two tables:
> users_online (username , dateandtime)
> users_details (cno, username, has_image, image_name)
>
> 1a) I have to sel
Hey,
Thanks for replying.
Will look up "join".
> BTW this is a question for the [MySQL General] list at
[EMAIL PROTECTED]
I know its largly a MySql question, but I am using it via PHP...and thats
why I wrote the OT in the subject...didnt want to tick anyone off.
Cheers,
Ryan
On 4/16/2005 3:57
On Saturday 16 April 2005 17:06, Ryan A wrote:
> Hey,
> My host has MySql 4.0.x so I cant really use the nested selects of 4.1 :-(
> please tell me how you solved something like this;
>
> I have two tables:
> users_online (username , dateandtime)
> users_details (cno, username, has_image, image_nam
Hey,
My host has MySql 4.0.x so I cant really use the nested selects of 4.1 :-(
please tell me how you solved something like this;
I have two tables:
users_online (username , dateandtime)
users_details (cno, username, has_image, image_name)
1a) I have to select x records from users_online where $
you write a script containing and only. You access that script through your web browser, and it will
return a variety of useful information. Amongst it will be information
labeled as SERVER API. If you are running as an apache module, Apache
will appear in the box beside it. If you are using CGI,
On Saturday 16 April 2005 07:18 am, Mark Sargent wrote:
> Marek Kilimajer wrote:
> > Mark Sargent wrote:
> >> Hi All,
> >>
> >> I can access the database from the terminal on Fedora 3,
> >>
> >> [EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
> >> Enter password:
> >> Welcome to the MySQL m
Hi,
I'd like to make a script that opens my maildir
(~login/Maildir/.Junk/cur) and forwards all messages to a specific
address in order to train the spam engine.
Any tips about this ?
tks.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Marek Kilimajer wrote:
Mark Sargent wrote:
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.10a-stan
How I can find it in phpinfo() ?
On 4/16/05, Amir Mohammad Saied <[EMAIL PROTECTED]> wrote:
> phpinfo()
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http
Mark Sargent wrote:
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.10a-standard
Type 'help;' or '\
Burhan Khalid wrote:
I've found that matching the character set of HTML to what is
expected from your users is the best compromise when coming to display &
searching.
This is a must, not a compromise.
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsu
Hi All,
I can access the database from the terminal on Fedora 3,
[EMAIL PROTECTED] bin]# ./mysql -h localhost -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 4.1.10a-standard
Type 'help;' or '\h' for help. Type '\
phpinfo()
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Hello
How I can find that php is installed as cgi or as apache module?
Thanks
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Andy Pieters wrote:
Hi
Whilst you are searching the net, you might also want to search for 'sql
injection'. This is no joke!
Please use the mysql_escape_string on each variable you get from the user
side.
Use mysql_real_escape_string() instead.
--
PHP General Mailing List (http://www.php.net/)
NSK wrote:
We have two kinds of arrays in PHP:
$array["name"] = "George"
$array[0] = "George"
How can I determine (with a function returning true/false for example) which
type of array I am working with?
There aren't two "kinds" of arrays, there is only one array type:
"There are no different inde
i dont think there is a pre-made function but u can use :
(! --untested at all --! )
function determine_array($a)
{
$numric=0;
$assoc=0;
foreach($a as $index=>$value)
{
if(is_numeric($index)){ $numric=1; }
else{ $assoc=1; }
}
return $numric+$assoc*2;
}
then results sho
Hi! Warren
Thanks for such a detailed reply... I am already looking into the code...
Just wanted to ask... I recently updated Red Hat's kernel.. and this
problem seems to started appearing after that... is there a possibility
of any connection between these two?
Warren Vail wrote:
I have had sim
Hi there!
Thanx a lot, i thought it was like that, but I wasn't sure
/G
@varupiraten.se
- Original Message -
From: "Chris W. Parker" <[EMAIL PROTECTED]>
To: "Gustav Wiberg" <[EMAIL PROTECTED]>; "PHP General"
Sent: Friday, April 15, 2005 1:26 AM
Subject: RE: [PHP] Sessions and frames
Mark Sargent wrote:
Mark Sargent wrote:
Hi All,
I've installed phpmyadmin and have a snort database in mysql, but, it
doesn't appear in phpmyadmin. I know it's there, because base is using
it to display info from snort on the machine. Why wouldn't it appear
in phpmyadmin. It appears with the sam
Hi!
I am finding a chat script from which I can use that script as a private
chatting work at my own URL.
49 matches
Mail list logo