Omgili - forum search, search forums  
  

Discussions about php_self help

Displaying 1 - 10 out of 340 discussions.  
RSS Feed Options
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Hey everyone, im having a problem with php yet again... i've created a page with multiple forms on it and when i test it i've learnt that the first form is processed (with the ongoing, complete and reject) values but then i cant seem to process the 2nd...
Started by on , 4 posts by 4 people.  
Can you post the outputted HTML? Are you sure it's not a problem with... .
Do you actually see the 2nd form or the word "sucess"? It's hard to tell what the problem is without more information .
Its hard to know exactly whats going wrong without more detail .
I have a link in one of my php pages where the friends of the logged in user are shown and there is a link like below for each of user's friends like this in this page: echo "<a href='profile.php?id=$row[friend_id]'>$friend_row[name]</a>";...
Started by on , 3 posts by 3 people.  
No one can tell you why your variable contains a different value than you expect unless you post the code which actually initializes it, but just about everyone can tell you that shoving anything you pull out of the $_GET superglobal array into an SQL... .
In PHP5, what is the difference between using self and $this ? When is each appropriate?
Started by on , 6 posts by 6 people.  
The difference....
There is only $this, for referring to the current instance of the class (the object), and self, which can be used to refer to static members of a class .
According to http://www.php.net/manual/en/language.oop5.static.php there is no $self.
Ask your Facebook Friends
Hello, if I make an echo in my php-Code (without using Nusphere Debugger) I get : echo ($_SESSION['PHP_SELF']) result : /scriptcase/app/ If I debug step by step in NuSphere 6.0 I get the following result for $_SESSION['PHP_SELF']: /file:/c:/Program Files...
Started by on , 7 posts  
However, you indicate PHP_SELF shows file:/, which I wouldn't.
Cookie and query parameter settings.
Hi, I moved my server from a CentOS to a Debian distro, and after that change I encountered a strange problem with PHP_SELF value. In my websites I have URLs that contains the "apostrophe" and are displayed in that way: mydomain/my%27url.php, where %2...
Started by on , 6 posts by 4 people.  
Hi, Don't use $_SERVER["PHP_SELF"] directly, that's a cross site scripting....
;"'` are replaced with ? in ; the server variables PHP_SELF, PATH_TRANSLATED and PATH_INFO and this is the reason of my PHP_SELF problem...
HI , Can any one help I need to direct the user once they have submitted the form to another page How could I do this ? <form enctype="multipart/form-data" method="post" action="<?php echo $_SERVER['PHP_SELF']; ?>">
Started by on , 4 posts by 4 people.  
If you want the POST page again as a GET you can do: header('Location: '.$_SERVER['PHP_SELF'], TRUE, 303); Also: action="<?php echo $_SERVER[....
Specify the page in the action="" attribute of the form (don't use PHP_SELF).
Hello guys im using this second part of pagination script to show pagination; <? if ($pageno == 1) { echo "<li class='previous-off'>«« İlk Sayfa</li> <li class='previous-off'>« Önceki Sayfa</li> "; } else { echo " <li>...
Started by on , 4 posts by 4 people.  
;', $_SERVER['PHP_SELF'], $i, ($i == $currentPage ? 'active' : ''), $i); } ?> <a href="">Next; "; } else { echo " <li><a href='{$_SERVER['PHP_SELF']}?isim=$kid&sayfa=1'>«« İlk Sayfa</a></li>....
I found this script on about.com which I'm trying to learn from on how to create a rating system but the script gives me a warning that I listed below. I was wondering how can I fix this problem? And what part of the code do I need to change and where...
Started by on , 3 posts by 3 people.  
//This calculates the sites ranking and then outputs it - rounded to 1 decimal if($ratings... .
If the values you get for total and votes from MySQL are 0, you should bypass the division and set a fixed value .
You need to make sure you aren't dividing using a 0 .
Can any one please tell whats going on in this program? My one main doubt is about the 1st condition from where will we get the method for REQUEST_METHOD i mean the program is gng in the 1st if loop so REQUEST_METHOD == GET but where are we setting it...
Started by on , 8 posts by 8 people.  
The developer assumes the first pass of the page will be a "GET" request for the page Then someone fills out the form and posts back to the same php file where... .
It's an odd method of utilizing the same php file for display and processing post requests .
Hey so i decided against using uploadify as i could not get any help on it. i've been now trying to implement a simpler solution. but unfortunately i cannot seem to process the upload code on a single page without receiving the following error: Warning...
Started by on , 3 posts by 3 people.  
</form> Edit : Filename....
You need to set the correct encoding of your form to enable file uploads: <!-- The data encoding type, enctype, MUST be specified as below --> <form enctype="multipart/form-data" action="__URL__" method="POST"> .. .
Page: 1   2   3   4   5   6   7   8   9   10  

Related Message Boards & Forums

  • Stack Overflow
  • PHP IDE :: NuSphere :: PHP Debugger DBG
  • Programming Discussion - Web Hosting Talk
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost