Sponsored Content
Full Discussion: PHP Echoed in Ajax
Top Forums Programming PHP Echoed in Ajax Post 302714021 by Corona688 on Thursday 11th of October 2012 03:14:14 PM
Old 10-11-2012
Quote:
Originally Posted by AimyThomas
I have added links to view different days but when it loads up its just loading up a new page. I can't quite remember how I done it but I'd like it to be in ajax if that's possible.
AJAX also loads pages -- it has to get the data somehow. It just does so in javascript with an xmlquery..
 

4 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

echoed prompt not appearing until after read command.

I have a script I am runing on a hacked CDLinux live CD called from /etc/rc.d/rc.local. The part of th script in question goes like this. When run from rc.local the prompt "Centre name :" and the colour change does not appear until after I type the input text and press return. Also, I... (2 Replies)
Discussion started by: simonb
2 Replies

2. UNIX for Dummies Questions & Answers

Putting echoed text into a new file

Hi, I've set up a script so that a user answers questions, and then these answers come back onto the screen accompanied by text that I've echoed. Is there a way of putting this into a new file? Thanks (7 Replies)
Discussion started by: likelylad
7 Replies

3. Shell Programming and Scripting

PHP webserver vs AJAX

Hello All I want to develop a news ticker using a PHP webserver instead of polling the RSS feed using AJAX. Let me know if you guys have any idea about this. (0 Replies)
Discussion started by: suvendu4urs
0 Replies

4. Shell Programming and Scripting

execution of a string being echoed in bash

hi all, I am trying to do a loop on a series of plotting function shown below: colorlist=(blue red green); n=0; for k in $xy; do psbasemap $range -JM$scale -B10g5 -X1 -Y1 -P -K > $outfile pscoast $range -JM$scale -B10g5 -D$res -P -W$lwidth -G$fill -O -K >> $outfile echo... (1 Reply)
Discussion started by: ida1215
1 Replies
security_load_policy(3) 				     SELinux API documentation					   security_load_policy(3)

NAME
security_load_policy - load a new SELinux policy SYNOPSIS
#include <selinux/selinux.h> int security_load_policy(void *data, size_t len); int selinux_mkload_policy(int preservebools); int selinux_init_load_policy(int *enforce); DESCRIPTION
security_load_policy() loads a new policy, returns 0 for success and -1 for error. selinux_mkload_policy() makes a policy image and loads it. This function provides a higher level interface for loading policy than security_load_policy(), internally determining the right policy version, locating and opening the policy file, mapping it into memory, manipulating it as needed for current boolean settings and/or local definitions, and then calling security_load_policy to load it. pre- servebools is a boolean flag indicating whether current policy boolean values should be preserved into the new policy (if 1) or reset to the saved policy settings (if 0). The former case is the default for policy reloads, while the latter case is an option for policy reloads but is primarily used for the initial policy load. selinux_init_load_policy() performs the initial policy load. This function determines the desired enforcing mode, sets the enforce argument accordingly for the caller to use, sets the SELinux kernel enforcing status to match it, and loads the policy. It also internally handles the initial selinuxfs mount required to perform these actions. It should also be noted that after the initial policy load, the SELinux kernel code cannot anymore be disabled and the selinuxfs cannot be unmounted using a call to security_disable(3). Therefore, after the initial policy load, the only operational changes are those permitted by security_setenforce(3) (i.e. eventually setting the framework in permissive mode rather than in enforcing one). RETURN VALUE
Returns zero on success or -1 on error. AUTHOR
This manual page has been written by Guido Trentalancia <guido@trentalancia.com> SEE ALSO
selinux(8), security_disable(3), setenforce(8) guido@trentalancia.com 3 November 2009 security_load_policy(3)
All times are GMT -4. The time now is 12:15 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy