Displaying 20 results from an estimated 45 matches for "_post".
Did you mean:
post
2010 Jul 10
2
PHP can't insert - Can someone please help
Hi Guys,
I am making another module for Voicemail. I have three fields in a POST form
that have to be connected together to make it a single 10 digit number but
there is something wrong in my syntax probably.
$npaa = "('$_POST[anpa]')";
$nxxa = "('$_POST[anxx]')";
$blocka = "('$_POST[ablock]')";
*$grplist = $npaa.$nxxa.$blocka;*
$sql="INSERT INTO findmefollow(grpnum, strategy, grptime, grppre, grplist,
annmsg_id, postdest, dring, needsconf, remotealert_id, toolate_id, r...
2010 Jul 12
1
My own FreePBX FollowME module - Stuck at Reload - Anyone else had experience with this?
...E module for
FreePBX. The need for this has some security considerations behind it.
This is what my code does at core:
$sql="REPLACE INTO findmefollow(grpnum, strategy, grptime, grppre, grplist,
annmsg_id,postdest, dring, needsconf, remotealert_id, toolate_id, ringing,
pre_ring) VALUES
('$_POST[grpnum]','ringall','$_POST[grptime]','$_POST[grppre]','$grplist','0','$postdest','','','0','0','Ring','$_POST[pre_ring]')";
This all conforms with the fields that are filled up by FreePBX follo...
2006 Feb 21
6
Help with Script.aculo inPlaceEditor
Well, I start recently with Scriptacolus and inPlaceEditor. I have two doubts about use it.
1) When I specify URL for save changes or not it doesn''t work. See example below:
<script type="text/javascript">
new Ajax.InPlaceEditor(''aNombre'', ''productos.php?a=actualizar&f=aNombre'');
</script>
In productos.php file I have
2007 Nov 28
2
How to pass POST variables to Ajax.Request
...ange the default forum links so they pass thru this component
I have run into a case where I need one php file to receive the post
variables then pass them along to an Ajax.Request call which will in
turn call the forum''s desired php file to be included in a DIV...
Short of decoding the $_POST variables and re-serializing them
manually what is the best way to directly pass the then current POST
variables directly to the Ajax.Request object call? Is there a way to
pass the $_POST array directly?
Thanks,
Greg
--~--~---------~--~----~------------~-------~--~----~
You received this message...
2006 Feb 05
6
render partial -- show certain content only if...
i''m working on a _post.rhtml partial, and it displays one blog post.
i''m accessing this partial on the list.rhtml and the show.rhtml
what i''d like is to only show the "link" link on the list.rhtml and not
on the show page.
<%= post.title%>
<br />
<%...
2008 Feb 29
4
App design question: user_photo helper
...ass="details">
<p>Email: <%= @user.email %></p>
<p>Joined: <%= @user.created_at.to_s(:long) %></p>
<p>Posts: <%= @user.posts.count %></p>
</div>[/code]
However, I want this helper to work elsewhere in the app, such as a
_post partial, which obviously is called on the Post index and show
actions, etc. But because the user_photo method uses the @user instance
variable, I need to make it work when @user isn''t set in the current
controller, e.g. the posts index action (if I use the user_photo in the
_post partial o...
2006 Apr 15
1
Begin with Autocompleter
...uest.readyState == 4) {
29 if (http_request.status == 200) {
30 alert(http_request.responseText);
31 } else {
32 alert(''Han ocurrido problemas con la peticiĆ³n.'');
33 }
34 }
35 }
In search_ajax.php file I find the element in the database:
<?php
$query = isset ( $_POST[''qword''] ) ? trim ( rtrim ( $_POST[''qword''] ) ) : null;
if ( $query != null ){
$db->Execute(" SELECT * FROM table WHERE field LIKE ''%". $query ."%'' ") or die($db->ErrorMsg());
$elements = array();
while ( $record...
2011 Jun 30
0
SendFax: not setting the fax header
...."RetryTime: 60\n"
."WaitTime: 60\n"
."Context: fax\n"
."Extension: 100\n"
."Set: FAXFILE=$file_dst\n"
."Set: FAXOPT(localstationid)=$_POST[mynumber]\n"
."Set: FAXOPT(headerinfo)=$_POST[mynumber]
$_POST[myname] $_POST[myemail]\n"
."";
======
As you can see, I set the LOCALHEADERINFO to string I got from a web form.
My fax extension for sending fax looks like that:...
2006 Nov 24
0
Using Ajax.Updater with Form
...ct("localhost","<hidden>","<hidden>");
if (!$con)
{
die(''Could not connect: '' . mysql_error());
}
mysql_select_db("<hidden>", $con);
$sql="INSERT INTO RSVP (firstname, lastname, rsvp, number)
VALUES
(''$_POST[firstname]'',''$_POST[lastname]'',''$_POST[age]'',''$_POST[number]'')";
if (!mysql_query($sql,$con))
{
die(''Error: '' . mysql_error());
}
echo "Thank You $firstname For Your RSVP!";
mysql_close($con)
?&...
2006 Apr 29
3
Post to a remote page
...en fields and a submit button, I would just like some ruby
code that would post parametres to a web page and store the web page
that the remote server sends back.
I am not sure that I have been clear, so, here is an example.
I have a simple page on a php server B that contains the code
print ($_POST[''var1'']+$_POST[''var1'']);
And I have my ruby server A, and what I would like to do is post var1
and var2 to server B and store the answer (A+B) that server B gives me
back.
Is it possible to do such a thing?
I hope that someone will be able to help me!
Thank...
2009 Dec 18
2
To Asterisk AMI Gurus - Tacking issue with originate
...var/www/html/clickncall/index.php
<html>
<head>
<title>ClicknCall</title>
</head>
<body><br><br>
<div align="center">
<?php
$sys_ip = "127.0.0.1";
$User_str = "testphp";
$Secret_str = "testphp";
if ($_POST['x']) {
$oSocket = fsockopen($sys_ip, 5038, $errnum, $errdesc) or die("Connection to
host failed");
fputs($oSocket, "Action: login\r\n");
fputs($oSocket, "Username: $User_str\r\n");
fputs($oSocket, "Secret: $Secret_str\r\n\r\n");
fputs($oSocket, &quo...
2006 Mar 30
7
text_area
How to make that the typed code on ruby in text_area it was carried out
in @params ["name"]??
--
Posted via http://www.ruby-forum.com/.
2006 Feb 05
2
render partial, object.property missing
trying to do my first rails app (surprise, it''s a blog!)
anyhow.
in list.rhtml, i have this:
<% for post in @posts
render(:partial => "post", :object=>post)
end %>
and in _post.rhtml, i have:
<tr>
<td><%= post.title%>
<br />
<%= post.body%>
<br />
problem is, no content shows up -- displays a blank page. for the
record, if i put that same partial within the list.rhtml, i get the
content displayed correctly.
tha...
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and
really like the RoR simplicity, but my knowledge of the framework still
isn''t very good (to be true, i understand the basics, but not everything
that''s in the tutorials).
But still I''d like to create a website which has:
- front end interface (with no edit functions)
- admin interface
2008 Feb 13
8
comparing ajax.updater div in js
This is really bugging me no matter what I''m trying.
In javascript, I''m using the ajax.updater, and it (obviously) writes
back out to a div. I want to then compare what was echoed out into
this div (which came from the php file I listed in ajax.updater) with
a string.
test should equal "SomeString" because that is what is being echoed
out to
2006 Apr 11
5
RJS adds comment but doesn''t update form
Hi,
When a user adds a comment i want to add the comment to the end of the
comments list using ajax so there is no full page refresh. The code i
have below adds the comment to the database but doesn''t update the
comments div with the new comment.
Can anyone help? This is my first use of rjs templates and i have read
http://www.codyfauser.com/articles/2005/11/20/rails-rjs-templates
2008 May 26
11
doesn't create my guestbook
Hi,
I''m having some trouble with my realtions (I think). I''m creating a
guestbook with comments in ajax (the structure resembles the structure
of a blog). So I''ve got a "flogs table" which keeps the "user_id" and
the "id" of the flogs. This table. Then I''ve got a "guestbooks table"
containing "id" of the
2011 Feb 07
0
[LLVMdev] post-inc loads/stores
Hi Jonas,
There's not really a very clean way to do this currently. The ARM backend does it as you indicate with the writeback register listed as an output as well as an input and marked as a tied operand constraint. Search for _PRE and _POST in ARMInstrInfo.td for examples. For most instances, instruction selection is done via custom lowering, not an ISel pattern on the pattern; see ARMISelLowering.cpp for that.
-Jim
On Feb 7, 2011, at 8:42 AM, Jonas Paulsson wrote:
> Hi,
>
> I would like to know how I should define these...
2011 Feb 07
3
[LLVMdev] post-inc loads/stores
Hi,
I would like to know how I should define these types of instructions in LLVM.
I have for instance a load instruction that increments the address-register. I do not know how I should mark this - should the address register as well be in the outs list, or should some other flag be set, perhaps?
Thank you,
/Jonas
-------------- next part --------------
An HTML attachment was
2005 Dec 15
7
PHP include() Type Functionality in Ruby/Rails
Greetings,
I am working on extending a new part of our site to use Ruby on
Rails, and have several portions of the site that is included in
external files. The rest of the site is built on top of MovableType
and uses PHP Includes to reference the external files.
Is there similar functionality in Ruby or Rails that I can use so I
don''t have to update excess content in two