Multiple includes losing variables


Posted on 16th Feb 2014 07:03 pm by admin

Hey all,

just starting out w php and ran into a problem pretty quickly. I'm
including several files into each page. The variables in the first include file are functional in the main page, but are undefined in subsequent include files.

I've tried using define() to make them global variables but still have had no luck.

Any help would be greatly appreciated!

No comments posted yet

Your Answer:

Login to answer
196 Like 20 Dislike
Previous forums Next forums
Other forums

PHP Upload issue
Hi guys,

I have stumble across an interesting issue with my script and is doing my head in.

Data storage spaces in varchar2
Trying to understand what's happening.
I am selecting a value from a table that is defined as c

article site help remaining text
Hi all hope you will be fine
I am creating a article site in this site i want to put some text on

Problem with PHP/mySQL login code
Hello,

There is an error in my login script and I can't figure out what it is...
I believe

SQL Injection
In my attempts to protect my database from mySQL injection I have created another problem for myself

php code to accept and delete incoming data
Using following HTML Code please show me how to write PHP code to accept and delete the incoming dat

Add 5 to a variable when a button is clicked, and re-run a for loop
So I'm making a feedback sort of section on a website with MySQL and PHP, I've gotten the script to

cURL proxy
Okay here is the thing... i know how to add proxys

Code: curl_setopt($ch, CURLOPT_PROXYTYPE,

FTP issues
Hi all,


I am currently facing some serious problems with a script and really need some ad

Sorting JTable on more than just the values listed in the columns
I have a collection of objects that store (among other things) two integer values. I only want to di

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash