ini-set Questions

5

I'm trying to get my script to use url session id instead of cookies. The following page is not picking up the variable in the url as the session id. I must be missing something. First page http:/...
Bondage asked 6/5, 2009 at 3:27

3

Solved

I have this part of code: ... ini_set('max_execution_time', 300); ... Until now it worked. Now i am getting this error: ini_set() expects parameter 2 to be string, integer given What has chang...
Gulgee asked 27/9, 2019 at 12:15

6

Solved

I can't seem to disable error reporting in PHP - I have tried everything but "Notice" errors are still displayed. My php.ini has display_errors = Off; error_reporting = 0; My .htaccess has php...
Vulvitis asked 5/6, 2013 at 8:51

4

Solved

I am having a strange problem while uploading large files in PHP. In php.ini, max_execution_time is set to 30, post_max_size is set to 32M, upload_max_filesize is set to 32M. When I tried to uploa...
Arium asked 22/8, 2010 at 20:19

8

Solved

What are some reasons why PHP would force errors to show, no matter what you tell it to disable? I have tried error_reporting(0); ini_set('display_errors', 0); with no luck.
Mufti asked 16/9, 2008 at 23:21

2

Solved

I'm using a shared host (fasthostingdirect) and for some reason they have this flag turned off by default. This means I'm unable to access PHP command line parameters... unless I use the -n (= --no...
Epigene asked 12/7, 2012 at 20:19

2

I have used a PHP code for Mailing using a SMTP HOST as given below: ini_set('SMTP','myserver'); ini_set('smtp_port',25); $to = $email; $headers = "MIME-Version: 1.0" . "\r\n"; $headers .= "Conte...
Jorry asked 10/9, 2013 at 10:59

2

Solved

In one of my project's configuration settings I observed following two lines at the beginning of file : @ini_set('memory_limit', '-1'); @set_time_limit(0); My doubt is what's the difference in t...
Hyperbolize asked 25/12, 2014 at 8:10

3

Solved

I wanna know where is the best place to put the ini_set() functions, because I think when the ini_set function is inside the method like this: private function archiveBackup() { ini_set('memory_l...
Lila asked 25/6, 2012 at 22:36

3

Solved

for some reason, my one of my php scripts are ignoring the php.ini memory limit or ini_set. When i do a print_r(ini_get_all) it shows the global memory limit set to 100M (and local for that matter...
Zitvaa asked 30/12, 2009 at 20:46
1

© 2022 - 2025 — McMap. All rights reserved.