Questions tagged [urlvariables]

64 questions
2
votes
2 answers

Using custom class to handle database inquiries in AS3

I recently started delving into custom classes in AS3 (to hone my best-practices coding habits), and wanted to create a database class that allows a user to first instantiate a class that contains all the information necessary for methods within the…
Edward Ray
  • 21
  • 2
2
votes
2 answers

using session variable with url variable in SQL

I have a PHP page that shows a table of data from a Database Table ( enquiries ). I am wanting to use a Session variable to show all the data for the person who is logged in ( The Member ). This session variable uses the users primary key (…
Steve Joiner
  • 493
  • 2
  • 9
  • 21
2
votes
3 answers

How can I efficiently add a GET parameter with either a ? or & in PHP?

I have to add a GET variable to a url. But the URL might already have GET variables. What's the most efficient way to add this new variable? Example URLs: http://domain.com/ http://domain.com/index.html?name=jones I need to add:…
Ryan
  • 14,682
  • 32
  • 106
  • 179
2
votes
1 answer

How do I remove only few url parameters in zend framework

I am trying to develop an application using zend framework (v 1.11). Am totally new to this framework. I have a URL like this. http://xyz.local/client/feedback/index/username/abc/page/2 The above link points to client module, feedback controller's…
Gaurav Sharma
  • 2,830
  • 1
  • 37
  • 54
1
vote
3 answers

AS3: Use the underscore character in a URLVariables variable name

Is it possible to use the underscore character in a URLVariables variable name? For instance, the following code outputs "my%5Fusername=foo" instead of "my_username=foo". import flash.net.URLVariables; var variables : URLVariables = new…
Anonymous1
  • 3,877
  • 3
  • 28
  • 42
1
vote
3 answers

Add a button with an URL variable in WooCommerce single product page

In WooCommerce, I have added a "subscribe" button in single product pages. It opens a popup window from an URL like: https://elfromulario.com?sku= where I add the product SKU as an URL variable. But when I use it, the browsers block the pop-up…
1
vote
1 answer

JavaScript Make Tabs

So, I am trying to make a "tabs menu", like this: http://flowplayer.org/tools/tabs/index.html (but i dont want to use this.) So, I tried to use url variables to set the active menu item. Code: onload=function(){ //Check if editPage is set if…
szab.kel
  • 2,356
  • 5
  • 40
  • 74
1
vote
1 answer

passing javascript variable into embedded survey form

I've looked around a lot but can't seem to find the best way to go about this. How can I input the variable values (p1, p2, p3) into the URL at the bottom of this code? I'm taking variables that are formatted with "+"'s as spaces, formatting them to…
1
vote
1 answer

Passing variable in a URL not working

So as usually I put in information in the url leading towards another page like this:
Usually it always works, I even copy pasted it…
user6178170
1
vote
1 answer

Prevent WordPress to remove my variables added in my url (custom post type)

Do you know why WordPress delete variables when I'm on a page of "custom post types" (singular) and not when I'm on a standard page? Here is how I create my URL in a loop.
meneldil
  • 45
  • 8
1
vote
2 answers

HTML remove url variables, NO PHP or JS solution

My site uses both PHP and the JS AJAX so I'm fairly familiar with them both, and I don't want a solution that includes them. I have this page structure where all my users stay on just one landing php page, which then fetches the right content…
Johan Sundman
  • 175
  • 2
  • 15
1
vote
1 answer

URLVariables not working in Haxe project

how are you doing? I hope fine. So I'm trying to send an urlRequest and I can't pass the parameters by url so I'm trying to use the URLVariable, but no matter what I try my php always get null. var request:URLRequest = new…
user3120770
  • 199
  • 1
  • 7
  • 19
1
vote
2 answers

PHP: How to check if URL link contains variable to prevent redirecting (rest of code working)

I am new to PHP and hope someone can help me with this. I am trying to cover the following scenarios in a header file that is included on all my pages: IF session variable "status" is not set AND page name is not "login" or "user" THEN redirect…
keewee279
  • 1,656
  • 5
  • 28
  • 60
1
vote
1 answer

Struggling with _POST URLVariable to PHP from AS3

I've been passed an existing Flash project which _POST's data to a URL in it's script. I've tried added more data to the URLVariable, however it doesn't work: AS3: public function SendChatMessageDB(ChatFrom:int) { var…
Nigel
  • 15
  • 6
1
vote
5 answers

Hide/Encrypt URL variables in ColdFusion

If I have a website and the URL is www.example.com/mainpage.cfm?id=0123&app=2, how can I hide the id=0123 and app=2 so the user won't be able to change these variables? I am looking at a complex program written by someone before me and he is…
BringQBasicBack
  • 119
  • 1
  • 12