Hi ,
I have doubt in cuploadedfile ,in that file image files are uploaded perfectly But the video files not uploaded .If i upload the video it throws the error:ur uploaded file size greater than 2Mb how do i rectify it.
Any one know please tell me
Thank u
konapaz
(Konapaz)
November 15, 2013, 2:31pm
2
Hi
did you have set rules like that ?
public function rules()
{
return array(
...
array(,
'file',
'maxSize'=>1024 * 1024 * 2,
'tooLarge'=>'The file was larger than 2MB...',
),
);
}
also check the limi of php.ini
Thank u 4 ur reply KonApaz
I didn't define any size but it shows the error.
And one more doubt php.ini means.where it should be placed .
KonApaz:
Hi
did you have set rules like that ?
public function rules()
{
return array(
...
array(,
'file',
'maxSize'=>1024 * 1024 * 2,
'tooLarge'=>'The file was larger than 2MB...',
),
);
}
also check the limi of php.ini
http://www.cyberciti …p-upload-limit/
konapaz
(Konapaz)
November 15, 2013, 2:44pm
4
shobana_chandrasekar:
Thank u 4 ur reply KonApaz
I didn't define any size but it shows the error.
And one more doubt php.ini means.where it should be placed .
you have to change upload_max_filesize in php.ini file, so which server you user?
wampserver,xampserver,lampserver or online server?
ahmed201
(Rifajas)
November 15, 2013, 4:02pm
5
KonApaz:
you have to change upload_max_filesize in php.ini file, so which server you user?
wampserver,xampserver,lampserver or online server?
how to tell php to parse custom php.ini on hosted server
konapaz
(Konapaz)
November 15, 2013, 5:56pm
6
ini_get(‘upload_max_filesize’ to get value or
ini_set(‘upload_max_filesize’, ‘20M’); to set
ronald58
(Yii)
November 15, 2013, 6:11pm
7
And use the ".user.ini" file that is supported since PHP 5.3.0.
http://php.net/manual/en/configuration.file.per-user.php
ahmed201
(Rifajas)
November 16, 2013, 7:09am
9
I don’t understand what the php site says about ini files. could you please explain what are they saying
hi gud mrng,
I have one doubt about strobe media player.
In that extension i used the coding in view part.In the widget i changed only the src attribute .
I got an error when i run the video,
We are unable to connect to the content you have requested.we apologize for the inconvenience.
Please if anyone know that answer tell me how do i rectify it.