|
كيفية الطباعة من mySQL مع حفظ الرئس الصفحة
|
|
|
|
|
Please post your question(s) in English only.
I must get a clever new signature for 2011.
|
|
|
|
|
Hello !
i'm running redhat enterprise 5.5 on a computer with some other operating systems.I need to hide the partitions of other OS from places in linux for all users including root.What can i do ?
Thank you in advance !
|
|
|
|
|
that's a tough one... what other OS are you working with? one possible way would be to place those partitions on a second physical drive then just don't mount that drive in linux. that'll keep ppl from seeing it, but they can always mount the drive by hand if they know its there.
|
|
|
|
|
This may be useful: http://www.justlinux.com/forum/showthread.php?t=149828[^]
Also, many programs that format/create partitions allow you to hide partitions.
See if you can crack this: b749f6c269a746243debc6488046e33f So far, no one seems to have cracked this!
The unofficial awesome history of Code Project's Bob!
"People demand freedom of speech to make up for the freedom of thought which they avoid."
|
|
|
|
|
Hi I want have several button or link in my form that everyone do something ,
So my form have several lesson’s name in front of everyone is button that if you click on it show you the program of that lesson how can I do this ?I want to show another form that show the program’s lesson
But I can’t access the variable please guide me
|
|
|
|
|
I am trying to integrate php scripting into my application using the windows ScriptControl object. VBScript and JScript are working well on a broad variety of platforms including Vista,XP, server 2008r2/2003/2000.
Can not get php scripting to work. This wsf file pops-up a 'hello world' window, but wscript crashes.
<job id="test">
<script language="PHPScript">
$WScript->Echo("Hello World!");
</script>
</job>
and I get this:
Faulting application WScript.exe, version 5.7.0.18005, time stamp 0x49e01e60, faulting module php5ts.dll, version 5.3.5.0, time stamp 0x4d24d421, exception code 0xc0000005, fault offset 0x000915f5, process id 0xa0c, application start time 0x01cbdc073a834083.
Here's what I have done.
- I installed php 5.3.5
- copied php5activescript.dll (5.2.7.7) in the php folder
- regsvr32 php5activescript.dll (successfully)
- found and changed registry key [HKEY_CLASSES_ROOT\CLSID\{CF108A38-59A9-468A-AF45-1368D7855DAE}\InprocServer32] to point to php5activescript.dll not regsvr32.exe. (from http://social.msdn.microsoft.com/Forums/en-US/vcgeneral/thread/d7fb1088-5896-48db-9db8-43739feceaee)
Any thoughts?
|
|
|
|
|
Hi,
I am interested in knowing more about this design methodlogy to program an application.
Do not know how u call this structure but it is use to design an application. I am sure it is a popular design methodology since it helps project development. I hope someone recognizes to steer me in the right direction to learn more. tx
Hooks
if ($h->pageName == 'login') { $h->pageTitle = 'Welcome login to your Account'
$h->currentUser->loggedIn
----
Comments
<?php
/**
* name: Hello World
* description: Sample Plugin Tutorial
* version: 0.1
* folder: hello
* class: hello
* hooks: ....
A newbie might see above as comment. But these comment are use. For example name being Hello World for that is the plugin folder name. Class actually usage of the word Hello is a required syntax for that plugin Hello (please note class hello in the comment area). tx
Class hello
{
public function theme_index_top($h)
....
--------
Template, Plugin that can redefine some core code, etc.
Any info appreciated on this design methodology. tx
|
|
|
|
|
I am in a situation where I need to manage files that multiple users won't rename. I think I can use PHP to make each entry into a database unique by adding a unique tag to the file name but I don't know how to do this. The file name would need to be updated before it was entered into the database and the dump folder. Any suggestions?
|
|
|
|
|
why dont
you create a database entry for each file then use the primary key of the database item to rename the file.
//get uploaded file
//create database entry //name //type ... what ever fields are relevent
//get last insert id returns last primary key inserted
// rename file to $last_insert_id.xyz rename( old file, last insert id )
th
|
|
|
|
|
We deploy php applications on windows and linux. What are the consideration which we should follow in development so that the application run well on both the platforms.
|
|
|
|
|
|
In my experience when I had to host on a windows box because of the database we were using, I found IIS6 a nightmare!! The connection would fail, Permissions would change on upload and the whole set up was a nightmare. It took over a day just to get the site live and although there were some good forums on how to get php going on IIS, the reliability left something to be desired.
IIS 7 may be better but IIS work well with php. I would definitely run on XAMPP for a simple setup or install apache by itself. It was simple to install and I never had a server outage or drama in over 18 months. For consistency between the platforms IIS is the way to go.
The other thing to note is that some php modules that are easy to get going on debian like and cent os systems can be more tricky to get going on windows. A commonly used php module is imagemagick. File paths with windows can sometimes be a pain too.
|
|
|
|
|
Alright, I've got a small project from a guy who wants me to pass a variable from a form on one page to a form in an iframe on another. The page in the iframe uses GET to pass variables through the url.
The page in the iframe is here.[^]
The form on the other page takes the zip code and insurance plan choice and so should skip the entry step on this page, giving that information to the form. I'm not sure if I can just skip the entry page altogether, cause there's a link that uses the same page with the iframe.
They're using wordpress as well, so the server-side code would be in PHP if I would need to use anything besides html form code and javascript. Though I can't really add any PHP code inline with the wordpress editor. If I could find the page it creates with the iframe, I could edit it directly..
If you need any more information, please ask.
|
|
|
|
|
I could probably just pass the values from the form to hidden fields on the page with the iframe, and use those fields in the url of the iframe since it's a GET method, but the only way I can think of to do that would require me to make a separate page in wordpress for this.
I was trying to avoid that if anybody has any ideas, but if it's the only way, I suppose that's fine.
|
|
|
|
|
Probably using a session would be the best way to do it
|
|
|
|
|
Hi
i have a mysql database which i use to update a soccer league table when i enter in results from a form, works fine, however i would like to be able to enter latest scores and update table based on latest scores entered but i cant work out how to do this as at the moment when i enter an update in the score for a match it will treat it as a new match and allocate points etc all over again
Example
teama 1 teamb 0 would give the following teama goals for 1, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 1
if it changed to
teama 3 teamb 0 would give the following teama goals for 3, teamb goals for 0, goaldifference = teama goals for - teamb goals for which in thiscase would be 3 but it adds the 3 from this update to the 1 from previous update giving 4.
so i need a way to stop it treating each update as a new result and only update with new data - the previous data so in my example
3 goals - 1 goal from first update = 2 goals , i have other fields like points that need to be treated same way.
hope someone can helpout with this and point me in right direction
kenny
|
|
|
|
|
Okay, how are you storing the data in the table (which I'll call Results). I'm imagining something like this after the first result:
RowId Team1Id Team2Id Team1Score Team2Score
0 1 2 1 0
It sounds like you are doing an INSERT when you submit the data, which will give you:
RowId Team1Id Team2Id Team1Score Team2Score
0 1 2 1 0
1 1 2 3 0
When you want to update the score, use an UPDATE command instead of a INSERT command. You'll need the row's Primary Key (RowId in my example), and you'll end up with this:
RowId Team1Id Team2Id Team1Score Team2Score
0 1 2 3 0
As you want.
|
|
|
|
|
Is it possible to access local machine form webpage without IE/ActiveX? For example, can I execute an exe file on a local machine? Or, If viewer's machine hosts a webservice, can i invoke it through webpage?
|
|
|
|
|
Please do not post the same question in multiple forums.
I must get a clever new signature for 2011.
|
|
|
|
|
Like a virus or tracker. Can I have the link please!!
|
|
|
|
|
Dear all,
I am off because my program is not working. I tried to combine the three arrays of gene expression to get single array. Then I tried to get a subset of array from the single combined array. So I wrote the following code:
But the problem is this:
Use of uninitialized value $val in scalar chomp at C:\manoj_bioinform\expression.pl line 33, <DIAMIDE> line 8808.
Please help me what's wrong with my program..........!!!
#!/usr/bin/perl -w
#Open the three .txt file to the FILEHANDLE
#and create the arrays for all the three file
open (HYPEROSMOTIC, "hyperosmotic.txt")|| die "can't open the hyperosmotic file: $!\n";
@hyperosmotic = <HYPEROSMOTIC>;
open (HEATSHOCK, "heatshock.txt")|| die "can't open the file heatshock: $!\n";
@heatshock = <HEATSHOCK>;
open (DIAMIDE, "diamide.txt")|| die "can't open the file diamide: $!\n";
@diamide = <DIAMIDE>;
#store all the expression data on the three array
#into single @excomb array
@excomb = (@hyperosmotic,@heatshock,@diamide);
#print @excomb;
#loop to split each line from the @expdata into a new tiny array
#the columns of data in the original file are
#separated by tabs as denoted by the /\t/
#then save only the info from column 0 and 2 as separate variable
#also "chomp" each variable to remove unseen characters
foreach $excomb(@excomb)
{
@tarray=split(/\t/, @excomb);
$genename=$tarray[0];
$val=$tarray[1];
chomp $genename;
chomp $val;
}
print @tarray;
|
|
|
|
|
Old school so I don't know specifically what the following expression does
foreach $excomb(@excomb)
But I certainly can guess. It iterates through the array putting a value into $excomb
And it would certainly seem reasonable to me that you would want to actually use $excomb somewhere. Say in the following statement. But you don't.
@tarray=split(/\t/, @excomb);
(Even if the specifics are wrong I am almost certain that using the array there is not what you want.)
|
|
|
|
|
Hi , have a good day !
I am peaceful person , I need to download flash plug in , open source projects , watch youtube , join facebook !
But Those web sites restrict my country ( Adobe , GNU hate us ) ! Plus my country restricted any page contains the word "P r o k s y" That's why I mess spelling it !
So I am asking you kindly , To upload for me a good "PHP Proksy" , with masked name "Proksy" or any other name !
So I can Combine it with my web site , and surf the internet freely !
Kind regards
I know nothing , I know nothing ...
|
|
|
|
|
You can use VPN it change your ip that site think you national US
And Proksy is false, you should search proxy it free in this sitephpproxy[]
Regard
|
|
|
|