473,396 Members | 1,683 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

variable value from another domain

160 100+
hi
i want help from you in a matter.i want to include a file which is on another server.

include ("http://www.example.net/page.php?a=".$a."&s=".$s."&c=".$c);

values are passed successfully.But i am enable to access variable values from page.php.

i want to access a variable value which is on page.php

Thanks in advance
Dec 3 '08 #1
3 1609
Atli
5,058 Expert 4TB
Hi.

This page you are getting, is it processed at the remote location, or does it simply return the PHP code?
(Try putting the URL in a browser. What does it show?)

If you want to use a PHP file from a remote location, the remote server must return the actual code, rather than executing it and returning the output (unless that output happens to be PHP code, ofc).

Also, please refrain from posting links to pages that contain inappropriate material.
I suspect you did it accidentally, but please just use example.com when posting example links, rather than a random name. (They are usually all being used).

Thanks.
Dec 3 '08 #2
waqasahmed996
160 100+
hi
thanks for reply.yes i ll write example.com next time.
actually i want to process from that page.To ensure that license key has gained by user. for this i am trying to do that license key of user data base will be compared with data base of Example Web Page.

And if user license key is authentic than i want to return a value from www.example.net/page.php to the user page. But i am unable to return that value after checking from database.



it think i am not conveying my problem efficiently
Dec 3 '08 #3
dlite922
1,584 Expert 1GB
@waqasahmed996
what is the description of the problem? What does this program do for you?

Is it suppose to check with your server about a license and see if it is still valid?

What you need to do is build an API that returns an XML. You can pass these variables to your page and your page displays valid XML. the xml could contain the response.

I can still easily hack your software if this is the case. I can compare the response from the license server of a valid license and a bogus one. Then change your code or my host directory so that that URL license always returns the valid license response and the program or subscription i'm running works.

That is with the assumption I can't access the obfuscated and encoded PHP code. PHP is not compiled, that means all the source code is in front of me.

Before going into a prolix description of distributing copyrighted PHP application, is this your goal?



Dan
Dec 4 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

3
by: Enoch Chan | last post by:
I would like to set a Session variable to a value. In Vbscript it should be Session("ZoomValue")=500 How can I set this session variable by using Javascript? Thanks
4
by: Gery D. Dorazio | last post by:
Gurus, If a static variable is defined in a class what is the scope of the variable resolved to for it to remain 'static'? For instance, lets say I create a class library assembly that is...
6
by: jjturon | last post by:
Can anyone help me?? I am trying to pass a Select Query variable to a table using Dlookup and return the value to same select query but to another field. Ex. SalesManID ...
6
by: paul | last post by:
HI! How do we send a variable from an Iframe page back to its parent? I have a script that calculates the iframe's window size but I need to know how to send that value back to its parent so I...
3
by: James Robertson | last post by:
I am new to the ASP and VB thing so be kind. Question I have is that I have created an ASPX web site to use as an E-Mail page. But I want to use this for a lot of users. Can I create the link on...
1
by: bartdlr | last post by:
Hi, I got a problem to access the $_SESSION variable in my script. I wrote some login code: if the user logs in with his name and password a user object is stored in the $_SESSION variable. ...
6
by: depalau | last post by:
I'm running into some issues on maintaining a static variable across the lifetime of a web service and I was wondering if anyone could help. Background: We have developed a C#/1.1 web service...
4
by: Big Moxy | last post by:
I've successfully tested sending the variable "msg" back to login.php. However further down I am sending the variable "id" to menu.php but it is not being sent. It does not appear in the URL in the...
16
by: John U. | last post by:
Hi Group, Here is a common problem: I have many (100) links on a web page, all pointing to different pages on the same domain (e.g., "http:// www.x12345.com/"). This is a bother because (1)...
4
by: mark4asp | last post by:
I'm getting a problem with this code and I think the offending linke is : <xsl:if test="$folder = 'Search'"> I want to test the value of the Folder element for a value of precisely "Search"...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.