I've enabled `allow_url_fopen` via MultiPHP INI Editor in cPanel, but if I check with `phpinfo()`it's still on 'Off'. Why's that? I've cleared my cache.

Member Avatar
Member Avatar
+0 forum 17

I need to configure a server for the CS-Cart Multi-vendor software (http://docs.cs-cart.com/4.6.x/install/system_requirements.html) and if I check things with `phpinfo()`there's no php.ini file. It shows the path where it should be in, but there's no file. `Configuration File (php.ini) Path /etc/php70` `Loaded Configuration File (none)` I don't see this directory either on the server which is by the way a Virtual Private Server (VPS), so where and how do I go about this?

Member Avatar
Member Avatar
+0 forum 8

How I can send emails to gmail, yahoo, etc. from localhost. I am using XAMPP in windows. What are the necessary changes in php.ini ??

Member Avatar
Member Avatar
+0 forum 13

Hello, I am having issue connecting my Access database to my PHP site via ODBC. Here is what I am doing: <?php $dbName = "F:\Data\Web\_Home\TickSys\TickSys.accdb"; if (!file_exists($dbName)) { die("Could not find database file."); } print "Found DB File."; $db = new PDO("odbc:DRIVER={Microsoft Access Driver (*.mdb, *.accdb)}; DBQ=$dbName; Uid=; Pwd=;"); ?> The error I receive is: Found DB File. Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[IM002] SQLDriverConnect: 0 [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified' in F:\Data\Web\_Home\TickSys\index.php:20 Stack trace: #0 F:\Data\Web\_Home\TickSys\index.php(20): PDO->__construct('odbc:DRIVER={Mi...') #1 {main} thrown in F:\Data\Web\_Home\TickSys\index.php on line 20 What I have tried: …

Member Avatar
Member Avatar
+0 forum 1

I have an issue with `$_SESSION` global across a single domian, on my local machine, running PHP 5.1 build 2600 I'm creating a session in the domain root. $first_name='martin'; $second_name='thorburn'; $login_array=array("first_namet"=>$first, "second_name"=>$second); $_SESSION['login']=$login_array; When I run `print_r($_SESSION['login']);` in the root, I get the expected response "Array ( [first_name] => martin [second-name] => Thorburn ) However, when I run the same `print_r($_SESSION['login']);` in any sub-folder I get an error Notice: Undefined index: login in subfolder\test.php on line 3. I have ensured that `session_start()` is the first line of code in every file, and I ensured all my links and redirects go …

Member Avatar
Member Avatar
+0 forum 3

Help me! I have a domain, I would like to handle subdumain with .htaccess file. for example: http://usa.hotbizzle.com or http://india.hotbizzle.com should not redirect to sub folder. URL should not change in the browser but it has to call a file php file and give result. Is there any possibilities in .htaccess or php.ini file?

Member Avatar
Member Avatar
+0 forum 2

Hello to all! please help me to my project. how to make a auto reply using php code and what exactly i need to do? i have simple php code and i think the code is working but theres no receive mail.. auto reply is not working. pls help :(

Member Avatar
Member Avatar
+0 forum 4

Hi guys, Having a problem with users uploading photos onto my site. They can upload 6 images under 5MB. The memory setting is set to 128M in my php.ini and I doubled checked by phpinfo() [CODE]upload_max_filesize = 30M ;5MBlimit*6images=30MB post_max_size = 30M max_execution_time = 120 max_file_uploads = 7 memory_limit=128M[/CODE] However I get the error message occasionally: PHP Fatal error: Out of memory (allocated 80740352) (tried to allocate 14592 bytes) Something telling me it seems my memory_limit is not 128M but being capped at around 80M. Its an apache server. My code is like this NOTE - due to lenght I …

Member Avatar
Member Avatar
+0 forum 6

function main() { if(window.XMLHttpRequest) { ab=new XMLHttpRequest; } else { ab=new ActiveXObject("Microsft.XMLHttp"); } ab.onreadystatechange=function(){ if(ab.readyState==4 && ab.status==200) { document.getElementById("progress").innerHTML=ab.responseText; } } ab.open("GET","querygoogle.php"); ab.send(); } function test(id) { if(window.XMLHttpRequest) { xmlhttp=new XMLHttpRequest; } else { xmlhttp=new ActiveXObject("Microsft.XMLHttp"); } xmlhttp.onreadystatechange=function(){ if(xmlhttp.readyState==4 && xmlhttp.status==200) { document.getElementById("testdiv").innerHTML=xmlhttp.responseText; //alert(xmlhttp.responseText); } } xmlhttp.open("GET","test.php",0); xmlhttp.send(); } function interval() { main(); setInterval('test(<? echo $_SESSION['id'];?>)','5000'); //test(); } in the main() i am insertig data in a table and i am running this function synchronously 2 minutes and from test() i am getting the result, of on which insertion id this is processing every 5 second getting alert(id) but giving …

Member Avatar
+0 forum 0

Hi am kinda stuck here, so please if anyone could help me,i have 2 domains working on same hosting, one is Main Domain and other Addon, am using mail() function in Addon Dowmain website. everything is working fine, problem is script is running on addon domain but when people get mails, it shows other domain's name i.e. maindomain's so please if anyone can tell me how i can change this thing that when people get mail it shows From:Addon domain. and i donot have ini.php file or whatever it is, because both of my websites are running over hosting company's …

Member Avatar
Member Avatar
+0 forum 4

The End.